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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov edx, dword [ebp + 0x10]
sub esp, 0xec
push ebx
mov ecx, 2
cmp edx, ecx
push esi
push edi
jne 0x42dfee
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, 0x2000
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe4], eax
mov eax, 0x4000
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], 0x723
mov dword [esp + 0xe0], 4
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], 8
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], 0x7d83
xor esi, esi
lea ecx, [esp + 0xdc]
mov eax, dword [ecx - 4]
cdq
cmp edi, edx
jl 0x42dfc2
jg 0x42dfb5
cmp ebx, eax
jb 0x42dfc2
mov eax, dword [ecx]
cdq
cmp edi, edx
jl 0x42dfdb
jg 0x42dfc2
cmp ebx, eax
jb 0x42dfdb
add esi, 1
add ecx, 0xc
cmp esi, 3
jb 0x42dfa7
mov eax, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea eax, [esi + esi*2]
mov eax, dword [esp + eax*4 + 0xd4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp edx, 3
jne 0x42e0f4
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, 0xffeb
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov eax, 0x1ffd6
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov eax, 0x3ffac
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
mov eax, 0x7ff58
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
mov eax, 0xffeb1
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], eax
mov eax, 0x1ffd62
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], eax
mov eax, 0x3ffac5
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 0x80f4
mov dword [esp + 0x28], 4
mov dword [esp + 0x34], 8
mov dword [esp + 0x40], 0x10
mov dword [esp + 0x4c], 0x20
mov dword [esp + 0x58], 0x40
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 0x80
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 0x7ff58b
xor esi, esi
lea ecx, [esp + 0x18]
lea ebx, [ebx]
mov eax, dword [ecx - 4]
cdq
cmp edi, edx
jl 0x42e0cb
jg 0x42e0be
cmp ebx, eax
jb 0x42e0cb
mov eax, dword [ecx]
cdq
cmp edi, edx
jl 0x42e0e4
jg 0x42e0cb
cmp ebx, eax
jb 0x42e0e4
add esi, 1
add ecx, 0xc
cmp esi, 8
jb 0x42e0b0
mov eax, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [esi + esi*2]
mov eax, dword [esp + ecx*4 + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
cmp edx, eax
jne 0x42dfcd
mov esi, dword [ebp + 8]
mov dword [esp + 0x28], ecx
mov ecx, 0x40f10
mov dword [esp + 0x38], ecx
mov dword [esp + 0x48], ecx
mov ecx, 0x81e20
mov dword [esp + 0x50], ecx
mov dword [esp + 0x60], ecx
mov ecx, 0x1000000
mov dword [esp + 0x68], ecx
mov dword [esp + 0x78], ecx
mov ecx, 0x2000000
mov dword [esp + 0x80], ecx
mov dword [esp + 0x90], ecx
mov ecx, 0x4000000
mov edx, 0x20788
mov dword [esp + 0x98], ecx
mov dword [esp + 0xa8], ecx
mov ecx, 0x40000000
mov edi, 1
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], edx
mov edx, dword [ebp + 0xc]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xc0], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x13986
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 4
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 8
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], 0x10
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0x20
mov dword [esp + 0x8c], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], 0x40
mov dword [esp + 0xa4], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], 0x80
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], edi
mov dword [esp + 0xcc], edi
lea ecx, [esp + 0x20]
cmp edx, dword [ecx - 4]
jl 0x42e25f
jg 0x42e254
cmp esi, dword [ecx - 8]
jb 0x42e25f
cmp edx, dword [ecx + 4]
jl 0x42e277
jg 0x42e25f
cmp esi, dword [ecx]
jb 0x42e277
add eax, edi
add ecx, 0x18
cmp eax, 8
jb 0x42e248
mov eax, 8
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 + 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc