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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
push edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], 0
push 0x118
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [0x10059150]
test eax, eax
je 0x76f86b
xor eax, eax
jmp 0x76fb32
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [edx]
sub ecx, dword [eax + 4]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov ax, word [edx]
cmp eax, 0x5a4d
jne 0x76f8a5
mov ecx, dword [ebp - 0x30]
cmp dword [ecx], 0x4550
je 0x76f8ac
xor eax, eax
jmp 0x76fb32
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x78]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x7c]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
je 0x76f8df
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x18], 0
je 0x76f8df
mov edx, dword [ebp - 8]
cmp dword [edx + 0x14], 0
jne 0x76f8e6
xor eax, eax
jmp 0x76fb32
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x20]
add eax, dword [edx + 0x20]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x10], edx
cmp dword [ebp + 0xc], 0xffff
jbe 0x76f96b
mov dword [ebp - 0x24], 0
jmp 0x76f925
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x24]
cmp edx, dword [ecx + 0x18]
jae 0x76f969
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
add eax, dword [edx + ecx*4]
push eax
call fcn.0076f2fa
add esp, 8
test eax, eax
je 0x76f967
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
xor eax, eax
mov ax, word [edx + ecx*2]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x18], edx
jmp 0x76f969
jmp 0x76f91c
jmp 0x76f986
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
sub ecx, dword [eax + 0x10]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x28]
jb 0x76fae0
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 4]
cmp dword [ebp - 0x18], eax
jae 0x76fae0
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x244], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x243]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x140], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x13f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x248], ecx
mov dword [ebp - 0x38], 0
push 0x103
mov edx, dword [ebp - 0x248]
push edx
lea eax, [ebp - 0x244]
push eax
call dword [0x10059368]
add esp, 0xc
push 0x2e
lea ecx, [ebp - 0x244]
push ecx
call dword [0x1005936c]
add esp, 8
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x76fa28
xor eax, eax
jmp 0x76fb32
push 0x103
mov edx, dword [ebp - 0x38]
add edx, 1
push edx
lea eax, [ebp - 0x140]
push eax
call dword [0x10059368]
add esp, 0xc
mov ecx, dword [ebp - 0x38]
mov byte [ecx + 1], 0
push 0x100658a4
lea edx, [ebp - 0x244]
push edx
call fcn.0074be78
add esp, 8
lea eax, [ebp - 0x244]
push eax
call dword [0x10059124]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x76fac0
mov dword [ebp - 0x24c], 0
lea ecx, [ebp - 0x244]
push ecx
call dword [0x10059128]
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x24c]
mov eax, dword [ebp - 0x2c]
cmp dword [eax + edx*4 + 0x14], 0
je 0x76fab0
mov ecx, dword [ebp - 0x24c]
add ecx, 1
mov dword [ebp - 0x24c], ecx
jmp 0x76fa8f
mov edx, dword [ebp - 0x24c]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x3c]
mov dword [eax + edx*4 + 0x14], ecx
cmp dword [ebp - 0x3c], 0
jne 0x76faca
xor eax, eax
jmp 0x76fb32
lea edx, [ebp - 0x140]
push edx
mov eax, dword [ebp - 0x3c]
push eax
call dword [0x1005912c]
mov dword [ebp - 0x18], eax
jmp 0x76fb2f
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.0076f773
add esp, 8
test eax, eax
je 0x76fb2f
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xc]
push ecx
call dword [0x10059124]
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
jne 0x76fb20
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
push eax
call dword [0x10059060]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x250]
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
pop edi
mov esp, ebp
pop ebp
ret