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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov ecx, dword [ebp + 0x10]
sub esp, 0xe4
cmp ecx, 2
push ebx
push esi
push edi
jne 0x42d924
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, 0x2000
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov eax, 0x4000
mov dword [esp + 0xc], 8
mov dword [esp + 0x10], 0x723
mov dword [esp + 0x18], 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0x7d83
xor esi, esi
lea ecx, [esp + 0x14]
lea esp, [esp]
mov eax, dword [ecx - 4]
cdq
cmp edi, edx
jl 0x42d8fb
jg 0x42d8ee
cmp ebx, eax
jb 0x42d8fb
mov eax, dword [ecx]
cdq
cmp edi, edx
jl 0x42d914
jg 0x42d8fb
cmp ebx, eax
jb 0x42d914
add esi, 1
add ecx, 0xc
cmp esi, 3
jb 0x42d8e0
mov eax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea eax, [esi + esi*2]
mov eax, dword [esp + eax*4 + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp ecx, 3
jne 0x42d9c4
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, 0x7ff58
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov eax, 0xffeb1
mov dword [esp + 0xc], 8
mov dword [esp + 0x10], 0x80f4
mov dword [esp + 0x18], 0x20
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0x80
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0x7ff58b
xor esi, esi
lea ecx, [esp + 0x14]
jmp 0x42d980
mov eax, dword [ecx - 4]
cdq
cmp edi, edx
jl 0x42d99b
jg 0x42d98e
cmp ebx, eax
jb 0x42d99b
mov eax, dword [ecx]
cdq
cmp edi, edx
jl 0x42d9b4
jg 0x42d99b
cmp ebx, eax
jb 0x42d9b4
add esi, 1
add ecx, 0xc
cmp esi, 3
jb 0x42d980
mov eax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [esi + esi*2]
mov eax, dword [esp + ecx*4 + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
cmp ecx, eax
jne 0x42d906
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ecx, 0x20788
mov dword [esp + 0x40], ecx
mov dword [esp + 0x50], ecx
mov ecx, 0x40f10
mov dword [esp + 0x58], ecx
mov dword [esp + 0x68], ecx
mov ecx, 0x81e20
mov dword [esp + 0x70], ecx
mov dword [esp + 0x80], ecx
mov ecx, 0x100000
mov dword [esp + 0x88], ecx
mov dword [esp + 0x98], ecx
mov ecx, 0x200000
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xb0], ecx
mov ecx, 0x400000
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xc8], ecx
mov ecx, 0x800000
mov edi, 1
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xe0], ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0x13986
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 2
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 4
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 8
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], 0x10
mov dword [esp + 0x94], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], 0x20
mov dword [esp + 0xac], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], 0x40
mov dword [esp + 0xc4], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], 0x80
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], edi
mov dword [esp + 0xec], edi
lea ecx, [esp + 0x40]
cmp edx, dword [ecx - 4]
jl 0x42db4b
jg 0x42db40
cmp esi, dword [ecx - 8]
jb 0x42db4b
cmp edx, dword [ecx + 4]
jl 0x42db63
jg 0x42db4b
cmp esi, dword [ecx]
jb 0x42db63
add eax, edi
add ecx, 0x18
cmp eax, 8
jb 0x42db34
mov eax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
lea edx, [eax + eax*2]
mov eax, dword [esp + edx*8 + 0x2c]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc