Function at 0x10005ff0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x30
mov edx, dword [esp + 0x34]
mov edx, dword [edx]
mov eax, dword [0x100d1160]
mov ecx, dword [0x100d1170]
imul ecx, eax
mov dword [esp + 8], edx
mov edx, dword [0x100d115c]
imul eax, edx
push ebx
mov ebx, dword [0x100d1168]
push ebp
imul ecx, ebx
push esi
imul ecx, ebx
mov esi, dword [0x100d116c]
imul eax, esi
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
add eax, eax
push edi
mov edi, dword [0x100d1164]
mov ebp, edi
sub ebp, eax
add ebp, 0x28
imul ebp, dword [0x100d1170]
mov eax, edx
sub eax, esi
add eax, 1
lea eax, [eax + eax*4]
lea eax, [ebp + eax*8]
lea ebp, [ecx + 0x29]
imul eax, edi
imul ebp, esi
sub edx, ebp
mov ebp, edx
mov edx, dword [0x100d115c]
imul ebp, edx
add eax, ebp
mov ebp, esi
imul ebp, ebp, 0x29
sub eax, ebp
sub eax, dword [0x100d1160]
add ecx, 1
sub eax, ebx
imul ecx, esi
add eax, 8
lea ebp, [eax + eax*2]
mov eax, edx
sub eax, ecx
lea ecx, [eax + eax*2]
mov eax, ecx
mov ecx, dword [0x100d1170]
sub eax, edi
imul eax, edx
mov edx, dword [0x100d1160]
mov dword [esp + 0x24], eax
lea eax, [ecx + edx]
mov edx, dword [esp + 0x24]
add eax, esi
add eax, ebx
lea eax, [eax + eax*2]
sub edx, eax
mov eax, edi
imul eax, ecx
mov ecx, dword [0x100d115c]
mov dword [esp + 0x24], eax
lea eax, [ecx + eax*2]
add eax, dword [esp + 0x24]
imul eax, edi
add edx, eax
mov eax, dword [esp + 0x18]
imul edx, edx, 0xf8
movzx edx, word [edx + eax + 0x14]
add edx, eax
mov eax, dword [0x100d1170]
mov ecx, eax
shl ecx, 4
sub ecx, eax
lea ecx, [ecx*8 - 3]
imul ecx, eax
add edx, ebp
add ecx, edx
test byte [0x100d5254], 1
mov dword [esp + 0x10], ecx
jne 0x10006120
or dword [0x100d5254], 1
mov ecx, eax
sub ecx, edi
lea edx, [ecx + ecx*2]
mov dword [0x100d5250], edx
mov ebp, eax
imul ebp, eax
mov edx, 2
sub edx, esi
imul edx, eax
lea ecx, [ebx + 2]
imul ecx, dword [0x100d1160]
add edx, ecx
mov ecx, dword [0x100d115c]
mov eax, 2
sub eax, ebp
mov ebp, dword [0x100d1160]
lea ebp, [ebp*4 - 4]
imul ebp, ecx
lea eax, [ebp + eax*4]
mov ebp, dword [0x100d1170]
imul eax, edi
add eax, dword [0x100d5250]
sub edx, esi
add edx, ecx
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x10]
or eax, dword [edx + 8]
mov edx, ecx
mov ecx, dword [0x100d1160]
sub edx, ebp
add edx, 3
imul edx, esi
sub edx, ecx
lea ecx, [ecx + ecx + 2]
imul ecx, edi
sub edx, ebx
add edx, edx
sub edx, ecx
mov ecx, dword [0x100d1160]
lea ecx, [ecx + ecx - 4]
imul ecx, ebp
add edx, ecx
mov ecx, dword [esp + 0x44]
add edx, dword [ecx + 0x3c]
mov dword [esp + 0x2c], eax
push edx
push eax
call fcn.10005430
mov edx, ebx
imul edx, ebx
mov dword [esp + 0x38], eax
lea eax, [esi + edx*2]
lea ecx, [eax + esi + 2]
mov eax, dword [0x100d1160]
imul ecx, dword [0x100d115c]
mov edx, eax
imul edx, eax
imul edx, eax
lea edx, [edx + edx + 2]
imul edx, eax
sub ecx, edx
lea eax, [ebp + ebp]
mov edx, eax
mov eax, esi
sub eax, edx
mov edx, dword [esp + 0x18]
lea eax, [eax + eax*2]
add ecx, eax
lea eax, [ecx + edi*4]
sub eax, esi
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x4c]
lea ecx, [edx + ecx*8]
push eax
call fcn.10005b40
mov ecx, ebp
imul ecx, dword [0x100d115c]
add ecx, 1
imul ecx, ebx
mov edx, edi
sub edx, ecx
mov ecx, dword [0x100d1160]
sub edx, ecx
add esp, 0xc
add eax, edx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x24]
mov dword [esp + 0x38], edx
lea edx, [edi + 1]
imul edx, ebp
add eax, 0x28
mov dword [esp + 0x10], eax
mov eax, dword [0x100d115c]
add edx, edx
add eax, eax
sub eax, edx
imul eax, dword [0x100d115c]
lea edx, [ecx - 2]
imul edx, ebx
sub edx, ebp
sub edx, esi
add edx, edi
lea eax, [eax + edx*2]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x3c], 0
movzx edx, word [edx + 6]
add eax, edx
cmp eax, 1
mov dword [esp + 0x24], 1
jg 0x100062b8
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x2c]
push eax
push ecx
mov dword [esp + 0x44], 1
call fcn.10005c70
add esp, 8
pop edi
neg eax
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x30
ret
mov ecx, dword [0x100d1160]
mov eax, esi
imul eax, esi
mov dword [esp + 0x28], eax
lea eax, [eax + edi + 2]
imul eax, ecx
mov edx, dword [0x100d5250]
lea ecx, [edi + 1]
imul ecx, esi
sub eax, ecx
sub eax, ebp
add eax, ebx
lea ecx, [eax + edx]
mov dword [esp + 0x20], eax
lea edx, [ebx + ebx*4]
mov eax, 5
sub eax, edx
imul eax, dword [0x100d115c]
mov edx, dword [esp + 0x20]
lea ecx, [ecx + edx*4]
add eax, ecx
mov edx, edi
imul edx, esi
sub edx, ebx
lea ecx, [ebp + ebp]
add edx, ecx
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 8]
lea edx, [ecx + edx*2]
or eax, edx
lea ecx, [edi + edi*2]
mov edx, 3
sub edx, ecx
imul edx, esi
lea ecx, [ebx + ebx*2]
lea edx, [edx + ecx - 3]
mov ecx, dword [0x100d115c]
imul edx, edi
imul ecx, esi
sub ecx, ebx
add ecx, ebp
lea ecx, [ecx + ecx*2]
add edx, ecx
mov dword [esp + 0x1c], edx
mov ecx, edx
lea edx, [esi + esi*2 - 3]
imul edx, dword [0x100d1160]
add ecx, edx
mov edx, dword [esp + 0x44]
mov edx, dword [edx + 0x3c]
mov dword [esp + 0x20], eax
sub edx, 1
not edx
add ecx, edx
and ecx, eax
mov eax, dword [0x100d115c]
add eax, eax
add eax, 0xfffffffe
imul eax, ebp
mov dword [esp + 0x14], ecx
mov ecx, dword [0x100d1160]
lea edx, [eax + ecx*2 + 4]
mov eax, esi
imul edx, edi
sub eax, ebp
sub eax, ebx
imul eax, esi
sub eax, ebp
add eax, ebx
lea eax, [edx + eax*2]
mov edx, dword [esp + 0x10]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x44]
lea ecx, [edx + ecx*8]
push eax
call fcn.10005b40
lea ecx, [esi + esi - 2]
imul ecx, ebp
lea edx, [ecx + edi*2 + 6]
add esp, 4
imul edx, dword [0x100d1160]
lea ecx, [ebx + ebx + 4]
imul ecx, esi
sub edx, ecx
mov ecx, dword [esp + 0x14]
add eax, edx
lea edx, [ebx + ebx - 2]
imul edx, edi
add eax, edx
cmp dword [esp + 0x30], ecx
mov dword [esp + 0x18], eax
je 0x100064d2
mov edx, dword [0x100d1160]
lea eax, [edi - 1]
imul eax, esi
add eax, 1
imul eax, esi
add edx, edx
sub eax, edx
add eax, dword [0x100d115c]
mov edx, dword [esp + 0x2c]
add eax, ecx
mov ecx, dword [esp + 0x34]
add ecx, edx
cmp ecx, eax
ja 0x100064ce
mov edx, edi
mov eax, ebp
imul edx, ebx
imul eax, ebp
mov ecx, 3
sub ecx, eax
mov eax, dword [0x100d1160]
sub ecx, edi
imul ecx, dword [0x100d115c]
lea edx, [edx + eax + 3]
imul edx, eax
add ecx, edx
mov edx, dword [esp + 0x44]
sub edi, ebp
lea edi, [ecx + edi*2]
sub edi, ebx
add edi, esi
mov eax, edi
shl eax, 4
sub eax, edi
lea ecx, [esp + eax*4 + 0x2c]
push ecx
push edx
call fcn.10005c70
add esp, 8
test eax, eax
je 0x100065ec
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov ebx, dword [0x100d1168]
mov esi, dword [0x100d116c]
mov edi, dword [0x100d1164]
mov dword [esp + 0x30], ecx
mov ecx, dword [0x100d1160]
mov dword [esp + 0x2c], eax
add ecx, ecx
add ecx, ecx
lea edx, [esi*4]
mov eax, ecx
sub eax, edx
add eax, 4
lea ebp, [ebx + 1]
imul eax, edi
imul ebp, ebx
add ebp, ebp
add ebp, ebp
sub eax, ebp
mov ebp, dword [0x100d1170]
sub eax, edx
mov edx, dword [esp + 0x10]
add eax, ecx
add eax, dword [esp + 0x18]
mov dword [esp + 0x34], eax
mov eax, dword [edx + 0x24]
mov dword [esp + 0x38], eax
jmp 0x10006595
mov eax, dword [esp + 0x18]
mov ecx, dword [0x100d1160]
imul ecx, dword [0x100d115c]
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 0x24]
mov dword [esp + 0x14], edx
mov edx, 0x800000
sub edx, dword [esp + 0x28]
mov dword [esp + 0x1c], ecx
sub edx, ecx
mov ecx, dword [esp + 0x14]
add edx, edx
add edx, edx
test ecx, edx
je 0x1000652b
lea edx, [esi + 2]
imul edx, ebp
mov ecx, esi
neg ecx
add ecx, ecx
sub ecx, edx
sub ecx, ebx
add ecx, 0x2000000
test dword [esp + 0x38], ecx
je 0x1000652b
mov edx, dword [esp + 0x14]
or dword [esp + 0x38], edx
jmp 0x10006576
mov eax, dword [0x100d115c]
mov ecx, eax
imul ecx, eax
lea edx, [edi + ecx*2]
mov ecx, dword [0x100d115c]
add edx, edi
add edx, esi
add edx, esi
imul edx, edi
lea eax, [ebp + ebp - 4]
imul eax, dword [0x100d1160]
add edx, eax
add ecx, esi
lea edx, [edx + ecx*2]
lea eax, [ebx + ebx]
sub edx, eax
mov eax, dword [esp + 0x14]
or eax, dword [esp + 0x38]
sub edx, 0x2000001
and edx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0x1c]
lea edx, [esi + ebp]
add edx, edx
sub ecx, edx
add ecx, edi
add ecx, ebx
add ecx, ecx
sub ecx, dword [esp + 0x2c]
add ecx, eax
add ecx, dword [esp + 0x20]
mov dword [esp + 0x34], ecx
mov ecx, dword [0x100d115c]
lea edx, [edi + 1]
imul edx, ebp
add edx, edx
add ecx, ecx
sub ecx, edx
mov edx, dword [0x100d1160]
imul ecx, dword [0x100d115c]
mov eax, dword [esp + 0x24]
add edx, 0xfffffffe
imul edx, ebx
add dword [esp + 0x10], 0x28
sub edx, ebp
sub edx, esi
add edx, edi
lea ecx, [ecx + edx*2]
mov edx, dword [esp + 0x44]
mov edx, dword [edx]
movzx edx, word [edx + 6]
add eax, 1
add ecx, edx
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x100062b2
jmp 0x1000628a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x30
ret