Function at 0x10010680
Capabilities:
Enumerate pe sections
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push edi
xor edi, edi
push edi
push 0xe0
push esi
call fcn.100105b0
mov eax, 0x5a4d
add esp, 0xc
mov dword [esi], ebx
mov dword [esi + 4], edi
mov dword [esi + 0x10], ebx
cmp word [ebx], ax
jne 0x10010975
mov eax, dword [ebx + 0x3c]
add eax, ebx
cmp dword [eax], 0x4550
jne 0x10010975
cmp word [eax + 6], di
je 0x10010975
movzx ecx, word [eax + 0x14]
mov edx, 0xe0
cmp cx, dx
jne 0x100106e7
mov edx, 0x14c
cmp word [eax + 4], dx
jne 0x100106e7
mov edx, 0x10b
cmp word [eax + 0x18], dx
je 0x10010713
mov edx, 0xf0
cmp cx, dx
jne 0x10010975
mov ecx, 0x8664
cmp word [eax + 4], cx
jne 0x10010975
mov edx, 0x20b
cmp word [eax + 0x18], dx
jne 0x10010975
lea ecx, [ebx + 0x40]
mov dword [esi + 0x14], ecx
mov edx, dword [ebx + 0x3c]
sub edx, 0x40
mov ecx, 0x14c
mov dword [esi + 0x18], edx
cmp word [eax + 4], cx
jne 0x10010750
mov dword [esi + 0xc], edi
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edi
mov edx, dword [eax + 0x3c]
mov dword [esi + 0x28], edx
mov ecx, dword [eax + 0x38]
mov dword [esi + 0x2c], ecx
mov edx, dword [eax + 0x54]
mov dword [esi + 0x30], edx
lea edx, [eax + 0x78]
jmp 0x10010778
mov dword [esi + 0xc], 1
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], eax
mov edx, dword [eax + 0x3c]
mov dword [esi + 0x28], edx
mov ecx, dword [eax + 0x38]
mov dword [esi + 0x2c], ecx
mov edx, dword [eax + 0x54]
mov dword [esi + 0x30], edx
lea edx, [eax + 0x88]
mov dword [esi + 0x34], edx
movzx ecx, word [eax + 6]
mov dword [esi + 0x38], ecx
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
mov eax, edx
mov edx, dword [esi + 0x38]
mov dword [esi + 0x3c], ecx
lea edx, [edx + edx*4]
lea ecx, [ecx + edx*8]
mov dword [esi + 0x40], ecx
mov ecx, dword [eax]
cmp ecx, edi
je 0x100107ab
cmp dword [eax + 4], edi
je 0x100107ab
add ecx, ebx
mov dword [esi + 0x44], ecx
mov ecx, dword [eax + 8]
cmp ecx, edi
je 0x100107bc
cmp dword [eax + 0xc], edi
je 0x100107bc
add ecx, ebx
mov dword [esi + 0x48], ecx
mov ecx, dword [eax + 0x10]
cmp ecx, edi
je 0x100107cd
cmp dword [eax + 0x14], edi
je 0x100107cd
add ecx, ebx
mov dword [esi + 0x4c], ecx
cmp dword [eax + 0x18], edi
je 0x100107dd
cmp dword [eax + 0x1c], edi
je 0x100107dd
lea edx, [eax + 0x30]
mov dword [esi + 0x50], edx
cmp dword [eax + 0x20], edi
je 0x100107ed
cmp dword [eax + 0x24], edi
je 0x100107ed
lea ecx, [eax + 0x40]
mov dword [esi + 0x54], ecx
mov ecx, dword [eax + 0x28]
cmp ecx, edi
je 0x100107fe
cmp dword [eax + 0x2c], edi
je 0x100107fe
add ecx, ebx
mov dword [esi + 0x58], ecx
mov ecx, dword [eax + 0x30]
cmp ecx, edi
je 0x1001080f
cmp dword [eax + 0x34], edi
je 0x1001080f
add ecx, ebx
mov dword [esi + 0x5c], ecx
cmp dword [eax + 0x38], edi
je 0x1001081f
cmp dword [eax + 0x3c], edi
je 0x1001081f
lea edx, [eax + 0x70]
mov dword [esi + 0x60], edx
cmp dword [eax + 0x40], edi
je 0x10010832
cmp dword [eax + 0x44], edi
je 0x10010832
lea ecx, [eax + 0x80]
mov dword [esi + 0x64], ecx
mov ecx, dword [eax + 0x48]
cmp ecx, edi
je 0x10010850
cmp dword [eax + 0x4c], edi
je 0x10010850
add ecx, ebx
cmp dword [esi + 0xc], edi
je 0x1001084a
mov dword [esi + 0x70], ecx
jmp 0x10010850
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], ecx
mov ecx, dword [eax + 0x50]
cmp ecx, edi
je 0x1001086e
cmp dword [eax + 0x54], edi
je 0x1001086e
add ecx, ebx
cmp dword [esi + 0xc], edi
je 0x10010868
mov dword [esi + 0x7c], ecx
jmp 0x1001086e
mov dword [esi + 0x74], ecx
mov dword [esi + 0x78], ecx
mov ecx, dword [eax + 0x58]
cmp ecx, edi
je 0x10010882
cmp dword [eax + 0x5c], edi
je 0x10010882
add ecx, ebx
mov dword [esi + 0x80], ecx
mov edx, dword [eax + 0x60]
cmp edx, edi
je 0x100108ab
mov ecx, dword [eax + 0x64]
cmp ecx, edi
je 0x100108ab
add edx, ebx
mov dword [esi + 0x84], edx
add edx, ecx
mov dword [esi + 0x88], edx
mov dword [esi + 0x8c], ecx
jmp 0x1001093f
cmp dword [esi + 0x48], edi
je 0x1001093f
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
mov edi, dword [esi + 0x48]
cmp dword [edi], 0
je 0x1001093d
mov edi, edi
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x10010935
cmp dword [ecx + ebx], 0
lea edx, [ecx + ebx]
mov ecx, edx
je 0x100108ea
add ecx, 4
cmp dword [ecx], 0
jne 0x100108e2
cmp dword [esi + 0x84], edx
ja 0x100108fb
cmp dword [esi + 0x8c], 0
jne 0x10010901
mov dword [esi + 0x84], edx
sub ecx, edx
add ecx, 4
sar ecx, 2
lea ecx, [edx + ecx*4]
cmp dword [esi + 0x88], ecx
jb 0x1001091d
cmp dword [esi + 0x8c], 0
jne 0x10010923
mov dword [esi + 0x88], ecx
mov ecx, dword [esi + 0x88]
sub ecx, dword [esi + 0x84]
mov dword [esi + 0x8c], ecx
add edi, 0x14
cmp dword [edi], 0
jne 0x100108d0
xor edi, edi
cmp dword [eax + 0x68], edi
je 0x10010952
cmp dword [eax + 0x6c], edi
je 0x10010952
lea edx, [eax + 0xd0]
mov dword [esi + 0x64], edx
cmp dword [eax + 0x70], edi
je 0x10010967
cmp dword [eax + 0x74], edi
je 0x10010967
add eax, 0xe0
mov dword [esi + 0x94], eax
mov ecx, esi
call fcn.10010980
mov eax, 1
pop edi
ret
xor eax, eax
pop edi
ret