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

Disassembly:
push esi
push edi
push 0x118
mov esi, edx
mov edi, ecx
push 0
push esi
call fcn.10010690
mov eax, 0x5a4d
mov dword [esi], edi
add esp, 0xc
mov dword [esi + 4], 0
mov dword [esi + 0x10], edi
cmp word [edi], ax
je 0x100042b1
pop edi
xor eax, eax
pop esi
ret
mov edx, dword [edi + 0x3c]
add edx, edi
push ebx
cmp dword [edx], 0x4550
jne 0x1000459a
cmp word [edx + 6], 0
je 0x1000459a
movzx eax, word [edx + 0x14]
mov ecx, 0xe0
lea ebx, [ecx + 0x6c]
cmp ax, cx
jne 0x100042f0
cmp word [edx + 4], bx
jne 0x100042f0
mov ecx, 0x10b
cmp word [edx + 0x18], cx
je 0x1000431c
mov ecx, 0xf0
cmp ax, cx
jne 0x1000459a
mov eax, 0x8664
cmp word [edx + 4], ax
jne 0x1000459a
mov eax, 0x20b
cmp word [edx + 0x18], ax
jne 0x1000459a
lea eax, [edi + 0x40]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x3c]
sub eax, 0x40
mov dword [esi + 0x18], eax
cmp word [edx + 4], bx
jne 0x1000434a
mov dword [esi + 0xc], 0
lea ecx, [edx + 0x78]
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], 0
jmp 0x10004368
mov dword [esi + 0xc], 1
lea ecx, [edx + 0x88]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], edx
mov eax, dword [edx + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edx + 0x3c]
mov dword [esi + 0x2c], eax
mov eax, dword [edx + 0x38]
mov dword [esi + 0x30], eax
mov eax, dword [edx + 0x54]
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], ecx
movzx eax, word [edx + 6]
mov dword [esi + 0x3c], eax
movzx eax, word [edx + 0x14]
add edx, 0x18
add edx, eax
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x40], edx
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
mov dword [esi + 0x44], eax
mov eax, dword [ecx]
test eax, eax
je 0x100043b3
cmp dword [ecx + 4], 0
je 0x100043b3
add eax, edi
mov dword [esi + 0x48], eax
mov eax, dword [ecx + 8]
test eax, eax
je 0x100043c5
cmp dword [ecx + 0xc], 0
je 0x100043c5
add eax, edi
mov dword [esi + 0x4c], eax
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x100043d7
cmp dword [ecx + 0x14], 0
je 0x100043d7
add eax, edi
mov dword [esi + 0x50], eax
add ecx, 0x18
cmp dword [ecx], 0
je 0x100043e8
cmp dword [ecx + 4], 0
je 0x100043e8
mov dword [esi + 0x54], ecx
add ecx, 8
cmp dword [ecx], 0
je 0x100043f9
cmp dword [ecx + 4], 0
je 0x100043f9
mov dword [esi + 0x58], ecx
mov eax, dword [ecx + 8]
test eax, eax
je 0x1000440b
cmp dword [ecx + 0xc], 0
je 0x1000440b
add eax, edi
mov dword [esi + 0x5c], eax
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x1000441d
cmp dword [ecx + 0x14], 0
je 0x1000441d
add eax, edi
mov dword [esi + 0x60], eax
add ecx, 0x18
cmp dword [ecx], 0
je 0x1000442e
cmp dword [ecx + 4], 0
je 0x1000442e
mov dword [esi + 0x64], ecx
add ecx, 8
cmp dword [ecx], 0
je 0x1000443f
cmp dword [ecx + 4], 0
je 0x1000443f
mov dword [esi + 0x68], ecx
mov eax, dword [ecx + 8]
test eax, eax
je 0x1000445f
cmp dword [ecx + 0xc], 0
je 0x1000445f
add eax, edi
cmp dword [esi + 0xc], 0
je 0x10004459
mov dword [esi + 0x74], eax
jmp 0x1000445f
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x10004482
cmp dword [ecx + 0x14], 0
je 0x10004482
add eax, edi
cmp dword [esi + 0xc], 0
je 0x1000447c
mov dword [esi + 0x80], eax
jmp 0x10004482
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x10004497
cmp dword [ecx + 0x1c], 0
je 0x10004497
add eax, edi
mov dword [esi + 0x84], eax
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x100044c0
mov edx, dword [ecx + 0x24]
test edx, edx
je 0x100044c0
add eax, edi
mov dword [esi + 0x90], edx
mov dword [esi + 0x88], eax
add eax, edx
mov dword [esi + 0x8c], eax
jmp 0x1000455d
cmp dword [esi + 0x4c], 0
je 0x1000455d
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov ebx, dword [esi + 0x4c]
cmp dword [ebx], 0
je 0x1000455d
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x10004555
cmp dword [eax + edi], 0
lea edx, [eax + edi]
mov eax, edx
je 0x1000450a
add eax, 4
cmp dword [eax], 0
jne 0x10004502
cmp dword [esi + 0x88], edx
ja 0x1000451b
cmp dword [esi + 0x90], 0
jne 0x10004521
mov dword [esi + 0x88], edx
sub eax, edx
add eax, 4
sar eax, 2
lea eax, [edx + eax*4]
cmp dword [esi + 0x8c], eax
jb 0x1000453d
cmp dword [esi + 0x90], 0
jne 0x10004543
mov dword [esi + 0x8c], eax
mov eax, dword [esi + 0x8c]
sub eax, dword [esi + 0x88]
mov dword [esi + 0x90], eax
add ebx, 0x14
cmp dword [ebx], 0
jne 0x100044f0
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x10004572
cmp dword [ecx + 0x2c], 0
je 0x10004572
add eax, edi
mov dword [esi + 0x94], eax
cmp dword [ecx + 0x30], 0
je 0x1000458a
cmp dword [ecx + 0x34], 0
je 0x1000458a
lea eax, [ecx + 0xa0]
mov dword [esi + 0x98], eax
mov ecx, esi
call fcn.100045a0
pop ebx
pop edi
mov eax, 1
pop esi
ret
pop ebx
pop edi
xor eax, eax
pop esi
ret