Function at 0x10003020
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x34
push ebx
mov ebx, dword [0x100491b8]
push ebp
push esi
mov esi, dword [0x100491a8]
mov ecx, 1
sub ecx, esi
imul ecx, ebx
mov dword [esp + 0x14], ecx
mov ecx, dword [0x100491a4]
imul ecx, dword [0x100491b4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov dword [esp + 0x18], edx
mov edx, dword [0x100491b0]
mov ebp, edx
imul ebp, dword [0x100491a4]
push edi
mov edi, dword [0x100491ac]
mov eax, edi
imul eax, esi
mov dword [esp + 0x28], eax
sub eax, ebp
mov ebp, dword [0x100491a4]
imul eax, esi
add ebp, edi
imul ebp, ebx
add eax, ebp
lea ebp, [edi + 1]
imul ebp, edx
sub eax, ebp
mov ebp, dword [0x100491b4]
lea edx, [esi + 1]
imul edx, ebp
sub eax, edx
lea eax, [eax + eax*2]
lea edx, [edi + edi]
sub eax, edx
lea edx, [eax + eax*4]
mov eax, dword [0x100491a4]
sub eax, esi
imul eax, ebp
mov ecx, ebx
imul ecx, esi
mov dword [esp + 0x20], ecx
inc ecx
mov ebp, eax
mov eax, dword [0x100491b0]
imul ecx, eax
imul eax, ebx
imul eax, esi
sub ebp, ecx
lea ecx, [edi + ebp - 1]
mov ebp, dword [0x100491b4]
imul ecx, ebp
lea edx, [ecx + edx*8]
mov ecx, dword [0x100491a4]
add ecx, 0xffffffd9
imul ecx, edi
add edx, ecx
mov ecx, esi
imul ecx, ecx, 0x7b
sub edx, ecx
mov ecx, dword [esp + 0x14]
sub ecx, eax
mov eax, ebp
imul eax, esi
add edx, dword [esp + 0x18]
sub ecx, eax
sub ecx, dword [0x100491b0]
mov eax, dword [0x100491a4]
lea ecx, [ecx + edi - 1]
inc eax
imul ecx, ebp
imul eax, edi
add ecx, eax
lea eax, [esi + esi*2]
sub ecx, eax
add ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
imul ecx, ecx, 0x1f0
movzx ecx, word [ecx + eax + 0x14]
add ecx, eax
test byte [0x1004bcf4], 1
lea edx, [ecx + edx*2 + 0x18]
mov ecx, dword [0x100491b0]
mov dword [esp + 0x10], edx
jne 0x10003175
mov eax, dword [esp + 0x14]
or dword [0x1004bcf4], 1
sub eax, ecx
inc eax
imul eax, dword [0x100491a4]
sub eax, esi
add eax, ecx
add eax, edi
lea eax, [eax + eax*4]
mov dword [0x1004bcf0], eax
mov edx, ebp
imul edx, edi
add edx, edx
mov eax, ebx
sub eax, edx
lea eax, [eax + ebx - 2]
imul eax, esi
add eax, dword [0x1004bcf0]
mov edx, dword [esp + 0x10]
or eax, dword [edx + 8]
mov edx, edi
mov dword [esp + 0x30], eax
imul edx, edi
mov eax, 2
sub eax, edx
sub eax, esi
imul eax, dword [0x100491a4]
imul eax, ebx
sub eax, esi
add eax, ecx
add eax, edi
lea eax, [eax + eax*4]
lea ecx, [edi + edi*4]
mov edx, 5
sub edx, ecx
mov ecx, dword [esp + 0x48]
imul edx, ebp
add eax, edx
mov edx, dword [ecx + 0x3c]
lea ecx, [eax + edx - 1]
mov eax, dword [0x100491b0]
lea edx, [eax + 1]
mov eax, dword [0x100491a4]
imul edx, ebp
imul eax, edi
add edx, eax
imul edx, dword [0x100491b0]
mov eax, ebx
neg eax
add eax, eax
sub eax, edx
sub eax, dword [esp + 0x28]
not ecx
add eax, ebp
lea edx, [eax + eax*2]
mov eax, dword [0x100491b0]
add ecx, edx
and ecx, dword [esp + 0x30]
lea edx, [ebx + ebx*2]
mov dword [esp + 0x34], ecx
mov ecx, 1
sub ecx, eax
sub ecx, ebx
imul ecx, edi
add eax, edi
add eax, eax
sub ecx, eax
lea eax, [ebp - 2]
imul eax, esi
add ecx, eax
mov eax, dword [esp + 0x48]
sub ecx, edx
imul ecx, ecx, 0xc8
add ecx, dword [esp + 0x10]
push eax
call fcn.10002b50
mov ecx, dword [0x100491b0]
sub ecx, esi
add ecx, dword [0x100491a4]
mov edx, ebp
imul edx, ebp
imul ecx, ebx
sub ecx, edx
lea eax, [eax + ecx*2]
mov ecx, dword [0x100491b0]
mov edx, ecx
imul edx, ecx
imul edx, esi
lea edx, [ebp + edx*2]
add esp, 4
add edx, ebp
imul edx, dword [0x100491a4]
lea ecx, [edi + edi]
sub edx, ecx
mov ecx, dword [0x100491a4]
imul edx, edi
add eax, edx
lea edx, [ecx + ecx - 2]
imul edx, esi
add eax, edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x24]
mov dword [esp + 0x3c], edx
lea edx, [ecx + edi]
lea edx, [edx + ebx + 2]
add ecx, 0xfffffffc
imul edx, esi
imul ecx, ebp
add eax, 0x28
mov dword [esp + 0x10], eax
sub ecx, edx
lea eax, [ebx + ebx]
sub ecx, eax
mov eax, dword [esp + 0x14]
lea edx, [eax*4]
mov eax, 4
sub eax, edx
mov edx, ecx
mov ecx, dword [0x100491b0]
imul eax, ecx
sub eax, 8
imul eax, ecx
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x1c]
movzx edx, word [edx + 6]
add eax, edx
cmp eax, 1
mov dword [esp + 0x40], 0
mov dword [esp + 0x18], 1
jg 0x10003336
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x30]
push ecx
push edx
mov dword [esp + 0x48], 1
call fcn.10002cb0
add esp, 8
pop edi
neg eax
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x34
ret
mov ecx, dword [0x100491b0]
lea eax, [ecx - 1]
mov edx, dword [0x100491a4]
imul eax, esi
sub eax, ebp
lea eax, [eax + ebx - 2]
imul eax, ecx
mov ecx, dword [esp + 0x14]
add ecx, edx
imul ecx, esi
add eax, ecx
lea ecx, [ebx - 1]
imul ecx, ebx
add eax, ecx
mov ecx, dword [esp + 0x10]
lea edx, [edi + 2]
imul edx, ebp
add edx, dword [ecx + 8]
sub eax, ebp
sub eax, ebp
sub eax, edi
add eax, dword [0x1004bcf0]
lea ecx, [ebx + ebx]
sub edx, ecx
mov ecx, dword [0x100491a4]
add edx, ecx
imul ecx, edi
add eax, esi
or eax, edx
mov edx, dword [0x100491b0]
inc edx
imul edx, ebp
add edx, ecx
imul edx, dword [0x100491b0]
mov dword [esp + 0x24], ecx
mov ecx, ebx
neg ecx
add ecx, ecx
sub ecx, edx
mov edx, edi
imul edx, esi
sub ecx, edx
mov edx, dword [esp + 0x48]
mov edx, dword [edx + 0x3c]
add ecx, ebp
lea ecx, [ecx + ecx*2]
dec edx
not edx
add ecx, edx
and ecx, eax
mov dword [esp + 0x1c], ecx
mov ecx, ebp
sub ecx, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x48]
add ecx, edi
imul ecx, ecx, 0xf0
add ecx, dword [esp + 0x10]
push eax
call fcn.10002b50
mov edx, 1
sub edx, esi
lea ecx, [edi + esi]
imul edx, ebp
imul ecx, edi
add ecx, edx
lea ecx, [ecx + ecx*4]
add eax, ecx
mov ecx, dword [esp + 0x20]
add esp, 4
mov dword [esp + 0x28], eax
cmp dword [esp + 0x34], ecx
je 0x100034e8
mov ebp, dword [0x100491a4]
lea edx, [ebx + ebx]
sub ebp, edx
add ebp, esi
lea edx, [edi + edi]
add ebp, edx
lea eax, [esi + esi]
mov edx, 2
sub edx, eax
imul edx, dword [0x100491b0]
add edx, ecx
mov ecx, 4
sub ecx, eax
mov eax, ebp
mov ebp, dword [0x100491b4]
imul ecx, ebp
lea edx, [edx + eax*2]
mov eax, dword [esp + 0x38]
add ecx, edx
mov edx, dword [esp + 0x30]
add eax, edx
cmp eax, ecx
ja 0x100034e8
mov edx, dword [esp + 0x48]
lea eax, [edi + edi*4]
lea ecx, [esp + eax*8 + 0x30]
push ecx
push edx
call fcn.10002cb0
add esp, 8
test eax, eax
je 0x1000362a
mov eax, dword [esp + 0x2c]
mov ebx, dword [0x100491b8]
mov esi, dword [0x100491a8]
mov ecx, dword [esp + 0x1c]
mov edi, dword [0x100491ac]
mov dword [esp + 0x30], eax
mov eax, ebx
imul eax, esi
mov dword [esp + 0x20], eax
inc eax
imul eax, esi
mov ebp, dword [0x100491b4]
mov dword [esp + 0x34], ecx
lea ecx, [edi + edi]
lea edx, [ecx + ebx*2 + 2]
imul edx, dword [0x100491b0]
add eax, edi
add eax, ebx
add eax, eax
sub eax, edx
add eax, dword [esp + 0x28]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x3c], ecx
mov ecx, dword [0x100491a4]
jmp 0x100035c8
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x24]
mov ecx, dword [esp + 0x24]
lea edx, [ebx + esi + 1]
imul edx, ebp
mov dword [esp + 0x14], eax
add edx, ecx
mov eax, 0x800000
sub eax, ebx
lea edx, [edx + eax*2]
mov eax, dword [esp + 0x14]
add edx, esi
add edx, edx
test eax, edx
je 0x10003552
mov eax, dword [0x100491b0]
mov ecx, dword [0x100491a4]
mov edx, esi
sub edx, eax
imul eax, ecx
imul edx, ebx
inc edx
imul edx, edi
sub edx, eax
mov eax, dword [esp + 0x3c]
sub edx, ebx
sub edx, esi
lea edx, [edx + edx + 0x2000000]
test eax, edx
je 0x1000354e
or eax, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
jmp 0x1000359c
mov ecx, dword [esp + 0x24]
mov eax, dword [0x100491b0]
mov edx, ecx
imul edx, ebx
add edx, edx
add eax, eax
sub edx, eax
imul edx, ebx
lea edx, [edx + esi*4]
sub edx, eax
add edx, 6
imul edx, esi
lea eax, [ecx + ecx - 6]
imul eax, dword [0x100491b0]
mov ecx, dword [0x100491a4]
add edx, eax
lea eax, [ebx + ebx]
sub edx, eax
mov eax, dword [esp + 0x14]
or eax, dword [esp + 0x3c]
sub edx, 0x2000001
and edx, eax
mov dword [esp + 0x3c], edx
lea edx, [ecx + 2]
imul edx, dword [0x100491b0]
mov eax, edi
sub eax, edx
lea edx, [ebx + ebx*2 + 9]
imul edx, ebp
add eax, ebx
lea eax, [eax + eax*2]
sub eax, edx
sub eax, dword [esp + 0x30]
add eax, dword [esp + 0x28]
add eax, dword [esp + 0x2c]
mov dword [esp + 0x38], eax
lea edx, [ecx + edi]
mov eax, ecx
add ecx, 0xfffffffc
imul eax, ebp
imul ecx, ebp
lea edx, [edx + ebx + 2]
imul edx, esi
sub ecx, edx
mov edx, ecx
mov dword [esp + 0x14], eax
add eax, eax
lea ecx, [ebx + ebx]
sub edx, ecx
add eax, eax
mov ecx, 4
sub ecx, eax
mov eax, dword [0x100491b0]
imul ecx, eax
inc dword [esp + 0x18]
add dword [esp + 0x10], 0x28
sub ecx, 8
imul ecx, eax
mov eax, dword [esp + 0x48]
lea edx, [ecx + edx*4]
mov ecx, dword [eax]
movzx eax, word [ecx + 6]
add edx, eax
cmp dword [esp + 0x18], edx
jl 0x10003330
jmp 0x10003308
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x34
ret