Function at 0x10005580
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
push ebx
mov ebx, dword [0x100d115c]
mov eax, ebx
push ebp
mov ebp, dword [0x100d1170]
push esi
mov esi, dword [0x100d1160]
imul eax, esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
lea edx, [ebp + ebp*2]
lea eax, [edx + 3]
imul eax, esi
add eax, 6
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
sub eax, ebx
imul eax, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
push edi
mov edi, dword [0x100d1164]
lea ebx, [edi + edi*2]
lea eax, [edx + ebx*2]
mov ebx, dword [esp + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x18]
lea eax, [eax + edx*4]
mov ecx, edi
imul ecx, dword [0x100d1168]
mov edx, ebp
shl edx, 5
sub edx, ebp
add edx, edx
sub eax, edx
mov edx, eax
mov eax, dword [0x100d116c]
add ebx, eax
sub edx, eax
add ecx, ecx
add ecx, ecx
lea eax, [ecx - 2]
mov dword [esp + 0x1c], edx
mov edx, dword [0x100d1168]
imul eax, edx
mov dword [esp + 0x20], ecx
add ebx, ebx
sub eax, ebx
mov ebx, dword [esp + 0x20]
lea ecx, [ebp + ebp*2]
sub eax, ecx
sub eax, ebp
mov ecx, eax
shl ecx, 5
sub ecx, eax
mov eax, dword [esp + 0x10]
movzx ecx, word [eax + ecx*8 + 0x14]
add ebx, 0xffffff86
add ecx, eax
imul ebx, edx
mov eax, dword [esp + 0x1c]
lea eax, [ecx + eax*2 + 0x18]
mov ecx, dword [esp + 0x10]
add ebx, eax
movzx eax, word [ecx + 6]
mov ecx, edi
imul ecx, esi
lea eax, [eax + ecx*2]
test eax, eax
mov dword [esp + 0x18], 0
jle 0x10005a02
add ebx, 0x10
jmp 0x10005686
mov edx, dword [0x100d1168]
mov eax, dword [ebx]
test eax, eax
jne 0x100057de
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x38]
test eax, eax
mov dword [esp + 0x10], eax
jle 0x100059da
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x34]
push ecx
lea eax, [ebp + edi*2]
add eax, esi
lea eax, [eax + eax*4 + 4]
push eax
mov eax, 1
sub eax, edx
imul eax, edi
mov edx, eax
mov eax, dword [0x100d115c]
lea ecx, [esi + 2]
imul ecx, eax
add edx, ecx
lea ecx, [ebp + ebp*2]
sub edx, ecx
mov ecx, dword [0x100d1168]
sub edx, ecx
add edx, esi
lea edx, [edx*4 + 0x1000]
push edx
lea edx, [ecx + ebp]
lea edx, [edx + esi + 1]
sub esi, eax
imul edx, ebp
imul esi, ecx
mov ecx, dword [esp + 0x1c]
sub esi, edx
add esi, edi
lea edx, [ecx + esi*4]
mov ecx, edi
imul edi, dword [0x100d116c]
imul ecx, eax
add ecx, 2
imul ecx, ebp
push edx
mov edx, dword [ebx - 4]
sub edi, ecx
mov ecx, dword [esp + 0x44]
lea eax, [edx + edi*2]
mov edi, dword [esp + 0x24]
mov edx, dword [ecx + 0x1c]
add eax, edi
push eax
call edx
add esp, 0x14
test eax, eax
je 0x10005a0f
mov ecx, dword [0x100d1160]
mov esi, dword [0x100d1170]
mov eax, dword [0x100d1168]
lea edx, [eax + esi]
lea edx, [edx + ecx + 1]
mov ebp, ecx
imul edx, esi
sub ebp, dword [0x100d115c]
imul ebp, eax
mov eax, dword [0x100d1164]
sub ebp, edx
mov edx, dword [ebx - 4]
add ebp, eax
lea edx, [edx + ebp*4]
add edx, edi
mov edi, dword [0x100d116c]
mov ebp, eax
imul ebp, edi
imul edi, ecx
add ebp, 1
imul ebp, eax
imul eax, dword [0x100d1168]
imul eax, esi
imul eax, ecx
lea edi, [edi + edi - 2]
imul edi, dword [0x100d1168]
lea edi, [edi + ebp*2]
imul edi, dword [0x100d116c]
mov ebp, 2
sub ebp, eax
mov eax, ecx
imul ebp, esi
imul eax, ecx
sub ebp, eax
lea ecx, [edi + ebp*2 - 1]
and ecx, edx
mov dword [ebx - 8], ecx
mov eax, dword [0x100d1164]
lea ecx, [eax + eax]
mov eax, dword [esp + 0x10]
sub eax, ecx
push eax
push 0
push edx
call dword [0x100d51d8]
add esp, 0xc
jmp 0x100059c8
mov eax, dword [0x100d116c]
mov ecx, eax
imul ecx, dword [0x100d115c]
mov dword [esp + 0x1c], ecx
lea edx, [ebp + ebp]
mov dword [esp + 0x10], edx
add ecx, 1
imul ecx, dword [0x100d1168]
lea edx, [eax + 3]
imul edx, esi
sub edx, ecx
lea ecx, [edi + edi]
sub edx, ecx
mov ecx, dword [ebx]
sub edx, eax
add edx, dword [esp + 0x10]
add eax, esi
add edx, dword [0x100d115c]
lea ecx, [ecx + edx*2]
mov edx, dword [esp + 0x2c]
add ecx, dword [ebx + 4]
lea eax, [edx + eax*2]
push eax
call fcn.10005540
add esp, 4
test eax, eax
je 0x10005a0f
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x34]
lea ecx, [edi + edi]
push eax
mov dword [esp + 0x24], ecx
mov ecx, dword [0x100d116c]
mov eax, ecx
sub eax, edi
sub eax, ebp
lea edx, [eax + eax*4 + 4]
push edx
mov edx, edi
imul edx, edi
mov eax, dword [0x100d1168]
imul edx, esi
sub edx, dword [esp + 0x24]
sub edx, eax
imul edx, edi
mov edi, 0x200
sub edi, eax
lea eax, [edx + edi*2]
mov edi, ecx
imul edi, ecx
imul edi, ecx
add eax, eax
add eax, eax
mov edx, eax
mov eax, dword [0x100d115c]
imul edi, eax
imul edi, esi
lea edi, [edi*4 + 4]
imul edi, ebp
sub edx, edi
push edx
mov edx, dword [esp + 0x2c]
lea edi, [edx + esi*2 + 2]
imul edi, ecx
mov ecx, dword [0x100d1168]
imul ecx, eax
lea ecx, [ecx + ecx - 4]
imul ecx, eax
mov eax, dword [esp + 0x40]
add edx, 2
imul edx, esi
add edi, ecx
mov ecx, dword [eax + 0x1c]
sub edi, edx
add edi, dword [ebx]
mov edx, dword [ebx - 4]
add edi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x24]
add edx, edi
push edx
call ecx
add esp, 0x14
test eax, eax
je 0x10005a0f
mov esi, dword [ebx - 4]
mov eax, dword [0x100d1164]
mov edx, dword [0x100d116c]
add esi, edi
mov edi, dword [0x100d1160]
mov ebp, 1
sub ebp, edi
imul ebp, eax
lea ecx, [eax*4]
mov eax, dword [0x100d115c]
lea ebp, [edx + ebp + 3]
imul ebp, edi
lea edi, [eax + 1]
mov eax, dword [0x100d1170]
imul edi, eax
imul eax, edx
lea eax, [eax*4 + 8]
sub eax, ecx
imul eax, edx
sub ebp, edi
mov edi, dword [0x100d1168]
add edi, edi
sub ebp, edi
lea edx, [eax + ebp*4]
mov eax, dword [ebx + 4]
add eax, dword [esp + 0x28]
sub edx, ecx
add edx, dword [ebx]
push edx
push eax
push esi
call dword [0x100d522c]
mov eax, dword [0x100d1168]
mov ebp, dword [0x100d1164]
mov ecx, dword [0x100d1160]
mov edi, eax
imul edi, eax
mov eax, dword [0x100d115c]
imul ebp, eax
sub ebp, edi
mov edi, dword [0x100d1170]
sub ebp, edi
sub eax, edi
lea edx, [ecx + ecx*2]
add ebp, 2
imul ebp, ecx
mov ecx, dword [0x100d116c]
add ebp, dword [0x100d1164]
add eax, 3
imul eax, ecx
add eax, ebp
lea eax, [eax + eax*4 - 1]
and eax, esi
lea esi, [edx - 3]
imul esi, ecx
mov ecx, 3
sub ecx, edx
imul ecx, dword [0x100d1168]
add eax, esi
add esp, 0xc
add eax, ecx
mov dword [ebx - 8], eax
mov edi, dword [0x100d1164]
mov ebp, dword [0x100d1170]
mov esi, dword [0x100d1160]
mov edx, dword [esp + 0x34]
mov ecx, dword [edx]
movzx edx, word [ecx + 6]
mov eax, dword [esp + 0x18]
mov ecx, edi
imul ecx, esi
add eax, 1
lea edx, [edx + ecx*2]
add ebx, 0x28
cmp eax, edx
mov dword [esp + 0x18], eax
jl 0x10005680
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret