Function at 0x403aa3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
mov eax, dword [0x4d35a8]
push ebx
push esi
inc eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov dword [0x4d35a8], eax
push edi
cmp eax, 0x30
jge 0x444139
xor ebx, ebx
mov byte [esp + 0x13], 1
mov eax, ebx
mov byte [esp + 0x1e], 1
push 0x10000
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], bl
mov dword [esp + 0x64], ebx
call fcn.0042019b
pop ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x64], eax
call fcn.00407953
lea ecx, [esp + 0x78]
call fcn.0040bf07
lea ecx, [esp + 0x60]
call fcn.00407953
lea ecx, [esp + 0x60]
call fcn.00407953
mov edi, dword [ebp + 8]
lea ecx, [esp + 0x60]
mov eax, 0x8000
push eax
push edi
mov dword [esp + 0x90], eax
call fcn.00406e52
test al, al
je 0x44456b
lea ecx, [esp + 0x60]
call fcn.00406cce
lea ecx, [esp + 0x60]
call fcn.00406b12
lea ecx, [esp + 0x60]
call fcn.00406afb
test byte [esp + 0x88], 3
jne 0x444153
lea ecx, [esp + 0xc0]
call fcn.0040bf07
lea ecx, [esp + 0xc0]
call fcn.00403a70
lea ecx, [esp + 0xb0]
call fcn.0040bf07
lea edx, [esp + 0xb0]
mov ecx, edi
call fcn.0040557e
mov edi, dword [esp + 0x70]
lea eax, [esp + 0x24]
mov esi, dword [esp + 0x74]
lea ecx, [esp + 0x60]
push eax
lea eax, [esp + 0x9c]
mov dword [esp + 0x28], 0x18
push eax
call fcn.004041c9
push ebx
push esi
push edi
lea ecx, [esp + 0x6c]
call fcn.00406bfa
cmp dword [esp + 0xa8], 0x21335541
je 0x4441b4
lea ecx, [esp + 0x3c]
call fcn.0040bf07
lea ecx, [esp + 0x28]
call fcn.0040bf07
push ebx
lea eax, [esp + 0x2c]
push ebx
push eax
lea edx, [esp + 0x48]
lea ecx, [esp + 0xbc]
call fcn.0040694e
add esp, 0xc
lea eax, [esp + 0x28]
lea ecx, [esp + 0x3c]
push eax
call fcn.00407af4
push dword [esp + 0x3c]
call dword [0x49d3f8]
lea ecx, [esp + 0x28]
call fcn.0040bd2c
lea ecx, [esp + 0x3c]
call fcn.0040bd2c
push 0x2000
call fcn.0042019b
pop ecx
push eax
lea ecx, [esp + 0x5c]
call fcn.004041a6
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x18]
cmp byte [esp + 0x1e], 1
jne 0x403d71
push ecx
push esi
lea ecx, [esp + 0x68]
call fcn.0040ad74
test al, al
je 0x403d71
mov eax, dword [esp + 0x14]
inc eax
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
call fcn.00404093
push esi
call fcn.00403ff3
push esi
test al, al
je 0x44454e
call fcn.00403fb8
push esi
mov byte [esp + 0x23], bl
call fcn.00424cf3
mov dword [esp + 0x28], eax
pop ecx
cmp eax, 2
jle 0x403cc6
mov ax, word [esi + eax*2 - 4]
push 0x7f
pop ecx
and ax, cx
movzx eax, ax
push eax
call fcn.00426755
test eax, eax
mov eax, dword [esp + 0x28]
pop ecx
jne 0x403df3
cmp eax, 1
je 0x403df3
cmp byte [esp + 0x20], 1
je 0x44452f
push dword [esp + 0xb0]
lea ecx, [esp + 0x40]
call fcn.0040b25f
lea eax, [esp + 0x60]
mov ecx, edi
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x44]
push eax
push esi
call fcn.00403e15
mov ecx, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x38], ecx
dec dword [eax]
mov eax, dword [esp + 0x48]
cmp dword [eax], ebx
jne 0x403d30
push dword [esp + 0x3c]
call fcn.004201a4
pop ecx
push 4
push dword [esp + 0x4c]
call fcn.0042015d
pop ecx
pop ecx
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x403e04
cmp ecx, 1
jle 0x403e08
cmp ecx, 3
jg 0x44453c
push dword [ebp + 0xc]
mov eax, dword [esp + 0x1c]
mov ecx, edi
push esi
push eax
mov dword [esp + 0x20], eax
call fcn.004040e0
cmp byte [esp + 0x13], 1
mov al, byte [esp + 0x1f]
mov byte [esp + 0x20], al
je 0x403c4c
lea ecx, [esp + 0x60]
call fcn.00407953
push dword [esp + 0xc0]
call dword [0x49d3f8]
mov eax, dword [esp + 0x5c]
mov bl, byte [esp + 0x13]
sub dword [eax], 1
jne 0x403da5
push 4
push eax
call fcn.0042015d
push esi
call fcn.004201a4
add esp, 0xc
lea ecx, [esp + 0xb0]
call fcn.0040bd2c
lea ecx, [esp + 0xc0]
call fcn.0040bd2c
lea ecx, [esp + 0x60]
call fcn.00407953
lea ecx, [esp + 0x78]
call fcn.0040bd2c
lea ecx, [esp + 0x60]
call fcn.00407953
push dword [esp + 0x64]
call fcn.004201a4
pop ecx
dec dword [0x4d35a8]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp word [esi + eax*2 - 2], 0x5f
jne 0x403ccf
jmp 0x44451e
mov byte [esp + 0x13], bl
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
jmp 0x403d5e
push dword [ebp + 0x14]
push 0x4c7568
push dword [ebp + 0x18]
push dword [ebp + 0x10]
call fcn.0046a12a
xor bl, bl
jmp 0x403de2
test byte [esp + 0x88], 1
je 0x44416b
mov eax, dword [esp + 0x70]
or eax, dword [esp + 0x74]
jne 0x403b64
cmp dword [esp + 0x8c], 3
jne 0x44417e
push 3
push 0x4c45fc
jmp 0x4441a6
cmp dword [esp + 0x8c], 5
jne 0x444191
push 2
push 0x4c4604
jmp 0x4441a6
cmp dword [esp + 0x8c], 7
jne 0x403b64
push 2
push 0x4c4600
lea ecx, [esp + 0x68]
call fcn.0046d4bf
jmp 0x403b64
cmp dword [esp + 0xac], 0x36304145
jne 0x403bd9
lea ecx, [esp + 0x60]
call fcn.00407953
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x98]
push 2
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
push dword [eax]
mov byte [esp + 0xb4], bl
call fcn.0040636d
test eax, eax
jne 0x444502
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0xa4]
call fcn.004735cd
lea ecx, [esp + 0x98]
mov esi, eax
call fcn.004063db
test esi, esi
jne 0x444502
mov eax, dword [esp + 0x14]
push 4
pop esi
push 0x10
mov eax, dword [eax]
mov dword [esp + 0x50], eax
or eax, 0xffffffff
mov word [esp + 0x34], ax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call fcn.0042016b
mov edi, eax
or eax, 0xffffffff
pop ecx
push 5
lea ecx, [esp + 0x2c]
mov dword [esp + 0x5c], edi
mov dword [edi], 0x49dcec
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [esp + 0x3c], edi
mov word [esp + 0x36], ax
call fcn.0040bc23
mov eax, dword [esp + 0x4c]
mov ecx, edi
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
call fcn.0040bb3d
mov edi, dword [esp + 0x18]
xor eax, eax
inc eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], eax
cmp dword [esp + 0x4c], eax
jl 0x44446f
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x28]
add eax, esi
inc esi
mov dword [esp + 0x18], esi
movzx eax, byte [eax]
push eax
mov dword [esp + 0x28], eax
call fcn.0040bc23
cmp word [esp + 0x30], 0xf
ja 0x4442e5
mov eax, dword [esp + 0x14]
add eax, esi
add esi, 4
mov eax, dword [eax]
mov dword [esp + 0x28], eax
jmp 0x444401
lea ecx, [esp + 0x28]
call fcn.004714a6
test al, al
je 0x44430d
mov ecx, dword [esp + 0x14]
add ecx, esi
add esi, 8
mov eax, dword [ecx]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x2c], eax
jmp 0x444401
lea ecx, [esp + 0x28]
call fcn.00471492
test al, al
je 0x44432e
mov eax, dword [esp + 0x14]
add eax, esi
add esi, 8
fld qword [eax]
fstp qword [esp + 0x28]
jmp 0x444401
lea ecx, [esp + 0x28]
call fcn.0041e607
test al, al
je 0x444401
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
call fcn.00469f0d
mov esi, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], esi
push esi
cmp eax, 0x31
jne 0x44438a
lea ecx, [esp + 0xd4]
call fcn.0040b25f
mov ecx, dword [edi + 4]
push dword [esp + 0xd0]
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [esp + 0xd0]
mov esi, eax
call fcn.0040bd2c
push 1
jmp 0x4443b6
cmp eax, 0x30
jne 0x4443c9
lea ecx, [esp + 0xe4]
call fcn.0040b25f
lea ecx, [esp + 0xe0]
call fcn.00407d27
lea ecx, [esp + 0xe0]
mov esi, eax
call fcn.0040bd2c
push ebx
lea ecx, [esp + 0x2c]
call fcn.0040bc23
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x20]
jmp 0x4443f6
cmp eax, 0x37
jne 0x4443ed
mov ecx, edi
call fcn.00469e3c
test eax, eax
je 0x4444d7
push esi
call fcn.004201a4
mov esi, dword [esp + 0x1c]
pop ecx
jmp 0x4442ad
lea ecx, [esp + 0x2c]
call fcn.0047142e
push esi
call fcn.004201a4
mov esi, dword [esp + 0x1c]
pop ecx
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x28]
push eax
call fcn.0040bb3d
cmp dword [esp + 0x24], 0x7f
jne 0x4442ad
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 8]
cmp edx, 2
jbe 0x444457
mov eax, dword [ecx + 4]
push 0x7f
mov eax, dword [eax + edx*4 - 8]
pop edx
cmp word [eax + 8], dx
je 0x444457
inc dword [esp + 0x54]
mov ecx, edi
push 0x3b
pop eax
mov word [esp + 0x20], ax
or eax, 0xffffffff
push eax
lea eax, [esp + 0x24]
push eax
push dword [edi + 0x10]
call fcn.004040e0
jmp 0x44445c
call fcn.0046a486
mov eax, dword [esp + 0x50]
inc eax
mov dword [esp + 0x50], eax
cmp eax, dword [esp + 0x4c]
jle 0x4442ad
push 5
lea ecx, [esp + 0x2c]
call fcn.0040bc23
mov eax, dword [esp + 0x54]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
call fcn.004713a0
lea eax, [esp + 0x38]
push eax
lea ecx, [edi + 0x50]
call fcn.00464a0c
push dword [esp + 0x14]
call fcn.00424d0e
mov bl, 1
pop ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], 0x49dcec
call fcn.00405c10
push dword [esp + 0x40]
call fcn.004201a4
pop ecx
lea ecx, [esp + 0x28]
call fcn.00471388
jmp 0x403da5
mov eax, dword [esp + 0x50]
mov ecx, edi
push 0x49dcd0
push 0x4c7648
push eax
push dword [ebp + 8]
call fcn.0046a12a
push esi
call fcn.004201a4
pop ecx
push dword [esp + 0x14]
call fcn.00424d0e
jmp 0x4444ad
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x1c]
push 0x4c75f0
push dword [ebp + 0x18]
push dword [ebp + 0x10]
call fcn.0046a12a
jmp 0x403da5
xor ecx, ecx
mov byte [esp + 0x1f], 1
mov word [esi + eax*2 - 2], cx
jmp 0x403ccf
push esi
mov ecx, edi
call fcn.00469dd5
jmp 0x403d5e
cmp ecx, 4
jne 0x403e08
mov byte [esp + 0x1e], bl
jmp 0x403e08
mov eax, dword [esp + 0x18]
mov ecx, edi
push 0x4c7680
push eax
push dword [ebp + 0x10]
call fcn.0046a12a
mov byte [esp + 0x13], bl
jmp 0x403d71
push dword [ebp + 0x14]
mov ecx, esi
push 0x4c75f0
push dword [ebp + 0x18]
push dword [ebp + 0x10]
call fcn.0046a12a
jmp 0x403dbd