Function at 0x10164fb0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 8
lea eax, [esp]
push ebp
push edi
mov edi, dword [esp + 0x14]
push eax
push 0xcc
push edi
call fcn.100dc800
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x10165370
mov ecx, dword [esp + 8]
push esi
push 0x84
push ebp
lea eax, [ecx + 0x48]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x14]
push dword [eax + 4]
call fcn.10220d70
mov eax, dword [esp + 0x18]
add esp, 0xc
mov esi, dword [esp + 0x24]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x20]
mov dword [ecx + 0x18], eax
test byte [edi + 0x9c], 4
mov eax, dword [esp + 0xc]
jne 0x1016503c
movzx ecx, byte [esi + 3]
mov byte [eax], cl
mov eax, dword [esp + 0xc]
movzx ecx, byte [esi + 2]
mov byte [eax + 1], cl
mov eax, dword [esp + 0xc]
movzx ecx, byte [esi + 1]
mov byte [eax + 2], cl
mov eax, dword [esp + 0xc]
movzx ecx, byte [esi]
mov byte [eax + 3], cl
jmp 0x10165040
mov ecx, dword [esi]
mov dword [eax], ecx
test byte [edi + 0x9c], 4
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
jne 0x10165083
movzx eax, byte [esi + 7]
mov byte [ecx + 0xc], al
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
movzx eax, byte [esi + 6]
mov byte [ecx + 0xd], al
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
movzx eax, byte [esi + 5]
mov byte [ecx + 0xe], al
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
movzx eax, byte [esi + 4]
mov byte [ecx + 0xf], al
jmp 0x10165089
mov eax, dword [esi + 4]
mov dword [ecx + 0xc], eax
test byte [edi + 0x9c], 4
mov eax, dword [esp + 0xc]
jne 0x101650c0
movzx ecx, byte [esi + 0xb]
mov byte [eax + 8], cl
mov eax, dword [esp + 0xc]
movzx ecx, byte [esi + 0xa]
mov byte [eax + 9], cl
mov eax, dword [esp + 0xc]
movzx ecx, byte [esi + 9]
mov byte [eax + 0xa], cl
mov eax, dword [esp + 0xc]
movzx ecx, byte [esi + 8]
mov byte [eax + 0xb], cl
jmp 0x101650c6
mov ecx, dword [esi + 8]
mov dword [eax + 8], ecx
test byte [edi + 0x9c], 4
mov eax, dword [esp + 0xc]
jne 0x101650fd
movzx ecx, byte [esi + 0xf]
mov byte [eax + 0xc], cl
mov eax, dword [esp + 0xc]
movzx ecx, byte [esi + 0xe]
mov byte [eax + 0xd], cl
mov eax, dword [esp + 0xc]
movzx ecx, byte [esi + 0xd]
mov byte [eax + 0xe], cl
mov eax, dword [esp + 0xc]
movzx ecx, byte [esi + 0xc]
mov byte [eax + 0xf], cl
jmp 0x10165103
mov ecx, dword [esi + 0xc]
mov dword [eax + 0xc], ecx
test byte [edi + 0x9c], 4
jne 0x10165132
movzx eax, byte [esi + 0x13]
mov byte [esp + 0x10], al
movzx eax, byte [esi + 0x12]
mov byte [esp + 0x11], al
movzx eax, byte [esi + 0x11]
mov byte [esp + 0x12], al
movzx eax, byte [esi + 0x10]
mov byte [esp + 0x13], al
mov ecx, dword [esp + 0x10]
jmp 0x10165139
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x20]
mov dword [eax + 0x10], ecx
test ebx, ebx
je 0x10165167
mov eax, dword [esp + 0x10]
push 1
mov dword [ebx], 0
push dword [eax + 0x10]
push ebx
push dword [eax + 4]
push edi
call fcn.1015e610
add esp, 0x14
mov ebp, eax
test byte [edi + 0x9c], 4
jne 0x10165196
movzx eax, byte [esi + 0x17]
mov byte [esp + 0x14], al
movzx eax, byte [esi + 0x16]
mov byte [esp + 0x15], al
movzx eax, byte [esi + 0x15]
mov byte [esp + 0x16], al
movzx eax, byte [esi + 0x14]
mov byte [esp + 0x17], al
mov ecx, dword [esp + 0x14]
jmp 0x1016519d
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x10]
mov dword [eax + 0x14], ecx
test byte [edi + 0x9c], 4
mov eax, dword [esp + 0x10]
jne 0x101651db
movzx ecx, byte [esi + 0x1b]
mov byte [eax + 0x18], cl
mov eax, dword [esp + 0x10]
movzx ecx, byte [esi + 0x1a]
mov byte [eax + 0x19], cl
mov eax, dword [esp + 0x10]
movzx ecx, byte [esi + 0x19]
mov byte [eax + 0x1a], cl
mov eax, dword [esp + 0x10]
movzx ecx, byte [esi + 0x18]
mov byte [eax + 0x1b], cl
jmp 0x101651e1
mov ecx, dword [esi + 0x18]
mov dword [eax + 0x18], ecx
test byte [edi + 0x9c], 4
mov eax, dword [esp + 0x10]
jne 0x10165218
movzx ecx, byte [esi + 0x1f]
mov byte [eax + 0x1c], cl
mov eax, dword [esp + 0x10]
movzx ecx, byte [esi + 0x1e]
mov byte [eax + 0x1d], cl
mov eax, dword [esp + 0x10]
movzx ecx, byte [esi + 0x1d]
mov byte [eax + 0x1e], cl
mov eax, dword [esp + 0x10]
movzx ecx, byte [esi + 0x1c]
mov byte [eax + 0x1f], cl
jmp 0x1016521e
mov ecx, dword [esi + 0x1c]
mov dword [eax + 0x1c], ecx
test byte [edi + 0x9c], 4
jne 0x1016524d
movzx eax, byte [esi + 0x23]
mov byte [esp + 0x14], al
movzx eax, byte [esi + 0x22]
mov byte [esp + 0x15], al
movzx eax, byte [esi + 0x21]
mov byte [esp + 0x16], al
movzx eax, byte [esi + 0x20]
mov byte [esp + 0x17], al
mov ecx, dword [esp + 0x14]
jmp 0x10165254
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x10]
xorps xmm0, xmm0
mov dword [eax + 0x20], ecx
mov eax, dword [esp + 0x10]
movups xmmword [eax + 0x24], xmm0
movq qword [eax + 0x34], xmm0
mov dword [eax + 0x3c], 0
test byte [edi + 0x9c], 4
mov eax, dword [esp + 0x10]
jne 0x101652a9
movzx ecx, byte [esi + 0x27]
mov byte [eax + 0x28], cl
mov eax, dword [esp + 0x10]
movzx ecx, byte [esi + 0x26]
mov byte [eax + 0x29], cl
mov eax, dword [esp + 0x10]
movzx ecx, byte [esi + 0x25]
mov byte [eax + 0x2a], cl
mov eax, dword [esp + 0x10]
movzx ecx, byte [esi + 0x24]
mov byte [eax + 0x2b], cl
jmp 0x101652af
mov ecx, dword [esi + 0x24]
mov dword [eax + 0x28], ecx
mov eax, dword [esp + 0x10]
add esi, 0x28
mov dword [eax + 0x24], esi
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x28]
add esi, edx
test byte [edi + 0x9c], 4
jne 0x10165320
test ebx, ebx
je 0x101652f2
mov eax, dword [ebx]
test eax, eax
je 0x101652f2
push 1
push 0
push edx
push dword [ecx + 0x24]
push eax
call fcn.1013cc00
add esp, 0x14
test eax, eax
jne 0x1016536e
mov ecx, dword [esp + 0x10]
test byte [edi + 0x9c], 4
jne 0x10165320
movzx eax, byte [esi + 3]
mov byte [esp + 0x14], al
movzx eax, byte [esi + 2]
mov byte [esp + 0x15], al
movzx eax, byte [esi + 1]
mov byte [esp + 0x16], al
movzx eax, byte [esi]
mov byte [esp + 0x17], al
mov eax, dword [esp + 0x14]
jmp 0x10165326
mov eax, dword [esi]
mov dword [esp + 0x14], eax
mov dword [ecx + 0x40], eax
test byte [edi + 0x9c], 4
jne 0x10165358
movzx eax, byte [esi + 7]
mov byte [esp + 0x14], al
movzx eax, byte [esi + 6]
mov byte [esp + 0x15], al
movzx eax, byte [esi + 5]
mov byte [esp + 0x16], al
movzx eax, byte [esi + 4]
mov byte [esp + 0x17], al
mov ecx, dword [esp + 0x14]
jmp 0x1016535b
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov dword [eax + 0x44], ecx
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
mov dword [ecx], eax
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
add esp, 8
ret