Function at 0x10005440
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov eax, 0x1818
call fcn.1000ec96
push ebx
push ebp
push esi
push edi
push ecx
push ecx
lea eax, [esp + 0x1030]
push eax
mov dword [esp + 0x1c], ecx
push ecx
mov ecx, dword [esp + 0x183c]
lea edx, [esp + 0x838]
call fcn.1000d110
xor esi, esi
push esi
push 0x8000000
push 3
push esi
push 1
push 0x80000000
push dword [esp + 0x1844]
call dword [0x144f09c]
mov edi, eax
cmp edi, 0xffffffff
je 0x100056ac
push esi
push edi
call dword [0x144f0a0]
mov ebx, eax
test ebx, ebx
je 0x100054d6
mov ecx, ebx
call fcn.1000ce1b
push 0
mov esi, eax
lea eax, [esp + 0x28]
push eax
push ebx
push esi
push edi
call dword [0x144f0a4]
test eax, eax
je 0x100054cb
cmp dword [esp + 0x24], ebx
je 0x100054d6
mov ecx, esi
call fcn.1000ce2b
xor esi, esi
xor ebx, ebx
push edi
call dword [0x144f074]
test esi, esi
je 0x100056ac
mov eax, 0x5a4d
xor edi, edi
xor edx, edx
cmp word [esi], ax
jne 0x10005535
mov ecx, dword [esi + 0x3c]
add ecx, esi
cmp dword [ecx], 0x4550
jne 0x10005535
movzx edx, word [ecx + 0x14]
movzx eax, word [ecx + 6]
add edx, 0x18
add edx, ecx
xor ebp, ebp
test eax, eax
je 0x10005532
mov eax, dword [edx + 0x24]
and eax, 0x60000020
cmp eax, 0x60000020
je 0x10005530
movzx eax, word [ecx + 6]
inc ebp
add edx, 0x28
cmp ebp, eax
jb 0x10005513
jmp 0x10005532
mov edi, edx
mov edx, dword [ecx + 0x28]
mov eax, dword [esp + 0x1830]
xor ecx, ecx
mov ebp, dword [eax + 0x3c]
and dword [esp + 0x14], ecx
add ebp, eax
mov dword [esp + 0x18], ebp
movzx eax, word [ebp + 0x14]
add ebp, 0x18
add ebp, eax
mov eax, dword [esp + 0x18]
movzx eax, word [eax + 6]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10005589
mov eax, dword [ebp + 0x24]
and eax, 0x60000020
cmp eax, 0x60000020
je 0x10005587
mov eax, dword [esp + 0x14]
inc eax
add ebp, 0x28
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x1c]
jb 0x10005564
jmp 0x10005589
mov ecx, ebp
test edi, edi
je 0x100056a5
test ecx, ecx
je 0x100056a5
mov eax, dword [edi + 0x10]
cmp eax, dword [ecx + 0x10]
jne 0x100055b6
mov eax, dword [esp + 0x18]
sub edx, dword [edi + 0xc]
mov eax, dword [eax + 0x28]
sub eax, dword [ecx + 0xc]
cmp edx, eax
je 0x100056a5
call dword [0x144f050]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
push dword [edi + 4]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x20]
push eax
mov edx, ebx
mov ecx, esi
call fcn.10007d95
mov edx, dword [edi + 4]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1c]
push eax
push ecx
push esi
push dword [esp + 0x20]
push dword [esp + 0x28]
push ecx
push dword [esp + 0x184c]
mov ecx, dword [edi]
call fcn.10002be2
test eax, eax
je 0x1000569c
lea edx, [esp + 0x828]
lea ecx, [esp + 0x28]
call fcn.1000cd43
mov edx, 0x144f36c
lea ecx, [esp + 0x28]
call fcn.1000cd71
lea edx, [esp + 0x1028]
lea ecx, [esp + 0x28]
call fcn.1000cd71
mov edx, 0x144f360
lea ecx, [esp + 0x28]
call fcn.1000cd71
xor ebx, ebx
push ebx
push 0x80
push 4
push ebx
push ebx
push 0x40000000
lea eax, [esp + 0x40]
push eax
call dword [0x144f09c]
mov edi, eax
cmp edi, 0xffffffff
je 0x10005693
push ebx
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x28]
mov dword [esp + 0x1c], ebx
push dword [esp + 0x24]
push edi
call dword [0x144f0a8]
push edi
call dword [0x144f0ac]
push edi
call dword [0x144f074]
mov ecx, dword [esp + 0x18]
call fcn.1000ce2b
mov ecx, dword [esp + 0x14]
call fcn.1000ce2b
mov ecx, esi
call fcn.1000ce2b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1818
ret 0xc