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

Disassembly:
sub esp, 0x288
mov eax, dword [0x4c6a44]
mov ecx, dword [0x4ca4b0]
mov edx, dword [0x4cb484]
push ebx
push ebp
mov ebp, dword [0x4ca4b4]
push esi
push edi
mov dword [esp + 0x2c], eax
mov eax, dword [0x4cb488]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
xor eax, eax
lea edx, [esp + 0x5c]
push edx
mov dword [0x4cb484], eax
mov dword [0x4cb488], eax
mov eax, dword [esp + 0x2a4]
push 2
push eax
lea ebx, [esp + 0x20]
call fcn.0045b840
mov esi, dword [esp + 0x14]
xor ebx, ebx
mov edi, eax
cmp esi, ebx
je 0x42d52f
mov eax, dword [0x4cb484]
cmp eax, ebx
je 0x42d51f
push eax
call fcn.004900b1
add esp, 4
cmp dword [0x4cb488], 0x400000
jbe 0x42d51f
dec dword [0x4cb48c]
mov ecx, dword [esp + 0x10]
mov dword [0x4cb484], esi
mov dword [0x4cb488], ecx
cmp edi, 1
jne 0x42d8cc
cmp dword [esp + 0x60], 6
jne 0x42d8cc
lea edx, [esp + 0x68]
mov dword [esp + 0x4c], edx
push edi
lea edx, [esp + 0x9c]
mov dword [esp + 0x38], edx
lea edx, [esp + 0x50]
push edx
push 0x80002
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x88]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x98]
lea edx, [esp + 0x40]
mov esi, 0x4a3920
mov dword [esp + 0x64], ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x78], 0x4aae3c
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov edi, eax
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x42d5cc
push eax
call fcn.004900b1
add esp, 4
cmp edi, ebx
je 0x42d8cc
cmp edi, 8
je 0x42d8cc
cmp dword [esp + 0x38], 6
je 0x42d5f6
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x288
ret 0x14
mov ecx, dword [esp + 0x44]
mov eax, 4
mov dword [esp + 0x68], 0x4aae50
mov dword [esp + 0x80], eax
mov dword [esp + 0x78], ecx
cmp ebp, ebx
je 0x42d62e
mov dword [esp + 0x90], eax
mov dword [esp + 0x88], ebp
mov dword [esp + 0x10], 3
jmp 0x42d636
mov dword [esp + 0x10], 2
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x98]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x10]
push edx
lea edx, [esp + 0x50]
push edx
push 2
lea edx, [esp + 0x3c]
push edx
lea edx, [esp + 0x28]
mov dword [ecx + 8], 1
mov dword [ecx + 0xc], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x34], ebx
mov ecx, dword [eax]
push edx
mov dword [esp + 0x58], eax
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov edi, eax
cmp edi, ebx
je 0x42d8c0
jmp 0x42d692
xor ebx, ebx
cmp edi, 8
je 0x42d8c0
cmp dword [esp + 0x20], ebx
jne 0x42d6ad
mov dword [esp + 0x20], 5
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x18]
push ecx
call fcn.004508b0
add esp, 4
dec eax
je 0x42d7ca
dec eax
je 0x42d704
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
cmp ecx, 6
je 0x42d7e0
cmp ecx, 4
jne 0x42d6ed
cmp byte [eax + 0x17], 0
jne 0x42d6e3
mov eax, dword [eax + 0xc]
test byte [eax + 0x15], 2
jne 0x42d7e0
xor ecx, ecx
lea eax, [esp + 0x18]
call fcn.00450b40
xor edx, edx
cmp word [eax], bx
setne dl
mov eax, edx
jmp 0x42d758
mov eax, dword [esp + 0x20]
dec eax
cmp eax, 5
ja case.0x42d70e.3
jmp dword [eax*4 + 0x42d8dc]
fild qword [esp + 0x18]
jmp 0x42d747
fld qword [esp + 0x18]
jmp 0x42d747
mov eax, dword [esp + 0x18]
push 1
call fcn.00414de0
jmp 0x42d747
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je case.0x42d70e.3
fild qword [eax]
jmp 0x42d747
mov eax, dword [esp + 0x18]
push eax
call fcn.00491562
add esp, 4
fldz
fucompp
fnstsw ax
test ah, 0x44
jp 0x42d7e0
xor eax, eax
cmp eax, ebx
mov eax, dword [esp + 0x24]
setne bl
xor ebp, ebp
cmp eax, ebp
je 0x42d770
push eax
call fcn.004900b1
add esp, 4
cmp dword [esp + 0x20], 6
jne 0x42d783
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test bl, bl
je 0x42d8a1
mov esi, dword [esp + 0x29c]
mov ecx, dword [esi + 0x14]
cmp byte [ecx], 0x75
jne 0x42d7ea
lea ebx, [ebx]
mov edx, dword [esp + 0x2a0]
mov ecx, dword [ecx + 0x14]
lea eax, [esp + 0x28]
push eax
push edx
push 2
call fcn.00426ac0
mov ecx, dword [esi + 0x14]
mov edi, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], edi
cmp eax, ecx
je 0x42d7a0
jmp 0x42d808
push 1
lea ecx, [esp + 0x1c]
call fcn.00450a00
add esp, 4
or eax, edx
je case.0x42d70e.6
mov eax, 1
jmp 0x42d758
mov edx, dword [esp + 0x2a0]
lea eax, [esp + 0x28]
push eax
push edx
push 3
call fcn.00426ac0
mov edi, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], edi
cmp eax, ebp
je 0x42d827
cmp edi, 6
jne 0x42d8a8
cmp eax, esi
je 0x42d835
mov edx, dword [esp + 0x2a8]
mov dword [edx], eax
jmp 0x42d8c0
cmp edi, 1
je 0x42d835
cmp edi, 6
jne 0x42d8c0
mov esi, dword [esp + 0x2ac]
cmp esi, ebp
je 0x42d84d
lea edi, [esp + 0x14]
call fcn.0042d410
test al, al
jne 0x42d8bc
mov eax, dword [esp + 0x2c]
add dword [eax + 8], 1
mov edx, dword [esp + 0x10]
push edx
adc dword [eax + 0xc], ebp
lea edx, [esp + 0x50]
push edx
push 2
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0xa8]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x28]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x28], 0x4a3920
mov dword [esp + 0x34], ebp
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov edi, eax
cmp edi, ebp
jne 0x42d690
jmp 0x42d8c0
mov edi, 1
jmp 0x42d8c0
cmp eax, esi
jne 0x42d819
mov ecx, dword [esp + 0x2a4]
mov byte [ecx], 1
jmp 0x42d8c0
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x288
ret 0x14