Function at 0x10019a10
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x28]
push ebx
push ebp
push esi
mov ecx, dword [eax + 4]
mov esi, dword [esp + 0x30]
push edi
xor edi, edi
mov ebx, dword [ecx]
mov eax, dword [esi + 0x60]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], edi
mov ebp, dword [eax + 0x18]
mov dl, byte [eax + 0x34]
mov eax, dword [eax]
sub eax, 2
mov dword [esp + 0x24], ebp
cmp eax, 3
cmovg eax, edi
mov eax, dword [esi + eax*4 + 0x4c]
mov dword [esp + 0x1c], eax
cmp dword [ecx + 8], edi
jbe 0x10019c8d
movzx eax, byte [esp + 0x3c]
movzx ebp, dl
mov dword [esp + 0x14], ebp
mov dword [esp + 0x28], eax
nop word [eax + eax]
movzx edx, word [ebx + 2]
mov ecx, dword [esi + 0x34]
movzx edi, word [ebx]
mov eax, dword [esi]
imul ecx, edx
mov dword [esp + 0x18], 0
add ecx, edi
lea esi, [eax + ecx*4]
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x60]
mov ebx, dword [eax + 0x24]
mov eax, dword [esp + 0x38]
imul ebx, edx
mov ecx, dword [eax + 0x1c]
add ecx, edx
imul ecx, dword [eax + 0x14]
add ebx, edi
imul ebx, ebp
add ecx, edi
add ecx, dword [eax + 0x18]
mov eax, dword [eax + 8]
add ebx, dword [esp + 0x24]
lea ebp, [eax + ecx*4]
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax + 6]
imul ecx, dword [esp + 0x28]
movzx eax, word [eax + 4]
add ecx, 0xff
shr ecx, 8
cmp cl, 0xff
jne 0x10019b95
xor ecx, ecx
cmp cx, ax
jae 0x10019c61
push ebx
call dword [esp + 0x20]
mov ecx, dword [ebp]
lea esi, [esi + 4]
mov edx, dword [esi - 4]
lea ebp, [ebp + 4]
mov edi, ecx
movzx eax, al
and ecx, 0xff00ff
shr edi, 8
imul ecx, eax
and edi, 0xff00ff
imul edi, eax
add esp, 4
add ebx, dword [esp + 0x14]
add ecx, 0xff00ff
shr ecx, 8
add edi, 0xff00ff
and ecx, 0xff00ff
and edi, 0xff00ff00
add edi, ecx
mov ecx, edx
shr ecx, 8
and edx, 0xff00ff
and ecx, 0xff00ff
mov eax, edi
not eax
shr eax, 0x18
imul ecx, eax
imul edx, eax
mov eax, dword [esp + 0x10]
add ecx, 0xff00ff
add edx, 0xff00ff
and ecx, 0xff00ff00
shr edx, 8
add ecx, edi
and edx, 0xff00ff
add edx, ecx
mov ecx, dword [esp + 0x18]
mov dword [esi - 4], edx
inc ecx
movzx eax, word [eax + 4]
mov dword [esp + 0x18], ecx
cmp ecx, eax
jb 0x10019ae8
jmp 0x10019c61
xor edx, edx
cmp dx, ax
jae 0x10019c61
movzx edi, cl
mov dword [esp + 0x2c], edi
push ebx
call dword [esp + 0x20]
mov ecx, dword [ebp]
lea esi, [esi + 4]
movzx eax, al
lea ebp, [ebp + 4]
imul eax, edi
add esp, 4
mov edx, dword [esi - 4]
mov edi, ecx
and ecx, 0xff00ff
shr edi, 8
and edi, 0xff00ff
add ebx, dword [esp + 0x14]
add eax, 0xff
shr eax, 8
movzx eax, al
imul ecx, eax
imul edi, eax
add ecx, 0xff00ff
shr ecx, 8
add edi, 0xff00ff
and ecx, 0xff00ff
and edi, 0xff00ff00
add edi, ecx
mov ecx, edx
shr ecx, 8
mov eax, edi
and ecx, 0xff00ff
and edx, 0xff00ff
not eax
shr eax, 0x18
imul ecx, eax
imul edx, eax
mov eax, dword [esp + 0x10]
add ecx, 0xff00ff
add edx, 0xff00ff
and ecx, 0xff00ff00
shr edx, 8
add ecx, edi
mov edi, dword [esp + 0x2c]
and edx, 0xff00ff
add edx, ecx
mov ecx, dword [esp + 0x18]
mov dword [esi - 4], edx
inc ecx
movzx eax, word [eax + 4]
mov dword [esp + 0x18], ecx
cmp ecx, eax
jb 0x10019ba7
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
inc ecx
mov ebp, dword [esp + 0x14]
add ebx, 8
mov eax, dword [eax + 4]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], ebx
cmp ecx, dword [eax + 8]
jb 0x10019a70
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x20
ret