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

Disassembly:
sub esp, 0x288
mov eax, dword [0x4c7a54]
mov ecx, dword [0x4cb498]
mov edx, dword [0x4cc47c]
push ebx
push ebp
mov ebp, dword [0x4cb49c]
push esi
mov dword [esp + 0x28], eax
mov eax, dword [0x4cc480]
push edi
mov dword [esp + 0x10], eax
xor eax, eax
push eax
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x2a4]
push 2
push edx
lea ebx, [esp + 0x20]
lea esi, [esp + 0x68]
mov dword [0x4cc47c], eax
mov dword [0x4cc480], eax
call fcn.0045cc60
mov edi, dword [esp + 0x14]
xor ebx, ebx
mov esi, eax
cmp edi, ebx
je 0x42debe
mov eax, dword [0x4cc47c]
cmp eax, ebx
je 0x42deaf
push eax
call fcn.004915f6
add esp, 4
cmp dword [0x4cc480], 0x400000
jbe 0x42deaf
dec dword [0x4cc484]
mov eax, dword [esp + 0x10]
mov dword [0x4cc47c], edi
mov dword [0x4cc480], eax
cmp esi, 1
jne 0x42e25c
cmp dword [esp + 0x60], 6
jne 0x42e25c
lea ecx, [esp + 0x68]
mov dword [esp + 0x4c], ecx
push esi
lea ecx, [esp + 0x9c]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x50]
push ecx
push 0x80002
lea eax, [esp + 0x94]
lea ecx, [esp + 0x64]
push ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x88]
mov dword [esp + 0x60], edx
mov edi, 0x4a4910
lea ecx, [esp + 0x40]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x78], 0x4abfec
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
push ecx
push eax
call edx
mov esi, 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 0x42df5b
push eax
call fcn.004915f6
add esp, 4
cmp esi, ebx
je 0x42e25c
cmp esi, 8
je 0x42e25c
cmp dword [esp + 0x38], 6
je 0x42df85
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], 0x4ac000
mov dword [esp + 0x80], eax
mov dword [esp + 0x78], ecx
cmp ebp, ebx
je 0x42dfbd
mov dword [esp + 0x90], eax
mov dword [esp + 0x88], ebp
mov dword [esp + 0x10], 3
jmp 0x42dfc5
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], edi
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 esi, eax
cmp esi, ebx
je 0x42e250
jmp 0x42e022
xor ebx, ebx
cmp esi, 8
je 0x42e250
cmp dword [esp + 0x20], ebx
jne 0x42e03d
mov dword [esp + 0x20], 5
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x18]
push ecx
call fcn.00451540
add esp, 4
dec eax
je 0x42e15a
dec eax
je 0x42e094
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
cmp ecx, 6
je 0x42e170
cmp ecx, 4
jne 0x42e07d
cmp byte [eax + 0x17], 0
jne 0x42e073
mov eax, dword [eax + 0xc]
test byte [eax + 0x15], 2
jne 0x42e170
xor ecx, ecx
lea eax, [esp + 0x18]
call fcn.004517d0
xor edx, edx
cmp word [eax], bx
setne dl
mov eax, edx
jmp 0x42e0e8
mov eax, dword [esp + 0x20]
dec eax
cmp eax, 5
ja case.0x42e09e.3
jmp dword [eax*4 + 0x42e26c]
fild qword [esp + 0x18]
jmp 0x42e0d7
fld qword [esp + 0x18]
jmp 0x42e0d7
mov eax, dword [esp + 0x18]
push 1
call fcn.00415710
jmp 0x42e0d7
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je case.0x42e09e.3
fild qword [eax]
jmp 0x42e0d7
mov eax, dword [esp + 0x18]
push eax
call fcn.00492aa2
add esp, 4
fldz
fucompp
fnstsw ax
test ah, 0x44
jp 0x42e170
xor eax, eax
cmp eax, ebx
mov eax, dword [esp + 0x24]
setne bl
xor ebp, ebp
cmp eax, ebp
je 0x42e100
push eax
call fcn.004915f6
add esp, 4
cmp dword [esp + 0x20], 6
jne 0x42e113
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test bl, bl
je 0x42e231
mov edi, dword [esp + 0x29c]
mov ecx, dword [edi + 0x14]
cmp byte [ecx], 0x75
jne 0x42e17a
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.00427550
mov ecx, dword [edi + 0x14]
mov esi, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], esi
cmp eax, ecx
je 0x42e130
jmp 0x42e198
push 1
lea ecx, [esp + 0x1c]
call fcn.00451690
add esp, 4
or eax, edx
je case.0x42e09e.6
mov eax, 1
jmp 0x42e0e8
mov edx, dword [esp + 0x2a0]
lea eax, [esp + 0x28]
push eax
push edx
push 3
call fcn.00427550
mov esi, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], esi
cmp eax, ebp
je 0x42e1b7
cmp esi, 6
jne 0x42e238
cmp eax, edi
je 0x42e1c5
mov edx, dword [esp + 0x2a8]
mov dword [edx], eax
jmp 0x42e250
cmp esi, 1
je 0x42e1c5
cmp esi, 6
jne 0x42e250
mov esi, dword [esp + 0x2ac]
cmp esi, ebp
je 0x42e1dd
lea edi, [esp + 0x14]
call fcn.0042dda0
test al, al
jne 0x42e24c
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], 0x4a4910
mov dword [esp + 0x34], ebp
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov esi, eax
cmp esi, ebp
jne 0x42e020
jmp 0x42e250
mov esi, 1
jmp 0x42e250
cmp eax, edi
jne 0x42e1a9
mov ecx, dword [esp + 0x2a4]
mov byte [ecx], 1
jmp 0x42e250
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x288
ret 0x14