Function at 0x42d790
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.0045bc60
mov esi, dword [esp + 0x14]
xor ebx, ebx
mov edi, eax
cmp esi, ebx
je 0x42d82f
mov eax, dword [0x4cb488]
cmp eax, ebx
je 0x42d81f
push eax
call fcn.004904f1
add esp, 4
cmp dword [0x4cb48c], 0x400000
jbe 0x42d81f
dec dword [0x4cb490]
mov ecx, dword [esp + 0x10]
mov dword [0x4cb488], esi
mov dword [0x4cb48c], ecx
cmp edi, 1
jne 0x42dbcc
cmp dword [esp + 0x60], 6
jne 0x42dbcc
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, 0x4a3890
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 0x42d8cc
push eax
call fcn.004904f1
add esp, 4
cmp edi, ebx
je 0x42dbcc
cmp edi, 8
je 0x42dbcc
cmp dword [esp + 0x38], 6
je 0x42d8f6
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 0x42d92e
mov dword [esp + 0x90], eax
mov dword [esp + 0x88], ebp
mov dword [esp + 0x10], 3
jmp 0x42d936
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 0x42dbc0
jmp 0x42d992
xor ebx, ebx
cmp edi, 8
je 0x42dbc0
cmp dword [esp + 0x20], ebx
jne 0x42d9ad
mov dword [esp + 0x20], 5
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x18]
push ecx
call fcn.00450cd0
add esp, 4
dec eax
je 0x42daca
dec eax
je 0x42da04
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
cmp ecx, 6
je 0x42dae0
cmp ecx, 4
jne 0x42d9ed
cmp byte [eax + 0x17], 0
jne 0x42d9e3
mov eax, dword [eax + 0xc]
test byte [eax + 0x15], 2
jne 0x42dae0
xor ecx, ecx
lea eax, [esp + 0x18]
call fcn.00450f60
xor edx, edx
cmp word [eax], bx
setne dl
mov eax, edx
jmp 0x42da58
mov eax, dword [esp + 0x20]
dec eax
cmp eax, 5
ja case.0x42da0e.3
jmp dword [eax*4 + 0x42dbdc]
fild qword [esp + 0x18]
jmp 0x42da47
fld qword [esp + 0x18]
jmp 0x42da47
mov eax, dword [esp + 0x18]
push 1
call fcn.00414fc0
jmp 0x42da47
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je case.0x42da0e.3
fild qword [eax]
jmp 0x42da47
mov eax, dword [esp + 0x18]
push eax
call fcn.004919a2
add esp, 4
fldz
fucompp
fnstsw ax
test ah, 0x44
jp 0x42dae0
xor eax, eax
cmp eax, ebx
mov eax, dword [esp + 0x24]
setne bl
xor ebp, ebp
cmp eax, ebp
je 0x42da70
push eax
call fcn.004904f1
add esp, 4
cmp dword [esp + 0x20], 6
jne 0x42da83
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test bl, bl
je 0x42dba1
mov esi, dword [esp + 0x29c]
mov ecx, dword [esi + 0x14]
cmp byte [ecx], 0x75
jne 0x42daea
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.00426dd0
mov ecx, dword [esi + 0x14]
mov edi, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], edi
cmp eax, ecx
je 0x42daa0
jmp 0x42db08
push 1
lea ecx, [esp + 0x1c]
call fcn.00450e20
add esp, 4
or eax, edx
je case.0x42da0e.6
mov eax, 1
jmp 0x42da58
mov edx, dword [esp + 0x2a0]
lea eax, [esp + 0x28]
push eax
push edx
push 3
call fcn.00426dd0
mov edi, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], edi
cmp eax, ebp
je 0x42db27
cmp edi, 6
jne 0x42dba8
cmp eax, esi
je 0x42db35
mov edx, dword [esp + 0x2a8]
mov dword [edx], eax
jmp 0x42dbc0
cmp edi, 1
je 0x42db35
cmp edi, 6
jne 0x42dbc0
mov esi, dword [esp + 0x2ac]
cmp esi, ebp
je 0x42db4d
lea edi, [esp + 0x14]
call fcn.0042d710
test al, al
jne 0x42dbbc
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], 0x4a3890
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 0x42d990
jmp 0x42dbc0
mov edi, 1
jmp 0x42dbc0
cmp eax, esi
jne 0x42db19
mov ecx, dword [esp + 0x2a4]
mov byte [ecx], 1
jmp 0x42dbc0
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