Function at 0x41c74960
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
mov bx, word [esp + 0xc]
xor eax, eax
test bx, bx
setne al
push esi
push edi
mov esi, ecx
lea eax, [eax*8 + 0x4e]
lea edi, [eax + 3]
shr edi, 2
shl edi, 2
test edi, edi
mov dword [esp + 0x14], eax
mov eax, edi
jne 0x41c74991
mov eax, 1
push eax
call fcn.41c671c0
mov edx, eax
add esp, 4
test edx, edx
jne 0x41c749a5
call fcn.41c43850
xor eax, eax
mov ecx, edi
mov edi, edx
push ebp
mov ebp, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebp
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x14]
mov dword [eax], edx
mov byte [edx], bh
mov byte [edx + 1], bl
xor ecx, ecx
mov cx, word [esi + 2]
lea eax, [edx + 2]
add eax, 2
add eax, 2
add eax, 2
add eax, 2
add eax, 2
mov edx, ecx
sar edx, 8
mov byte [eax - 0xa], dl
mov byte [eax - 9], cl
mov cx, word [esi + 4]
mov byte [eax - 8], ch
mov byte [eax - 7], cl
mov cx, word [esi + 6]
mov byte [eax - 6], ch
mov byte [eax - 5], cl
xor ecx, ecx
mov cx, word [esi + 8]
add eax, 2
add eax, 2
add eax, 2
add eax, 2
add eax, 2
mov edx, ecx
sar edx, 8
mov byte [eax - 0xe], dl
mov byte [eax - 0xd], cl
xor ecx, ecx
mov cx, word [esi + 0xa]
mov edx, ecx
sar edx, 8
mov byte [eax - 0xc], dl
mov byte [eax - 0xb], cl
xor ecx, ecx
mov cx, word [esi + 0xc]
mov edx, ecx
sar edx, 8
mov byte [eax - 0xa], dl
mov byte [eax - 9], cl
xor ecx, ecx
mov cx, word [esi + 0xe]
mov edx, ecx
sar edx, 8
mov byte [eax - 8], dl
mov byte [eax - 7], cl
xor ecx, ecx
mov cx, word [esi + 0x10]
mov edx, ecx
sar edx, 8
mov byte [eax - 6], dl
mov byte [eax - 5], cl
xor ecx, ecx
mov cx, word [esi + 0x12]
mov edx, ecx
sar edx, 8
mov byte [eax - 4], dl
mov byte [eax - 3], cl
xor ecx, ecx
mov cx, word [esi + 0x14]
mov edx, ecx
sar edx, 8
mov byte [eax - 2], dl
mov byte [eax - 1], cl
xor ecx, ecx
mov cx, word [esi + 0x16]
mov edx, ecx
sar edx, 8
mov byte [eax], dl
mov byte [eax + 1], cl
xor ecx, ecx
mov cx, word [esi + 0x18]
add eax, 2
add eax, 2
add eax, 2
add eax, 2
add eax, 2
mov edx, ecx
sar edx, 8
mov byte [eax - 8], dl
mov byte [eax - 7], cl
xor ecx, ecx
mov cx, word [esi + 0x1a]
mov edx, ecx
sar edx, 8
mov byte [eax - 6], dl
mov byte [eax - 5], cl
xor ecx, ecx
mov cx, word [esi + 0x1c]
mov edx, ecx
sar edx, 8
mov byte [eax - 4], dl
mov byte [eax - 3], cl
xor ecx, ecx
mov cx, word [esi + 0x1e]
mov edx, ecx
sar edx, 8
mov byte [eax - 2], dl
mov byte [eax - 1], cl
mov edx, eax
lea ecx, [esi + 0x20]
mov edi, dword [ecx]
mov dword [edx], edi
mov edi, dword [ecx + 4]
mov dword [edx + 4], edi
mov cx, word [ecx + 8]
mov word [edx + 8], cx
mov ecx, dword [esi + 0x2c]
add eax, 0xa
mov edx, ecx
shr edx, 0x18
mov byte [eax], dl
mov byte [eax + 3], cl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 1], dl
mov edx, ecx
shr edx, 8
mov byte [eax + 2], dl
mov ecx, dword [esi + 0x30]
add eax, 4
mov edx, ecx
shr edx, 0x18
mov byte [eax], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 1], dl
mov byte [eax + 3], cl
mov edx, ecx
shr edx, 8
mov byte [eax + 2], dl
mov ecx, dword [esi + 0x34]
add eax, 4
mov edx, ecx
shr edx, 0x18
mov byte [eax], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 1], dl
mov edx, ecx
shr edx, 8
mov byte [eax + 2], dl
mov byte [eax + 3], cl
mov ecx, dword [esi + 0x38]
mov edx, ecx
add eax, 4
shr edx, 0x18
mov byte [eax], dl
mov byte [eax + 3], cl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 1], dl
mov edx, ecx
add eax, 4
add eax, 4
shr edx, 8
mov byte [eax - 6], dl
mov ecx, dword [esi + 0x3c]
mov dword [eax - 4], ecx
mov cx, word [esi + 0x40]
mov byte [eax], ch
mov byte [eax + 1], cl
mov cx, word [esi + 0x42]
mov byte [eax + 2], ch
mov byte [eax + 3], cl
mov cx, word [esi + 0x44]
add eax, 2
mov byte [eax + 2], ch
mov byte [eax + 3], cl
mov cx, word [esi + 0x46]
add eax, 2
mov byte [eax + 2], ch
mov byte [eax + 3], cl
mov cx, word [esi + 0x48]
add eax, 2
mov byte [eax + 2], ch
mov byte [eax + 3], cl
mov cx, word [esi + 0x4a]
add eax, 2
mov byte [eax + 2], ch
add eax, 2
mov byte [eax + 1], cl
mov cx, word [esi + 0x4c]
add eax, 2
mov byte [eax], ch
mov byte [eax + 1], cl
mov cx, word [esi + 0x4e]
add eax, 2
mov byte [eax], ch
mov byte [eax + 1], cl
add eax, 2
cmp bx, 1
pop ebp
jne 0x41c74c31
mov ecx, dword [esi + 0x50]
mov edx, ecx
shr edx, 0x18
mov byte [eax], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 1], dl
mov edx, ecx
shr edx, 8
mov byte [eax + 2], dl
mov byte [eax + 3], cl
mov ecx, dword [esi + 0x54]
add eax, 4
mov edx, ecx
shr edx, 0x18
mov byte [eax], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 1], dl
mov edx, ecx
shr edx, 8
mov byte [eax + 2], dl
mov byte [eax + 3], cl
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
ret 8