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

Disassembly:
sub esp, 0x288
mov eax, dword [0x4c6a44]
mov ecx, dword [0x4ca4b0]
mov edx, dword [0x4cb488]
push ebx
push ebp
mov ebp, dword [0x4ca4b4]
push esi
push edi
mov dword [esp + 0x2c], eax
mov eax, dword [0x4cb48c]
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 [0x4cb488], eax
mov dword [0x4cb48c], eax
mov eax, dword [esp + 0x2a4]
push 2
push eax
lea ebx, [esp + 0x20]
call fcn.0045c060
mov esi, dword [esp + 0x14]
xor ebx, ebx
mov edi, eax
cmp esi, ebx
je 0x42db7f
mov eax, dword [0x4cb488]
cmp eax, ebx
je 0x42db6f
push eax
call fcn.00490941
add esp, 4
cmp dword [0x4cb48c], 0x400000
jbe 0x42db6f
dec dword [0x4cb490]
mov ecx, dword [esp + 0x10]
mov dword [0x4cb488], esi
mov dword [0x4cb48c], ecx
cmp edi, 1
jne 0x42df1c
cmp dword [esp + 0x60], 6
jne 0x42df1c
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], 0x4aaf84
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 0x42dc1c
push eax
call fcn.00490941
add esp, 4
cmp edi, ebx
je 0x42df1c
cmp edi, 8
je 0x42df1c
cmp dword [esp + 0x38], 6
je 0x42dc46
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], 0x4aaf98
mov dword [esp + 0x80], eax
mov dword [esp + 0x78], ecx
cmp ebp, ebx
je 0x42dc7e
mov dword [esp + 0x90], eax
mov dword [esp + 0x88], ebp
mov dword [esp + 0x10], 3
jmp 0x42dc86
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 0x42df10
jmp 0x42dce2
xor ebx, ebx
cmp edi, 8
je 0x42df10
cmp dword [esp + 0x20], ebx
jne 0x42dcfd
mov dword [esp + 0x20], 5
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x18]
push ecx
call fcn.00451060
add esp, 4
dec eax
je 0x42de1a
dec eax
je 0x42dd54
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
cmp ecx, 6
je 0x42de30
cmp ecx, 4
jne 0x42dd3d
cmp byte [eax + 0x17], 0
jne 0x42dd33
mov eax, dword [eax + 0xc]
test byte [eax + 0x15], 2
jne 0x42de30
xor ecx, ecx
lea eax, [esp + 0x18]
call fcn.004512f0
xor edx, edx
cmp word [eax], bx
setne dl
mov eax, edx
jmp 0x42dda8
mov eax, dword [esp + 0x20]
dec eax
cmp eax, 5
ja case.0x42dd5e.3
jmp dword [eax*4 + 0x42df2c]
fild qword [esp + 0x18]
jmp 0x42dd97
fld qword [esp + 0x18]
jmp 0x42dd97
mov eax, dword [esp + 0x18]
push 1
call fcn.004152a0
jmp 0x42dd97
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je case.0x42dd5e.3
fild qword [eax]
jmp 0x42dd97
mov eax, dword [esp + 0x18]
push eax
call fcn.00491df2
add esp, 4
fldz
fucompp
fnstsw ax
test ah, 0x44
jp 0x42de30
xor eax, eax
cmp eax, ebx
mov eax, dword [esp + 0x24]
setne bl
xor ebp, ebp
cmp eax, ebp
je 0x42ddc0
push eax
call fcn.00490941
add esp, 4
cmp dword [esp + 0x20], 6
jne 0x42ddd3
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test bl, bl
je 0x42def1
mov esi, dword [esp + 0x29c]
mov ecx, dword [esi + 0x14]
cmp byte [ecx], 0x75
jne 0x42de3a
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.00427120
mov ecx, dword [esi + 0x14]
mov edi, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], edi
cmp eax, ecx
je 0x42ddf0
jmp 0x42de58
push 1
lea ecx, [esp + 0x1c]
call fcn.004511b0
add esp, 4
or eax, edx
je case.0x42dd5e.6
mov eax, 1
jmp 0x42dda8
mov edx, dword [esp + 0x2a0]
lea eax, [esp + 0x28]
push eax
push edx
push 3
call fcn.00427120
mov edi, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], edi
cmp eax, ebp
je 0x42de77
cmp edi, 6
jne 0x42def8
cmp eax, esi
je 0x42de85
mov edx, dword [esp + 0x2a8]
mov dword [edx], eax
jmp 0x42df10
cmp edi, 1
je 0x42de85
cmp edi, 6
jne 0x42df10
mov esi, dword [esp + 0x2ac]
cmp esi, ebp
je 0x42de9d
lea edi, [esp + 0x14]
call fcn.0042da60
test al, al
jne 0x42df0c
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 0x42dce0
jmp 0x42df10
mov edi, 1
jmp 0x42df10
cmp eax, esi
jne 0x42de69
mov ecx, dword [esp + 0x2a4]
mov byte [ecx], 1
jmp 0x42df10
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