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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov eax, dword [0x48370c]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x68]
xor ebx, ebx
mov dword [esp + 0xb4], eax
mov eax, dword [esi + 0x64]
push ebx
push edi
mov dword [esp + 0x2c], eax
mov dword [esi + 0x84], ebx
call fcn.00427590
add esp, 8
cmp eax, ebx
mov dword [esp + 0xc], eax
jne 0x4413be
lea ecx, [esp + 0x14]
push ecx
push 0x47ae60
push edi
call fcn.00428990
add esp, 0xc
cmp eax, ebx
jne 0x4413be
cmp word [esp + 0x14], 0x5a4d
mov dword [esp + 0xc], 2
jne 0x4413b3
movzx edx, word [esp + 0x16]
push edx
push edi
call fcn.00427590
add esp, 8
cmp eax, ebx
mov dword [esp + 0xc], eax
jne 0x4413be
lea eax, [esp + 0x1c]
push eax
push 0x47ae74
push edi
call fcn.00428990
add esp, 0xc
cmp eax, ebx
jne 0x4413be
mov cx, word [esp + 0x1c]
cmp cx, 0x454e
mov eax, 2
mov dword [esp + 0xc], eax
jne 0x440f50
movzx eax, word [esp + 0x1e]
movzx ecx, word [esp + 0x16]
add eax, ecx
push eax
push edi
mov dword [esp + 0x18], ebx
call fcn.00427590
add esp, 8
cmp eax, ebx
mov dword [esp + 0xc], eax
jne 0x4413be
movzx edx, word [esp + 0x20]
movzx eax, word [esp + 0x1e]
sub edx, eax
push edx
push edi
call fcn.004288a0
add esp, 8
cmp eax, ebx
mov dword [esp + 0xc], eax
jne 0x4413be
push edi
call fcn.00427770
push edi
mov dword [esp + 0x20], eax
call fcn.00427770
add esp, 8
mov esi, eax
test si, si
je 0x440e58
push edi
call fcn.00427770
add esp, 4
cmp si, 0x8008
push edi
je 0x440e3e
mov esi, dword [edi + 0x20]
movzx eax, ax
lea ecx, [eax + eax*2]
lea edx, [ecx*4 + 4]
add esi, edx
mov dword [edi + 0x20], esi
call fcn.00427770
add esp, 4
mov esi, eax
test si, si
jne 0x440e07
jmp 0x440e58
mov ebx, eax
call fcn.00427610
mov edx, dword [edi + 0x24]
mov ecx, dword [edi + 0x20]
add esp, 4
sub ecx, edx
lea edx, [eax + ecx + 4]
mov dword [esp + 0x10], edx
push edi
call fcn.00428960
add esp, 4
test bx, bx
je 0x441375
mov eax, dword [esp + 0x10]
test eax, eax
je 0x441375
mov edx, dword [edi + 4]
movzx eax, bx
mov ecx, eax
imul ecx, ecx, 0x76
cmp ecx, edx
ja 0x441375
mov ebx, dword [ebp + 0xc]
cmp ebx, eax
mov esi, dword [ebp + 8]
mov dword [esi], eax
jge 0x441392
mov eax, dword [esp + 0x24]
lea edx, [esp + 0xc]
push edx
push 0xac
push eax
call fcn.00428b80
mov dword [esi + 0x84], eax
mov eax, dword [esp + 0x18]
add esp, 0xc
test eax, eax
jne 0x4413be
mov edx, dword [esp + 0x10]
lea ecx, [ebx + ebx*2]
lea eax, [edx + ecx*4]
push eax
push edi
call fcn.00427590
add esp, 8
test eax, eax
mov dword [esp + 0xc], eax
jne 0x4413b0
push 0xc
push edi
call fcn.004288a0
add esp, 8
test eax, eax
mov dword [esp + 0xc], eax
jne 0x4413b0
movzx esi, word [esp + 0x18]
push edi
call fcn.00427770
mov ebx, dword [ebp + 8]
movzx edx, ax
mov eax, dword [ebx + 0x84]
mov ecx, esi
shl edx, cl
push edi
mov dword [eax], edx
call fcn.00427770
movzx edx, ax
mov eax, dword [ebx + 0x84]
mov ecx, esi
shl edx, cl
push edi
mov dword [eax + 0xa4], edx
add dword [edi + 0x20], 8
call fcn.00428960
mov eax, dword [ebx + 0x84]
add esp, 0xc
call fcn.00440c20
mov dword [esp + 0xc], eax
jmp 0x44136c
cmp cx, 0x4550
jne 0x44136f
movzx ecx, word [esp + 0x16]
push ecx
push edi
call fcn.00427590
add esp, 8
cmp eax, ebx
mov dword [esp + 0xc], eax
jne 0x4413be
lea edx, [esp + 0x44]
push edx
push 0x47ae8c
push edi
call fcn.00428990
add esp, 0xc
cmp eax, ebx
mov dword [esp + 0xc], eax
jne 0x4413be
cmp dword [esp + 0x44], 0x4550
jne 0x441375
cmp word [esp + 0x48], 0x14c
jne 0x441375
cmp word [esp + 0x4c], 0xe0
jne 0x441375
cmp word [esp + 0x4e], 0x10b
jne 0x441375
mov dword [esi], ebx
xor esi, esi
cmp word [esp + 0x4a], si
jbe 0x441375
lea esp, [esp]
lea eax, [esp + 0xa0]
push eax
push 0x47aec0
push edi
call fcn.00428990
add esp, 0xc
test eax, eax
mov dword [esp + 0xc], eax
jne 0x4413be
mov ecx, dword [esp + 0x50]
cmp ecx, dword [esp + 0xa8]
je 0x44102f
inc esi
cmp si, word [esp + 0x4a]
jb 0x440fe0
mov eax, 3
mov ecx, dword [esp + 0xb4]
call fcn.0040e729
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0xb0]
push edx
push edi
call fcn.00427590
add esp, 8
test eax, eax
mov dword [esp + 0xc], eax
jne 0x4413be
lea eax, [esp + 0x78]
push eax
push 0x47aee0
push edi
call fcn.00428990
add esp, 0xc
test eax, eax
mov dword [esp + 0xc], eax
jne 0x4413be
mov ecx, dword [esp + 0xb0]
movzx edx, word [esp + 0x86]
mov dword [esp + 0x10], ecx
movzx ecx, word [esp + 0x84]
add edx, ecx
test edx, edx
mov dword [esp + 0x18], eax
jle 0x44136c
xor ecx, ecx
mov edx, dword [esp + 0x10]
lea eax, [edx + ecx*8 + 0x10]
push eax
push edi
call fcn.00427590
add esp, 8
test eax, eax
mov dword [esp + 0xc], eax
jne 0x4413be
lea ecx, [esp + 0x3c]
push ecx
push 0x47af00
push edi
call fcn.00428990
add esp, 0xc
test eax, eax
mov dword [esp + 0xc], eax
jne 0x4413be
mov eax, dword [esp + 0x40]
test eax, eax
jns 0x441375
mov edx, dword [esp + 0xb0]
and eax, 0x7fffffff
lea esi, [eax + edx]
push esi
push edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], esi
call fcn.00427590
add esp, 8
test eax, eax
mov dword [esp + 0xc], eax
jne 0x4413be
lea eax, [esp + 0x68]
push eax
push 0x47aee0
push edi
call fcn.00428990
add esp, 0xc
test eax, eax
mov dword [esp + 0xc], eax
jne 0x4413be
movzx ecx, word [esp + 0x76]
movzx edx, word [esp + 0x74]
add ecx, edx
test ecx, ecx
mov dword [esp + 0x28], eax
jle 0x441346
xor ecx, ecx
lea eax, [esi + ecx*8 + 0x10]
push eax
push edi
call fcn.00427590
add esp, 8
test eax, eax
mov dword [esp + 0xc], eax
jne 0x4413be
lea ecx, [esp + 0x30]
push ecx
push 0x47af00
push edi
call fcn.00428990
add esp, 0xc
test eax, eax
mov dword [esp + 0xc], eax
jne 0x4413be
mov eax, dword [esp + 0x34]
test eax, eax
jns 0x441375
mov edx, dword [esp + 0xb0]
and eax, 0x7fffffff
lea ebx, [eax + edx]
push ebx
push edi
mov dword [esp + 0x3c], eax
call fcn.00427590
add esp, 8
test eax, eax
mov dword [esp + 0xc], eax
jne 0x4413be
lea eax, [esp + 0x58]
push eax
push 0x47aee0
push edi
call fcn.00428990
add esp, 0xc
test eax, eax
mov dword [esp + 0xc], eax
jne 0x4413be
movzx ecx, word [esp + 0x66]
movzx edx, word [esp + 0x64]
add ecx, edx
test ecx, ecx
mov dword [esp + 0x2c], eax
jle 0x441326
xor ecx, ecx
lea esp, [esp]
lea eax, [ebx + ecx*8 + 0x10]
push eax
push edi
call fcn.00427590
add esp, 8
test eax, eax
mov dword [esp + 0xc], eax
jne 0x4413be
lea ecx, [esp + 0x88]
push ecx
push 0x47af00
push edi
call fcn.00428990
add esp, 0xc
test eax, eax
mov dword [esp + 0xc], eax
jne 0x4413be
mov ecx, dword [esp + 0x34]
test ecx, ecx
js 0x441375
cmp dword [esp + 0x3c], 8
jne 0x441302
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x10]
add edx, eax
push edx
push edi
call fcn.00427590
add esp, 8
test eax, eax
mov dword [esp + 0xc], eax
jne 0x4413be
lea ecx, [esp + 0x90]
push ecx
push 0x47af10
push edi
call fcn.00428990
add esp, 0xc
test eax, eax
mov dword [esp + 0xc], eax
jne 0x4413be
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
cmp edx, dword [esi]
jne 0x441300
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0xc]
push eax
push 0xac
push ecx
call fcn.00428b80
mov ecx, eax
mov eax, dword [esp + 0x18]
add esp, 0xc
test eax, eax
mov dword [esi + 0x84], ecx
jne 0x4413be
mov eax, dword [esp + 0xa8]
mov edx, dword [esp + 0x90]
sub edx, eax
add edx, dword [esp + 0xb0]
mov dword [ecx], edx
mov eax, dword [esi + 0x84]
mov ecx, dword [esp + 0x94]
mov dword [eax + 0xa4], ecx
mov eax, dword [esi + 0x84]
call fcn.00440c20
test eax, eax
mov dword [esp + 0xc], eax
jne 0x4413b0
inc dword [esi]
mov ecx, dword [esp + 0x2c]
movzx edx, word [esp + 0x66]
movzx esi, word [esp + 0x64]
inc ecx
mov dword [esp + 0x2c], ecx
movzx ecx, cx
add edx, esi
cmp ecx, edx
jl 0x4411f0
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
movzx edx, word [esp + 0x76]
movzx ebx, word [esp + 0x74]
inc ecx
mov dword [esp + 0x28], ecx
movzx ecx, cx
add edx, ebx
cmp ecx, edx
jl 0x441145
mov ecx, dword [esp + 0x18]
movzx edx, word [esp + 0x86]
movzx esi, word [esp + 0x84]
inc ecx
mov dword [esp + 0x18], ecx
movzx ecx, cx
add edx, esi
cmp ecx, edx
jl 0x441096
mov esi, dword [ebp + 8]
mov ecx, dword [esi]
test ecx, ecx
jne 0x44138d
mov eax, 3
mov ecx, dword [esp + 0xb4]
call fcn.0040e729
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0xc], ecx
jl 0x4413aa
mov eax, 0x84
mov ecx, dword [esp + 0xb4]
call fcn.0040e729
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x4413be
jmp 0x4413b3
mov esi, dword [ebp + 8]
mov edi, esi
call fcn.00440bc0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xb4]
call fcn.0040e729
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret