Function at 0x10017a40
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, dword [esp + 0x14]
push edi
mov ecx, dword [esi + 0x38]
mov edi, dword [esi + 0x30]
mov ebx, dword [esi + 0x34]
lea edx, [edi + ecx]
cmp edx, ecx
jae 0x10017a5b
inc ebx
mov eax, ebx
mov byte [esp + 0xf], bl
shr eax, 0x18
mov byte [esp + 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0xd], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0xe], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x10], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x11], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x12], al
mov byte [esp + 0x13], dl
cmp ecx, 0x1b8
jne 0x10017abe
lea eax, [edi - 8]
push 0
mov dword [esi + 0x30], eax
lea eax, [esp + 0x24]
push 8
push eax
push esi
call fcn.10017d40
add esp, 0x10
jmp 0x10017b45
jge 0x10017aee
test ecx, ecx
jne 0x10017acb
mov dword [esi + 0x3c], 1
lea eax, [edx - 0x1b8]
mov dword [esi + 0x30], eax
mov eax, 0x1b8
sub eax, ecx
cdq
push edx
push eax
push 0x1004a8c0
push esi
call fcn.10017d40
add esp, 0x10
jmp 0x10017b2f
lea eax, [edx - 0x200]
mov dword [esi + 0x30], eax
mov eax, 0x200
sub eax, ecx
cdq
push edx
push eax
push 0x1004a8c0
push esi
call fcn.10017d40
add dword [esi + 0x30], 0xfffffe48
push 0
push 0x1b8
push 0x1004a8c1
push esi
call fcn.10017d40
add esp, 0x20
mov dword [esi + 0x3c], 1
push 0
push 8
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.10017d40
add esp, 0x10
add dword [esi + 0x30], 0xfffffff8
add dword [esi + 0x30], 0xffffffc0
lea eax, [esp + 0xc]
push 0
push 0x40
push eax
push esi
call fcn.10017d40
mov ecx, dword [esp + 0x2c]
add esp, 0x10
movzx eax, byte [esi + 3]
mov byte [ecx], al
movzx eax, byte [esi + 2]
mov byte [ecx + 1], al
mov eax, dword [esi]
shr eax, 8
mov byte [ecx + 2], al
movzx eax, byte [esi]
mov byte [ecx + 3], al
movzx eax, byte [esi + 7]
mov byte [ecx + 4], al
movzx eax, byte [esi + 6]
mov byte [ecx + 5], al
mov eax, dword [esi + 4]
shr eax, 8
mov byte [ecx + 6], al
movzx eax, byte [esi + 4]
mov byte [ecx + 7], al
movzx eax, byte [esi + 0xb]
mov byte [ecx + 8], al
movzx eax, byte [esi + 0xa]
mov byte [ecx + 9], al
mov eax, dword [esi + 8]
shr eax, 8
mov byte [ecx + 0xa], al
movzx eax, byte [esi + 8]
mov byte [ecx + 0xb], al
movzx eax, byte [esi + 0xf]
mov byte [ecx + 0xc], al
movzx eax, byte [esi + 0xe]
mov byte [ecx + 0xd], al
mov eax, dword [esi + 0xc]
shr eax, 8
mov byte [ecx + 0xe], al
movzx eax, byte [esi + 0xc]
mov byte [ecx + 0xf], al
movzx eax, byte [esi + 0x13]
mov byte [ecx + 0x10], al
movzx eax, byte [esi + 0x12]
mov byte [ecx + 0x11], al
mov eax, dword [esi + 0x10]
shr eax, 8
mov byte [ecx + 0x12], al
movzx eax, byte [esi + 0x10]
mov byte [ecx + 0x13], al
movzx eax, byte [esi + 0x17]
mov byte [ecx + 0x14], al
movzx eax, byte [esi + 0x16]
mov byte [ecx + 0x15], al
mov eax, dword [esi + 0x14]
shr eax, 8
mov byte [ecx + 0x16], al
movzx eax, byte [esi + 0x14]
mov byte [ecx + 0x17], al
movzx eax, byte [esi + 0x1b]
mov byte [ecx + 0x18], al
movzx eax, byte [esi + 0x1a]
mov byte [ecx + 0x19], al
mov eax, dword [esi + 0x18]
shr eax, 8
mov byte [ecx + 0x1a], al
movzx eax, byte [esi + 0x18]
mov byte [ecx + 0x1b], al
movzx eax, byte [esi + 0x1f]
mov byte [ecx + 0x1c], al
movzx eax, byte [esi + 0x1e]
mov byte [ecx + 0x1d], al
mov eax, dword [esi + 0x1c]
shr eax, 8
mov byte [ecx + 0x1e], al
movzx eax, byte [esi + 0x1c]
mov byte [ecx + 0x1f], al
pop edi
pop esi
pop ebx
add esp, 8
ret