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

Disassembly:
sub esp, 0x8c
push esi
push edi
push 0x100000
push 0x1000
push 0
call dword [0x48a168]
mov esi, dword [esp + 0x98]
mov dword [esp + 0x18], eax
test esi, esi
mov dword [esp + 8], 0
jne 0x43624c
pop edi
xor eax, eax
pop esi
add esp, 0x8c
ret
mov edi, dword [0x48a050]
push 0
call edi
test eax, eax
mov dword [esp + 0x10], eax
jne 0x436267
pop edi
pop esi
add esp, 0x8c
ret
push ebx
mov ebx, dword [0x48a0d0]
lea eax, [esp + 0x3c]
push ebp
push eax
push 0x18
push esi
call ebx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
xor eax, eax
mov dword [esp + 0x5c], ecx
push eax
lea ecx, [esp + 0x9c]
push eax
mov dword [esp + 0x68], edx
push ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
push eax
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x68]
mov ebp, 1
push edx
push eax
mov dword [esp + 0x70], 0x28
mov word [esp + 0x7c], bp
mov word [esp + 0x7e], 0x20
call dword [0x48a0cc]
test eax, eax
mov dword [esp + 0x30], eax
je 0x43661e
mov ecx, dword [esp + 0x18]
push eax
push ecx
call dword [0x48a03c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
push edx
call edi
mov edi, eax
test edi, edi
mov dword [esp + 0x34], edi
je 0x4365ed
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x80]
push eax
push 0x18
push ecx
call ebx
mov eax, dword [esp + 0x8c]
mov edx, eax
and edx, 0x80000003
jns 0x436338
dec edx
or edx, 0xfffffffc
inc edx
je 0x436353
inc eax
mov ecx, eax
and ecx, 0x80000003
jns 0x43634a
dec ecx
or ecx, 0xfffffffc
inc ecx
jne 0x43633a
mov dword [esp + 0x8c], eax
push esi
push edi
call dword [0x48a03c]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x18]
push 0xcc0020
push 0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
push 0
push edi
push edx
push eax
push 0
push 0
push ecx
call dword [0x48a0ac]
mov ebx, dword [esp + 0x20]
push 0x660
push 8
push ebx
mov dword [esp + 0x20], 0x64
call dword [0x48a164]
mov esi, eax
mov dword [esi + 4], ebp
xor ebp, ebp
push ebp
push ebp
push 0x7fffffff
lea edx, [esi + 0x10]
push 0x7fffffff
push edx
mov dword [esi], 0x20
mov dword [esi + 0xc], ebp
mov dword [esi + 8], ebp
call dword [0x48a5a4]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x1c], ebp
lea edi, [eax - 1]
mov eax, dword [esp + 0x48]
imul edi, dword [esp + 0x8c]
add edi, ecx
cmp eax, ebp
mov dword [esp + 0x24], edi
jle 0x436590
mov eax, dword [esp + 0x44]
xor ebx, ebx
test eax, eax
jle 0x43656a
mov ecx, dword [esp + 0x14]
add ecx, 2
shl ecx, 4
mov dword [esp + 0x2c], ecx
cmp ebx, eax
mov dword [esp + 0x28], ebx
lea edi, [edi + ebx*4]
jge 0x436559
mov edx, dword [edi]
mov eax, dword [esp + 0xa4]
sar edx, 0x10
xor ebp, ebp
cmp dl, al
jne 0x43644c
xor ecx, ecx
xor edx, edx
mov cl, byte [edi + 1]
mov dl, ah
cmp cl, dl
jne 0x43644c
mov cl, byte [edi]
shr eax, 0x10
cmp cl, al
jne 0x43644c
mov ebp, 1
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x43645d
test ebp, ebp
jne 0x43646d
jmp 0x436461
test ebp, ebp
je 0x43646d
mov eax, dword [esp + 0x44]
add edi, 4
inc ebx
cmp ebx, eax
jl 0x43641f
cmp ebx, dword [esp + 0x28]
jle 0x436559
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jb 0x4364a9
mov eax, ecx
mov ecx, dword [esp + 0x20]
add eax, 0x64
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
add eax, 0x640
push eax
push esi
push 0
push ecx
mov dword [esp + 0x3c], eax
call dword [0x48a160]
mov esi, eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
lea edi, [eax + 1]
push edi
push ebx
push eax
mov eax, dword [esi + 8]
add eax, 2
push edx
shl eax, 4
add eax, esi
push eax
call dword [0x48a5a4]
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0x10]
lea ebp, [esi + 0x10]
cmp eax, ecx
jge 0x4364db
mov dword [ebp], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x14]
cmp eax, ecx
jge 0x4364e9
mov dword [esi + 0x14], eax
cmp ebx, dword [esi + 0x18]
jle 0x4364f1
mov dword [esi + 0x18], ebx
cmp edi, dword [esi + 0x1c]
jle 0x4364f9
mov dword [esi + 0x1c], edi
mov ecx, dword [esi + 8]
inc ecx
mov eax, ecx
mov dword [esi + 8], ecx
cmp eax, 0x7d0
jne 0x436559
mov ecx, dword [esp + 0x2c]
push esi
push ecx
push 0
call dword [0x48a0e0]
mov edi, eax
test edi, edi
je 0x43653d
mov eax, dword [esp + 0x10]
test eax, eax
je 0x436539
push 2
push edi
push eax
push eax
call dword [0x48a0dc]
push edi
call dword [0x48a048]
jmp 0x43653d
mov dword [esp + 0x10], edi
push 0
push 0
push 0x7fffffff
push 0x7fffffff
push ebp
mov dword [esi + 8], 0
call dword [0x48a5a4]
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x24]
inc ebx
cmp ebx, eax
jl 0x436410
mov ebx, dword [esp + 0x8c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
sub edi, ebx
inc eax
mov dword [esp + 0x24], edi
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x4363f4
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
push esi
add edx, 2
shl edx, 4
push edx
push 0
call dword [0x48a0e0]
mov edi, eax
test edi, edi
je 0x4365ca
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4365c6
push 2
push edi
push eax
push eax
call dword [0x48a0dc]
push edi
call dword [0x48a048]
jmp 0x4365ca
mov dword [esp + 0x10], edi
push esi
push 0
push ebx
call dword [0x48a15c]
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
push eax
push esi
call dword [0x48a03c]
push esi
call dword [0x48a120]
jmp 0x4365f1
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x18]
push ecx
push esi
call dword [0x48a03c]
push esi
call dword [0x48a120]
mov edx, dword [esp + 0x30]
push edx
call dword [0x48a048]
test ebx, ebx
je 0x43661e
push ebx
call dword [0x48a158]
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x8c
ret