Function at 0x499a80
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
cmp dword [esi], 0
push ebx
push ebp
push edi
mov ebx, eax
jne 0x499a9b
push esi
call fcn.0049a0d0
test al, al
je 0x49a0c9
cmp dword [esi + 4], 0
jne 0x499ab1
push 0x144
call fcn.004fc111
add esp, 4
mov dword [esi + 4], eax
mov ecx, ebx
mov eax, ebx
shr ecx, 0x10
shr eax, 8
movzx ecx, cl
movzx eax, al
xor edi, edi
mov dword [esp + 0x18], ecx
movzx ebx, bl
mov dword [esp + 0x14], eax
lea ecx, [edi + 0xc]
mov edx, dword [esi]
movzx eax, byte [edi + edx]
mov dword [esp + 0x10], eax
mov edx, ebx
imul edx, eax
mov dword [esp + 0x1c], edx
mov eax, 0x80808081
imul edx
mov ebp, edx
add ebp, dword [esp + 0x1c]
sar ebp, 7
mov eax, ebp
shr eax, 0x1f
add eax, ebp
movzx eax, al
mov ebp, eax
mov eax, dword [esp + 0x10]
mov edx, eax
shl edx, 8
or ebp, edx
mov edx, dword [esp + 0x14]
imul edx, eax
mov dword [esp + 0x1c], edx
shl ebp, 8
mov dword [esp + 0x20], ebp
mov eax, 0x80808081
imul edx
mov ebp, edx
add ebp, dword [esp + 0x1c]
sar ebp, 7
mov eax, ebp
shr eax, 0x1f
add eax, ebp
movzx edx, al
mov eax, dword [esp + 0x20]
or eax, edx
mov edx, dword [esp + 0x18]
imul edx, dword [esp + 0x10]
shl eax, 8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov eax, 0x80808081
imul edx
mov ebp, edx
add ebp, dword [esp + 0x20]
sar ebp, 7
mov eax, ebp
shr eax, 0x1f
add eax, ebp
movzx edx, al
mov eax, dword [esp + 0x1c]
or eax, edx
mov edx, dword [esi + 4]
mov dword [ecx + edx - 0xc], eax
mov eax, dword [esi]
movzx eax, byte [eax + edi + 1]
mov edx, ebx
imul edx, eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], eax
mov eax, 0x80808081
imul edx
mov ebp, edx
add ebp, dword [esp + 0x20]
sar ebp, 7
mov edx, ebp
shr edx, 0x1f
add edx, ebp
movzx eax, dl
mov ebp, eax
mov eax, dword [esp + 0x10]
mov edx, eax
shl edx, 8
or ebp, edx
mov edx, dword [esp + 0x14]
shl ebp, 8
imul edx, eax
mov dword [esp + 0x20], edx
mov eax, 0x80808081
imul edx
mov dword [esp + 0x1c], ebp
mov ebp, edx
add ebp, dword [esp + 0x20]
sar ebp, 7
mov eax, ebp
shr eax, 0x1f
add eax, ebp
movzx edx, al
mov eax, dword [esp + 0x1c]
or eax, edx
mov edx, dword [esp + 0x18]
imul edx, dword [esp + 0x10]
shl eax, 8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov eax, 0x80808081
imul edx
mov ebp, edx
add ebp, dword [esp + 0x20]
sar ebp, 7
mov eax, ebp
shr eax, 0x1f
add eax, ebp
movzx edx, al
mov eax, dword [esp + 0x1c]
or eax, edx
mov edx, dword [esi + 4]
mov dword [ecx + edx - 8], eax
mov eax, dword [esi]
movzx eax, byte [eax + edi + 2]
mov dword [esp + 0x10], eax
mov edx, ebx
imul edx, eax
mov dword [esp + 0x20], edx
mov eax, 0x80808081
imul edx
mov ebp, edx
add ebp, dword [esp + 0x20]
sar ebp, 7
mov edx, ebp
shr edx, 0x1f
add edx, ebp
movzx eax, dl
mov ebp, eax
mov eax, dword [esp + 0x10]
mov edx, eax
shl edx, 8
or ebp, edx
mov edx, dword [esp + 0x14]
imul edx, eax
mov dword [esp + 0x20], edx
mov eax, 0x80808081
imul edx
shl ebp, 8
mov dword [esp + 0x1c], ebp
mov ebp, edx
add ebp, dword [esp + 0x20]
sar ebp, 7
mov eax, ebp
shr eax, 0x1f
add eax, ebp
movzx edx, al
mov eax, dword [esp + 0x1c]
or eax, edx
mov edx, dword [esp + 0x18]
imul edx, dword [esp + 0x10]
shl eax, 8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov eax, 0x80808081
imul edx
mov ebp, edx
add ebp, dword [esp + 0x20]
sar ebp, 7
mov eax, ebp
shr eax, 0x1f
add eax, ebp
movzx edx, al
mov eax, dword [esp + 0x1c]
or eax, edx
mov edx, dword [esi + 4]
mov dword [ecx + edx - 4], eax
mov eax, dword [esi]
movzx eax, byte [eax + edi + 3]
mov dword [esp + 0x10], eax
mov edx, ebx
imul edx, eax
mov dword [esp + 0x20], edx
mov eax, 0x80808081
imul edx
mov ebp, edx
add ebp, dword [esp + 0x20]
sar ebp, 7
mov edx, ebp
shr edx, 0x1f
add edx, ebp
movzx eax, dl
mov ebp, eax
mov eax, dword [esp + 0x10]
mov edx, eax
shl edx, 8
or ebp, edx
mov edx, dword [esp + 0x14]
imul edx, eax
mov dword [esp + 0x20], edx
shl ebp, 8
mov dword [esp + 0x1c], ebp
mov eax, 0x80808081
imul edx
mov ebp, edx
add ebp, dword [esp + 0x20]
sar ebp, 7
mov eax, ebp
shr eax, 0x1f
add eax, ebp
movzx edx, al
mov eax, dword [esp + 0x1c]
or eax, edx
mov edx, dword [esp + 0x18]
imul edx, dword [esp + 0x10]
shl eax, 8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov eax, 0x80808081
imul edx
mov ebp, edx
add ebp, dword [esp + 0x20]
sar ebp, 7
mov eax, ebp
shr eax, 0x1f
add eax, ebp
movzx edx, al
mov eax, dword [esp + 0x1c]
or eax, edx
mov edx, dword [esi + 4]
mov dword [ecx + edx], eax
mov eax, dword [esi]
movzx eax, byte [eax + edi + 4]
mov edx, ebx
imul edx, eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], eax
mov eax, 0x80808081
imul edx
mov ebp, edx
add ebp, dword [esp + 0x20]
sar ebp, 7
mov edx, ebp
shr edx, 0x1f
add edx, ebp
movzx eax, dl
mov ebp, eax
mov eax, dword [esp + 0x10]
mov edx, eax
shl edx, 8
or ebp, edx
mov edx, dword [esp + 0x14]
shl ebp, 8
imul edx, eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ebp
mov eax, 0x80808081
imul edx
mov ebp, edx
add ebp, dword [esp + 0x20]
sar ebp, 7
mov eax, ebp
shr eax, 0x1f
add eax, ebp
movzx edx, al
mov eax, dword [esp + 0x1c]
or eax, edx
mov edx, dword [esp + 0x18]
imul edx, dword [esp + 0x10]
shl eax, 8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov eax, 0x80808081
imul edx
mov ebp, edx
add ebp, dword [esp + 0x20]
sar ebp, 7
mov eax, ebp
shr eax, 0x1f
add eax, ebp
movzx edx, al
mov eax, dword [esp + 0x1c]
or eax, edx
mov edx, dword [esi + 4]
mov dword [ecx + edx + 4], eax
mov eax, dword [esi]
movzx eax, byte [eax + edi + 5]
mov dword [esp + 0x10], eax
mov edx, ebx
imul edx, eax
mov dword [esp + 0x20], edx
mov eax, 0x80808081
imul edx
mov ebp, edx
add ebp, dword [esp + 0x20]
sar ebp, 7
mov edx, ebp
shr edx, 0x1f
add edx, ebp
movzx eax, dl
mov ebp, eax
mov eax, dword [esp + 0x10]
mov edx, eax
shl edx, 8
or ebp, edx
mov edx, dword [esp + 0x14]
imul edx, eax
mov dword [esp + 0x20], edx
mov eax, 0x80808081
imul edx
shl ebp, 8
mov dword [esp + 0x1c], ebp
mov ebp, edx
add ebp, dword [esp + 0x20]
sar ebp, 7
mov eax, ebp
shr eax, 0x1f
add eax, ebp
movzx edx, al
mov eax, dword [esp + 0x1c]
or eax, edx
mov edx, dword [esp + 0x18]
imul edx, dword [esp + 0x10]
shl eax, 8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov eax, 0x80808081
imul edx
mov ebp, edx
add ebp, dword [esp + 0x20]
sar ebp, 7
mov eax, ebp
shr eax, 0x1f
add eax, ebp
movzx edx, al
mov eax, dword [esp + 0x1c]
or eax, edx
mov edx, dword [esi + 4]
mov dword [ecx + edx + 8], eax
mov eax, dword [esi]
movzx eax, byte [eax + edi + 6]
mov dword [esp + 0x10], eax
mov edx, ebx
imul edx, eax
mov dword [esp + 0x20], edx
mov eax, 0x80808081
imul edx
mov ebp, edx
add ebp, dword [esp + 0x20]
sar ebp, 7
mov edx, ebp
shr edx, 0x1f
add edx, ebp
movzx eax, dl
mov ebp, eax
mov eax, dword [esp + 0x10]
mov edx, eax
shl edx, 8
or ebp, edx
mov edx, dword [esp + 0x14]
imul edx, eax
mov dword [esp + 0x20], edx
shl ebp, 8
mov eax, 0x80808081
imul edx
mov dword [esp + 0x1c], ebp
mov ebp, edx
add ebp, dword [esp + 0x20]
sar ebp, 7
mov eax, ebp
shr eax, 0x1f
add eax, ebp
movzx edx, al
mov eax, dword [esp + 0x1c]
or eax, edx
mov edx, dword [esp + 0x18]
imul edx, dword [esp + 0x10]
shl eax, 8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov eax, 0x80808081
imul edx
mov ebp, edx
add ebp, dword [esp + 0x20]
sar ebp, 7
mov eax, ebp
shr eax, 0x1f
add eax, ebp
movzx edx, al
mov eax, dword [esp + 0x1c]
or eax, edx
mov edx, dword [esi + 4]
mov dword [ecx + edx + 0xc], eax
mov eax, dword [esi]
movzx eax, byte [eax + edi + 7]
mov edx, ebx
imul edx, eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], eax
mov eax, 0x80808081
imul edx
mov ebp, edx
add ebp, dword [esp + 0x20]
sar ebp, 7
mov edx, ebp
shr edx, 0x1f
add edx, ebp
movzx eax, dl
mov ebp, eax
mov eax, dword [esp + 0x10]
mov edx, eax
shl edx, 8
or ebp, edx
mov edx, dword [esp + 0x14]
imul edx, eax
mov dword [esp + 0x20], edx
shl ebp, 8
mov dword [esp + 0x1c], ebp
mov eax, 0x80808081
imul edx
mov ebp, edx
add ebp, dword [esp + 0x20]
sar ebp, 7
mov eax, ebp
shr eax, 0x1f
add eax, ebp
movzx edx, al
mov eax, dword [esp + 0x1c]
or eax, edx
mov edx, dword [esp + 0x18]
imul edx, dword [esp + 0x10]
shl eax, 8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov eax, 0x80808081
imul edx
mov ebp, edx
add ebp, dword [esp + 0x20]
sar ebp, 7
mov eax, ebp
shr eax, 0x1f
add eax, ebp
movzx edx, al
mov eax, dword [esp + 0x1c]
or eax, edx
mov edx, dword [esi + 4]
mov dword [ecx + edx + 0x10], eax
mov eax, dword [esi]
movzx eax, byte [eax + edi + 8]
mov dword [esp + 0x10], eax
mov edx, ebx
imul edx, eax
mov dword [esp + 0x20], edx
mov eax, 0x80808081
imul edx
mov ebp, edx
add ebp, dword [esp + 0x20]
sar ebp, 7
mov edx, ebp
shr edx, 0x1f
add edx, ebp
movzx eax, dl
mov ebp, eax
mov eax, dword [esp + 0x10]
mov edx, eax
shl edx, 8
or ebp, edx
mov edx, dword [esp + 0x14]
imul edx, eax
mov dword [esp + 0x20], edx
mov eax, 0x80808081
imul edx
shl ebp, 8
mov dword [esp + 0x1c], ebp
mov ebp, edx
add ebp, dword [esp + 0x20]
sar ebp, 7
mov eax, ebp
shr eax, 0x1f
add eax, ebp
movzx edx, al
mov eax, dword [esp + 0x1c]
or eax, edx
mov edx, dword [esp + 0x18]
imul edx, dword [esp + 0x10]
shl eax, 8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov eax, 0x80808081
imul edx
mov ebp, edx
add ebp, dword [esp + 0x20]
sar ebp, 7
mov eax, ebp
shr eax, 0x1f
add eax, ebp
movzx edx, al
mov eax, dword [esp + 0x1c]
or eax, edx
mov edx, dword [esi + 4]
mov dword [ecx + edx + 0x14], eax
add ecx, 0x24
add edi, 9
cmp ecx, 0x150
jl 0x499ad1
pop edi
pop ebp
pop ebx
add esp, 0x18
ret