Function at 0x4360e0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48cc30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
mov eax, dword [0x4e3e70]
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x60], esi
mov edi, dword [ebp + 0x10]
mov dword [esi], edi
mov eax, dword [edi]
mov ecx, dword [ebp + 8]
push ecx
mov ecx, edi
call dword [eax]
test eax, eax
je 0x43664a
mov ecx, dword [esi]
mov edx, dword [ecx]
xor ebx, ebx
push ebx
push ebx
call dword [edx + 8]
mov ecx, dword [esi]
mov eax, dword [ecx]
push 0x40
lea edx, [ebp - 0x54]
push edx
call dword [eax + 0xc]
test eax, eax
je 0x436643
cmp word [ebp - 0x54], 0x5a4d
jne 0x43663a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
mov dword [esi + 0x138], eax
cmp eax, ebx
je 0x436643
mov ecx, dword [esi]
mov edx, dword [ecx]
push ebx
mov eax, dword [ebp - 0x18]
push eax
call dword [edx + 8]
test eax, eax
je 0x436643
mov ecx, dword [esi]
lea edi, [esi + 4]
mov edx, dword [ecx]
push 0x78
push edi
call dword [edx + 0xc]
test eax, eax
je 0x436643
cmp dword [edi], 0x4550
jne 0x43663a
cmp word [esi + 8], 0x14c
jne 0x436643
mov byte [esi + 0x135], 1
test byte [esi + 0x1b], 0x20
je 0x4361c8
mov al, 2
test byte [esi + 0x134], al
je 0x43663a
mov byte [esi + 0x135], al
mov ax, word [esi + 0xa]
mov word [esi + 0xfe], ax
cmp ax, bx
je 0x436643
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x13c], ecx
cmp word [esi + 0x1c], 0x10b
jne 0x43663a
cmp word [esi + 0x18], 0xe0
jb 0x43663a
mov eax, 0x1000
cmp dword [esi + 0x3c], eax
jae 0x43620a
mov dword [esi + 0x3c], eax
cmp dword [ebp + 0x14], ebx
jne 0x43622c
mov eax, dword [esi + 0x40]
cmp eax, 0x200
jb 0x436225
cmp eax, dword [esi + 0x3c]
jae 0x436225
cmp eax, 0x10000
jbe 0x43622c
mov dword [esi + 0x40], 0x200
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x40]
xor edx, edx
div ecx
mov edi, eax
xor eax, eax
cmp edx, ebx
setne al
add eax, edi
imul eax, ecx
mov dword [esi + 0x58], eax
mov ecx, 0x10
cmp dword [esi + 0x78], ecx
jbe 0x436254
mov dword [esi + 0x78], ecx
mov dl, byte [esi + 0x78]
mov byte [esi + 0xfc], dl
cmp word [esi + 0x60], 1
je 0x436643
movzx ecx, word [esi + 0x18]
mov edx, dword [ebp - 0x18]
lea edi, [ecx + edx + 0x18]
mov dword [ebp - 0x68], edi
movzx ecx, word [esi + 0xa]
lea ecx, [ecx + ecx*4]
lea ecx, [edi + ecx*8]
cmp ecx, eax
mov ecx, dword [esi]
ja 0x43663c
mov eax, dword [ecx]
push ebx
add edx, 0x78
push edx
call dword [eax + 8]
test eax, eax
je 0x43663a
mov al, byte [esi + 0xfc]
test al, al
je 0x4362c0
mov ecx, dword [esi]
mov edx, dword [ecx]
movzx eax, al
shl eax, 3
push eax
lea eax, [esi + 0x7c]
push eax
call dword [edx + 0xc]
test eax, eax
je 0x43663a
mov dword [ebp - 4], ebx
movzx eax, word [esi + 0xfe]
inc eax
lea eax, [eax + eax*4]
shl eax, 3
push eax
call fcn.0047ad38
add esp, 4
mov dword [ebp - 0x74], eax
mov dword [esi + 0x100], eax
jmp 0x436300
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 0x100]
mov ecx, dword [esi]
cmp eax, ebx
je 0x43663c
mov eax, dword [ecx]
push ebx
push edi
call dword [eax + 8]
mov ecx, dword [esi]
mov edx, dword [ecx]
test eax, eax
je 0x436346
movzx eax, word [esi + 0xfe]
lea eax, [eax + eax*4]
shl eax, 3
push eax
mov eax, dword [esi + 0x100]
push eax
call dword [edx + 0xc]
test eax, eax
jne 0x43636b
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esi + 0x100]
cmp eax, ebx
je 0x43664a
push eax
call fcn.0047aef1
add esp, 4
mov dword [esi + 0x100], ebx
jmp 0x43664a
xor ecx, ecx
xor eax, eax
mov ax, word [esi + 0xfe]
cmp ax, bx
jbe 0x43637e
mov cx, ax
inc eax
mov word [esi + 0xfe], ax
movzx ecx, cx
lea ecx, [ecx + ecx*4]
shl ecx, 3
mov eax, dword [esi + 0x100]
mov edx, dword [0x4ab91c]
mov dword [eax + ecx], edx
mov edx, dword [0x4ab920]
mov dword [eax + ecx + 4], edx
mov eax, dword [esi + 0x100]
mov dword [eax + ecx + 0x24], 0x60000000
mov edx, dword [esi + 0x100]
mov dword [edx + ecx + 0x18], ebx
mov eax, dword [esi + 0x100]
mov dword [eax + ecx + 0x1c], ebx
mov edx, dword [esi + 0x100]
mov word [edx + ecx + 0x22], bx
mov eax, dword [esi + 0x100]
mov word [eax + ecx + 0x20], bx
mov edx, dword [esi + 0x100]
mov dword [edx + ecx + 0x14], ebx
mov eax, dword [esi + 0x100]
mov edx, dword [esi + 0x58]
mov dword [eax + ecx + 0x10], edx
mov eax, dword [esi + 0x58]
mov edi, dword [esi + 0x3c]
xor edx, edx
div edi
xor ebx, ebx
test edx, edx
setne bl
add ebx, eax
imul ebx, edi
mov eax, dword [esi + 0x100]
mov dword [eax + ecx + 8], ebx
mov edx, dword [esi + 0x100]
xor eax, eax
mov dword [edx + ecx + 0xc], eax
xor ecx, ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x58], eax
cmp word [esi + 0xfe], ax
jbe 0x4365e5
jmp 0x436440
movzx ecx, ax
movzx eax, word [esi + 0xfe]
dec eax
cmp ecx, eax
je 0x4364cb
lea ecx, [ecx + ecx*4]
shl ecx, 3
mov edx, dword [esi + 0x100]
lea edi, [edx + ecx + 0xc]
mov ebx, dword [esi + 0x3c]
mov eax, dword [edi]
xor edx, edx
div ebx
imul eax, ebx
mov dword [edi], eax
mov eax, dword [esi + 0x100]
lea edi, [eax + ecx + 8]
mov eax, dword [edi]
mov ebx, dword [esi + 0x3c]
xor edx, edx
div ebx
mov dword [ebp - 0x6c], eax
xor eax, eax
test edx, edx
setne al
add eax, dword [ebp - 0x6c]
imul eax, ebx
mov dword [edi], eax
mov edx, dword [esi + 0x100]
lea edi, [edx + ecx + 0x14]
mov ebx, dword [esi + 0x40]
mov eax, dword [edi]
xor edx, edx
div ebx
imul eax, ebx
mov dword [edi], eax
mov eax, dword [esi + 0x100]
lea ecx, [eax + ecx + 0x10]
mov eax, dword [ecx]
mov edi, dword [esi + 0x40]
xor edx, edx
div edi
xor ebx, ebx
test edx, edx
setne bl
add ebx, eax
imul ebx, edi
mov dword [ecx], ebx
movzx ecx, word [ebp - 0x58]
lea ecx, [ecx + ecx*4]
shl ecx, 3
mov edx, dword [esi + 0x100]
add edx, ecx
mov edi, dword [edx + 0x14]
mov eax, dword [esi + 0x138]
cmp edi, eax
jb 0x4364fb
xor eax, eax
mov dword [edx + 0x14], eax
mov edx, dword [esi + 0x100]
mov dword [edx + ecx + 0x10], eax
jmp 0x436509
mov ebx, dword [edx + 0x10]
add ebx, edi
cmp ebx, eax
jbe 0x436509
sub eax, edi
mov dword [edx + 0x10], eax
xor eax, eax
mov dword [ebp - 0x5c], eax
cmp word [ebp - 0x58], ax
jbe 0x43658a
movzx eax, ax
lea eax, [eax + eax*4]
shl eax, 3
mov edi, dword [esi + 0x100]
mov ebx, dword [ecx + edi + 0xc]
mov edx, dword [eax + edi + 0xc]
cmp ebx, edx
ja 0x436545
lea edi, [ecx + edi + 8]
mov dword [ebp - 0x70], edi
mov edi, dword [edi]
add edi, ebx
cmp edi, edx
jbe 0x436545
sub edx, ebx
mov edi, dword [ebp - 0x70]
mov dword [edi], edx
mov edx, dword [esi + 0x100]
mov edi, dword [ecx + edx + 0xc]
mov ebx, dword [eax + edx + 0xc]
cmp edi, ebx
jbe 0x436561
mov eax, dword [eax + edx + 8]
add eax, ebx
cmp edi, eax
jb 0x436570
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp ax, word [ebp - 0x58]
jb 0x436514
jmp 0x43658a
mov eax, dword [esi + 0x100]
movzx edx, word [ebp - 0x5c]
lea edx, [edx + edx*4]
lea edx, [eax + edx*8]
mov eax, dword [ecx + eax + 0xc]
sub eax, dword [edx + 0xc]
mov dword [edx + 8], eax
mov edx, dword [esi + 0x100]
lea eax, [edx + ecx + 8]
cmp dword [eax], 0x1400000
jbe 0x4365a2
mov dword [eax], 0x1400000
mov eax, dword [esi + 0x100]
add eax, ecx
mov edx, dword [eax + 8]
cmp dword [eax + 0x10], edx
jbe 0x4365b5
mov dword [eax + 0x10], edx
mov edx, dword [esi + 0x100]
add ecx, edx
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
add eax, ecx
mov ecx, dword [ebp - 0x64]
cmp eax, ecx
jbe 0x4365d1
mov ecx, eax
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp ax, word [esi + 0xfe]
jb 0x436440
cmp ecx, dword [esi + 0x54]
je 0x4365ed
mov dword [esi + 0x54], ecx
mov bl, byte [ebp + 0xc]
test bl, 2
je 0x436606
mov al, byte [esi + 0xfc]
test al, al
jbe 0x436606
mov ecx, esi
call fcn.00434be0
test bl, 4
je 0x43661b
cmp byte [esi + 0xfc], 1
jbe 0x43661b
mov ecx, esi
call fcn.004352f0
test bl, 8
je 0x436627
mov ecx, esi
call fcn.00435ad0
test bl, 0x10
je 0x436633
mov ecx, esi
call fcn.00435c20
mov eax, 1
jmp 0x43664c
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x43664a
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0047b545
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10