Function at 0x42d640
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.0045bbc0
mov esi, dword [esp + 0x14]
xor ebx, ebx
mov edi, eax
cmp esi, ebx
je 0x42d6df
mov eax, dword [0x4cb484]
cmp eax, ebx
je 0x42d6cf
push eax
call fcn.00490351
add esp, 4
cmp dword [0x4cb488], 0x400000
jbe 0x42d6cf
dec dword [0x4cb48c]
mov ecx, dword [esp + 0x10]
mov dword [0x4cb484], esi
mov dword [0x4cb488], ecx
cmp edi, 1
jne 0x42da7c
cmp dword [esp + 0x60], 6
jne 0x42da7c
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, 0x4a3860
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], str._NewEnum
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 0x42d77c
push eax
call fcn.00490351
add esp, 4
cmp edi, ebx
je 0x42da7c
cmp edi, 8
je 0x42da7c
cmp dword [esp + 0x38], 6
je 0x42d7a6
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], str.Next
mov dword [esp + 0x80], eax
mov dword [esp + 0x78], ecx
cmp ebp, ebx
je 0x42d7de
mov dword [esp + 0x90], eax
mov dword [esp + 0x88], ebp
mov dword [esp + 0x10], 3
jmp 0x42d7e6
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 0x42da70
jmp 0x42d842
xor ebx, ebx
cmp edi, 8
je 0x42da70
cmp dword [esp + 0x20], ebx
jne 0x42d85d
mov dword [esp + 0x20], 5
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x18]
push ecx
call fcn.00450b80
add esp, 4
dec eax
je 0x42d97a
dec eax
je 0x42d8b4
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
cmp ecx, 6
je 0x42d990
cmp ecx, 4
jne 0x42d89d
cmp byte [eax + 0x17], 0
jne 0x42d893
mov eax, dword [eax + 0xc]
test byte [eax + 0x15], 2
jne 0x42d990
xor ecx, ecx
lea eax, [esp + 0x18]
call fcn.00450e10
xor edx, edx
cmp word [eax], bx
setne dl
mov eax, edx
jmp 0x42d908
mov eax, dword [esp + 0x20]
dec eax
cmp eax, 5
ja case.0x42d8be.3
jmp dword [eax*4 + 0x42da8c]
fild qword [esp + 0x18]
jmp 0x42d8f7
fld qword [esp + 0x18]
jmp 0x42d8f7
mov eax, dword [esp + 0x18]
push 1
call fcn.00414e10
jmp 0x42d8f7
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je case.0x42d8be.3
fild qword [eax]
jmp 0x42d8f7
mov eax, dword [esp + 0x18]
push eax
call fcn.00491802
add esp, 4
fldz
fucompp
fnstsw ax
test ah, 0x44
jp 0x42d990
xor eax, eax
cmp eax, ebx
mov eax, dword [esp + 0x24]
setne bl
xor ebp, ebp
cmp eax, ebp
je 0x42d920
push eax
call fcn.00490351
add esp, 4
cmp dword [esp + 0x20], 6
jne 0x42d933
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test bl, bl
je 0x42da51
mov esi, dword [esp + 0x29c]
mov ecx, dword [esi + 0x14]
cmp byte [ecx], 0x75
jne 0x42d99a
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.00426b60
mov ecx, dword [esi + 0x14]
mov edi, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], edi
cmp eax, ecx
je 0x42d950
jmp 0x42d9b8
push 1
lea ecx, [esp + 0x1c]
call fcn.00450cd0
add esp, 4
or eax, edx
je case.0x42d8be.6
mov eax, 1
jmp 0x42d908
mov edx, dword [esp + 0x2a0]
lea eax, [esp + 0x28]
push eax
push edx
push 3
call fcn.00426b60
mov edi, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], edi
cmp eax, ebp
je 0x42d9d7
cmp edi, 6
jne 0x42da58
cmp eax, esi
je 0x42d9e5
mov edx, dword [esp + 0x2a8]
mov dword [edx], eax
jmp 0x42da70
cmp edi, 1
je 0x42d9e5
cmp edi, 6
jne 0x42da70
mov esi, dword [esp + 0x2ac]
cmp esi, ebp
je 0x42d9fd
lea edi, [esp + 0x14]
call fcn.0042d5c0
test al, al
jne 0x42da6c
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], 0x4a3860
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 0x42d840
jmp 0x42da70
mov edi, 1
jmp 0x42da70
cmp eax, esi
jne 0x42d9c9
mov ecx, dword [esp + 0x2a4]
mov byte [ecx], 1
jmp 0x42da70
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