Function at 0x42db80
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov ecx, dword [ebp + 0x10]
sub esp, 0xec
push ebx
xor eax, eax
cmp ecx, eax
push esi
push edi
jne 0x42dcc3
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ecx, 0x8000000
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], ecx
mov ecx, 0x10000000
mov dword [esp + 0x38], ecx
mov dword [esp + 0x48], ecx
mov ecx, 0x20000000
mov dword [esp + 0x50], ecx
mov dword [esp + 0x60], ecx
mov ecx, 0x40000000
mov dword [esp + 0x68], ecx
mov dword [esp + 0x78], ecx
mov ecx, 0x80000000
mov edi, 1
mov dword [esp + 0x80], ecx
mov dword [esp + 0x90], 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 + 0x28], 2
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 + 0x98], edi
mov dword [esp + 0x9c], edi
lea ecx, [esp + 0x20]
cmp edx, dword [ecx - 4]
jl 0x42dc9b
jg 0x42dc90
cmp esi, dword [ecx - 8]
jb 0x42dc9b
cmp edx, dword [ecx + 4]
jl 0x42dcb3
jg 0x42dc9b
cmp esi, dword [ecx]
jb 0x42dcb3
add eax, edi
add ecx, 0x18
cmp eax, 6
jb 0x42dc84
mov eax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea eax, [eax + eax*2]
mov eax, dword [esp + eax*8 + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp ecx, 3
jne 0x42de60
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ecx, 0x10000
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], ecx
mov ecx, 0x20000
mov dword [esp + 0x38], ecx
mov dword [esp + 0x48], ecx
mov ecx, 0x40000
mov dword [esp + 0x50], ecx
mov dword [esp + 0x60], ecx
mov ecx, 0x80000
mov dword [esp + 0x68], ecx
mov dword [esp + 0x78], ecx
mov ecx, 0x100000
mov dword [esp + 0x80], ecx
mov dword [esp + 0x90], ecx
mov ecx, 0x200000
mov dword [esp + 0x98], ecx
mov dword [esp + 0xa8], ecx
mov ecx, 0x400000
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xc0], ecx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x80f4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 2
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], 0x7ff58b
mov dword [esp + 0xcc], eax
lea ecx, [esp + 0x20]
lea ecx, [ecx]
cmp edx, dword [ecx - 4]
jl 0x42de37
jg 0x42de2c
cmp esi, dword [ecx - 8]
jb 0x42de37
cmp edx, dword [ecx + 4]
jl 0x42de50
jg 0x42de37
cmp esi, dword [ecx]
jb 0x42de50
add eax, 1
add ecx, 0x18
cmp eax, 8
jb 0x42de20
mov eax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [eax + eax*2]
mov eax, dword [esp + ecx*8 + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp ecx, 2
jne 0x42dca5
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [esp + 0xd4], ecx
mov ecx, 0x2000
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe4], ecx
mov ecx, 0x4000
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xd8], 0x723
mov dword [esp + 0xe0], 4
mov dword [esp + 0xec], 8
mov dword [esp + 0xf4], 0x7d83
xor esi, esi
lea ecx, [esp + 0xdc]
mov eax, dword [ecx - 4]
cdq
cmp edi, edx
jl 0x42deec
jg 0x42dedf
cmp ebx, eax
jb 0x42deec
mov eax, dword [ecx]
cdq
cmp edi, edx
jl 0x42df05
jg 0x42deec
cmp ebx, eax
jb 0x42df05
add esi, 1
add ecx, 0xc
cmp esi, 3
jb 0x42ded1
mov eax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
lea edx, [esi + esi*2]
mov eax, dword [esp + edx*4 + 0xd0]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc