Function at 0x1005a1b0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebx]
mov ecx, dword [ecx]
push esi
mov esi, dword [eax + 8]
push edi
movzx edi, byte [ebx + 0x1c]
inc dword [eax + 0x4c]
mov edx, dword [eax + 0x4c]
not edi
and edi, 1
mov dword [esp + 0x14], ecx
add ecx, edi
add ecx, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], 0
mov dword [esp + 0x1c], edx
mov edx, dword [ebx + 4]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], edx
je 0x1005a205
mov ecx, dword [ebp + 0x14]
sub ecx, dword [esp + 0x14]
sub ecx, edi
mov dword [esp + 0x10], ecx
jmp 0x1005a215
mov edx, dword [eax + 0x4c]
inc edx
mov dword [esp + 0x10], edx
mov edx, dword [eax + 0x4c]
add edx, ecx
mov dword [eax + 0x4c], edx
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx + 0x10]
test ecx, ecx
je 0x1005a222
inc ecx
jmp 0x1005a225
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx + 0x74]
mov dword [esp + 0x28], edx
inc edx
mov dword [ecx + 0x74], edx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x28]
lea edx, [ecx - 1]
test ecx, edx
jne 0x1005a26f
lea eax, [ecx*8 + 4]
mov ecx, dword [esp + 0x18]
push 0
push eax
mov eax, dword [ecx + 0x78]
mov ecx, dword [ecx]
call fcn.100045e0
mov ecx, dword [esp + 0x20]
mov dword [ecx + 0x78], eax
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x30]
add esp, 8
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 0x78]
test edx, edx
je 0x1005a281
mov dword [edx + ecx*4], 0xffffffff
or edx, 0xffffffff
sub edx, ecx
mov ecx, dword [ebp + 0x18]
push 5
push ecx
mov ecx, dword [ebx]
mov dword [ebx + 0x18], edx
mov edx, dword [esp + 0x18]
push edx
push ecx
push eax
call fcn.1003cdd0
xor edx, edx
add esp, 0x14
cmp edi, edx
je 0x1005a308
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x20]
cmp dword [ecx + 0x58], eax
jg 0x1005a2dd
mov eax, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x1c]
push edx
push eax
push 0x49
call fcn.10024290
add esp, 0x10
xor edx, edx
jmp 0x1005a308
lea ecx, [eax + 1]
mov dword [esi + 0x20], ecx
mov ecx, dword [esi + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x18]
mov byte [eax + 3], dl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x49
cmp dword [ebp + 0x20], edx
jne 0x1005a32f
mov ecx, dword [esp + 0x14]
add ecx, dword [esp + 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x14]
lea ecx, [ecx + edi]
push edx
call fcn.1003baa0
mov ebx, dword [ebp + 0xc]
add esp, 4
xor edx, edx
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
sub eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
add eax, ecx
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x20]
cmp dword [ecx + 0x58], eax
jg 0x1005a36f
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
push 0x31
call fcn.10024290
add esp, 0x10
xor edx, edx
jmp 0x1005a39f
lea ecx, [eax + 1]
mov dword [esi + 0x20], ecx
mov ecx, dword [esi + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x1c]
mov byte [eax + 3], 0
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov word [eax], 0x31
cmp dword [esp + 0x24], edx
jle 0x1005a6c1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x4c]
lea ecx, [eax + 1]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx + 4]
add ecx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x4c], ecx
mov ecx, dword [esp + 0x14]
mov eax, ecx
sub eax, dword [ebx + 4]
add eax, edi
cmp edi, edx
mov edi, dword [esi + 0x18]
mov dword [esp + 0x14], eax
je 0x1005a412
mov eax, dword [esp + 0x10]
add eax, ecx
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x18], eax
cmp dword [edi + 0x58], ecx
jg 0x1005a3f8
push edx
push edx
push eax
push 0x2e
call fcn.10024290
add esp, 0x10
jmp 0x1005a45a
mov edi, dword [esi + 4]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea eax, [ecx + ecx*4]
lea eax, [edi + eax*4]
mov edi, dword [esp + 0x18]
mov word [eax], 0x2e
jmp 0x1005a448
mov ecx, dword [esi + 0x20]
mov eax, dword [ebx + 8]
mov dword [esp + 0x28], eax
cmp dword [edi + 0x58], ecx
jg 0x1005a430
push edx
push edx
push eax
push 0x3b
call fcn.10024290
add esp, 0x10
jmp 0x1005a45a
mov edi, dword [esi + 4]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea eax, [ecx + ecx*4]
lea eax, [edi + eax*4]
mov edi, dword [esp + 0x28]
mov word [eax], 0x3b
mov byte [eax + 3], 0
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov eax, ecx
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
push eax
push 0x2a
push esi
call fcn.100242d0
mov eax, dword [ebx + 0x14]
add esp, 0x14
test eax, eax
jns 0x1005a482
mov eax, dword [esi + 0x20]
dec eax
mov ecx, dword [esi]
cmp byte [ecx + 0x45], 0
je 0x1005a495
mov eax, 0x100d87f0
mov dword [esp + 0x18], eax
jmp 0x1005a4a4
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea ecx, [eax + edx*4]
mov dword [esp + 0x18], ecx
mov eax, ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
cmp byte [ecx + 0x45], 0
jne 0x1005a80c
mov edx, dword [esp + 0x14]
add edx, dword [ebp + 0x1c]
mov edi, dword [eax + 0x10]
mov dword [eax + 8], edx
movzx edx, word [edi + 6]
mov eax, dword [edi + 0x10]
push edx
push 0
push eax
call fcn.100a6a70
mov edx, dword [esi]
add esp, 0xc
cmp byte [edx + 0x45], 0
je 0x1005a4e9
mov ecx, edi
mov eax, 0xfffffffa
call fcn.10024cd0
jmp 0x1005a515
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 4]
lea ecx, [eax + eax*4 - 5]
cmp byte [edx + ecx*4 + 1], 0
lea ecx, [edx + ecx*4]
je 0x1005a50e
push edi
push esi
mov eax, 0xfffffffa
call fcn.10024ec0
add esp, 8
jmp 0x1005a515
mov dword [ecx + 0x10], edi
mov byte [ecx + 1], 0xfa
mov eax, dword [ebx]
movzx edx, word [edi + 8]
mov ecx, dword [ebp + 8]
mov ebx, dword [esp + 0x24]
push eax
dec edx
push ecx
call fcn.1005b680
mov edx, dword [esp + 0x20]
mov dword [edx + 0x10], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0x2c], eax
inc eax
push eax
push 0
push eax
push 0x2b
push esi
call fcn.100242d0
mov ebx, dword [esi + 0x18]
mov edi, dword [ebx + 0x74]
lea ecx, [edi - 1]
add esp, 0x1c
lea eax, [edi + 1]
mov dword [ebx + 0x74], eax
test edi, ecx
jne 0x1005a575
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx]
lea edx, [edi*8 + 4]
push 0
push edx
call fcn.100045e0
add esp, 8
mov dword [ebx + 0x78], eax
mov ebx, dword [ebx + 0x78]
test ebx, ebx
je 0x1005a583
mov dword [ebx + edi*4], 0xffffffff
or eax, 0xffffffff
sub eax, edi
mov edi, dword [ebp + 0xc]
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x4c]
inc ecx
mov dword [eax + 0x4c], ecx
mov edx, dword [edi + 0x10]
mov dword [edi + 0xc], ecx
mov eax, dword [esi + 0x20]
mov ebx, dword [esi + 0x18]
cmp dword [ebx + 0x58], eax
jg 0x1005a5ba
xor ebx, ebx
push ebx
push edx
push ecx
push 0xe
call fcn.10024290
add esp, 0x10
jmp 0x1005a5e0
lea ebx, [eax + 1]
mov dword [esi + 0x20], ebx
mov ebx, dword [esi + 4]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*4]
xor ebx, ebx
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0xe
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
mov ecx, dword [edi + 8]
cmp dword [edx + 0x58], eax
jg 0x1005a5fd
push ebx
push ebx
push ecx
push 0x78
call fcn.10024290
add esp, 0x10
jmp 0x1005a621
lea edx, [eax + 1]
mov dword [esi + 0x20], edx
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x78
cmp dword [esp + 0x20], ebx
je 0x1005a63f
mov edi, dword [edi + 0x18]
mov ebx, dword [esp + 0x20]
mov edx, 0x2e
mov eax, esi
call fcn.10024400
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
dec eax
mov dword [ecx + 0x60], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0x20]
cmp eax, ebx
jge 0x1005a657
lea eax, [ecx - 1]
mov edx, dword [esi]
cmp byte [edx + 0x45], 0
je 0x1005a666
mov eax, 0x100d87f0
jmp 0x1005a66f
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov ebx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [edi + 4]
call fcn.1003baa0
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
mov eax, dword [esp + 0x28]
dec ecx
add esp, 4
mov dword [edx + 0x60], ecx
mov ecx, dword [esi + 0x20]
test eax, eax
jns 0x1005a6a1
lea eax, [ecx - 1]
mov edx, dword [esi]
cmp byte [edx + 0x45], 0
je 0x1005a6b0
mov eax, 0x100d87f0
jmp 0x1005a6b9
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov ebx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
xor edx, edx
mov al, byte [ebx + 0x1c]
mov edi, dword [esi + 0x18]
and al, 1
movzx ecx, al
mov eax, dword [ebx + 8]
neg ecx
sbb ecx, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x20]
add ecx, 0x6e
cmp dword [edi + 0x58], eax
jg 0x1005a6fa
mov eax, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x20]
push edx
push eax
push ecx
call fcn.10024290
add esp, 0x10
xor edx, edx
jmp 0x1005a727
lea edi, [eax + 1]
mov dword [esi + 0x20], edi
mov edi, dword [esi + 4]
lea eax, [eax + eax*4]
lea eax, [edi + eax*4]
mov byte [eax], cl
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x1c]
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0
mov eax, dword [esp + 0x20]
cmp eax, edx
je 0x1005a80c
push 1
push edx
push eax
push 0x8c
push esi
call fcn.100242d0
mov edx, dword [esi + 0x18]
mov ecx, dword [ebx + 8]
mov edi, eax
mov eax, dword [esi + 0x20]
add esp, 0x14
cmp dword [edx + 0x58], eax
jg 0x1005a766
push 0
push 0
push ecx
push 0x69
call fcn.10024290
add esp, 0x10
jmp 0x1005a78c
lea edx, [eax + 1]
mov dword [esi + 0x20], edx
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x69
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
mov ebx, dword [ebx + 8]
cmp dword [ecx + 0x58], eax
jg 0x1005a7ad
push 0
push 0
push ebx
push 0x5f
call fcn.10024290
add esp, 0x10
xor ecx, ecx
jmp 0x1005a7d3
mov ecx, dword [esi + 4]
lea edx, [eax + 1]
mov dword [esi + 0x20], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x5f
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
dec edx
mov dword [eax + 0x60], edx
mov edx, dword [esi + 0x20]
mov eax, edi
cmp edi, ecx
jge 0x1005a7e9
lea eax, [edx - 1]
mov ecx, dword [esi]
cmp byte [ecx + 0x45], 0
je 0x1005a800
mov eax, 0x100d87f0
mov dword [eax + 8], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov dword [eax + 8], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret