Function at 0x1002ca80
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
mov ebp, 8
push edi
mov dword [esp + 0x18], 0
mov byte [esp + 0x13], 0
cmp dword [esi + 0x20], 1
mov dword [esp + 0x14], 0
jae 0x1002cab4
push esi
call fcn.1002d530
add esp, 4
mov eax, dword [esi + 0x18]
mov byte [eax], 0x4d
mov eax, dword [esi + 0x20]
inc dword [esi + 0x18]
dec eax
mov dword [esi + 0x20], eax
cmp eax, 1
jae 0x1002cad2
push esi
call fcn.1002d530
add esp, 4
mov eax, dword [esi + 0x18]
mov byte [eax], 0x54
mov eax, dword [esi + 0x20]
inc dword [esi + 0x18]
dec eax
mov dword [esi + 0x20], eax
cmp eax, 1
jae 0x1002caf0
push esi
call fcn.1002d530
add esp, 4
mov eax, dword [esi + 0x18]
mov byte [eax], 0x72
mov eax, dword [esi + 0x20]
inc dword [esi + 0x18]
dec eax
mov dword [esi + 0x20], eax
cmp eax, 1
jae 0x1002cb0e
push esi
call fcn.1002d530
add esp, 4
mov eax, dword [esi + 0x18]
mov byte [eax], 0x6b
mov edi, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
dec dword [esi + 0x20]
lea eax, [edi + 1]
add edi, 5
sub eax, edx
mov dword [esi + 0x18], edi
mov ebx, edi
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x1c]
sub ebx, edx
cmp eax, ebx
jae 0x1002cb8d
sub edi, edx
cmp dword [esi + 0x7c], 0
je 0x1002cb5e
mov ecx, dword [esi + 0x80]
test ecx, ecx
je 0x1002cb5e
add eax, 0x2000
push eax
call fcn.1002b500
mov eax, dword [esi + 0x80]
mov edx, dword [eax]
jmp 0x1002cb6f
add eax, 0x2000
push eax
push edx
call fcn.100596ee
add esp, 8
mov edx, eax
mov dword [esi + 0x14], edx
add edi, edx
mov eax, dword [esi + 0x1c]
add dword [esi + 0x20], 0x2000
add eax, 0x2000
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], edi
cmp eax, ebx
jb 0x1002cb37
sub eax, ebx
mov ebx, dword [esp + 0x28]
mov dword [esi + 0x20], eax
test ebx, ebx
je 0x1002cd1e
xor edi, edi
test edi, edi
jne 0x1002cd1e
mov eax, dword [ebx]
mov ecx, eax
sub ecx, dword [esp + 0x18]
push ecx
push esi
mov dword [esp + 0x20], eax
call fcn.1002d450
add ebp, eax
add esp, 8
mov al, byte [ebx + 4]
mov byte [esp + 0x24], al
cmp al, byte [esp + 0x13]
jne 0x1002cbd1
cmp al, 0xf0
jb 0x1002cbf0
cmp dword [esi + 0x20], 1
jae 0x1002cbe0
push esi
call fcn.1002d530
add esp, 4
mov eax, dword [esi + 0x18]
mov cl, byte [esp + 0x24]
mov byte [eax], cl
inc dword [esi + 0x18]
dec dword [esi + 0x20]
inc ebp
mov cl, byte [ebx + 4]
movzx eax, cl
shr eax, 4
add eax, 0xfffffff8
mov byte [esp + 0x13], cl
cmp eax, 7
ja case.default.0x1002cc09
jmp dword [eax*4 + 0x1002cd90]
cmp dword [esi + 0x20], 1
mov al, byte [ebx + 5]
mov byte [esp + 0x24], al
jae 0x1002cc26
push esi
call fcn.1002d530
add esp, 4
mov eax, dword [esi + 0x18]
mov cl, byte [esp + 0x24]
mov byte [eax], cl
inc dword [esi + 0x18]
dec dword [esi + 0x20]
cmp dword [esi + 0x20], 1
mov al, byte [ebx + 6]
mov byte [esp + 0x24], al
jae 0x1002cc4b
push esi
call fcn.1002d530
add esp, 4
mov eax, dword [esi + 0x18]
mov cl, byte [esp + 0x24]
mov byte [eax], cl
inc dword [esi + 0x18]
dec dword [esi + 0x20]
add ebp, 2
jmp case.default.0x1002cc09
cmp dword [esi + 0x20], 1
mov al, byte [ebx + 5]
mov byte [esp + 0x24], al
jae 0x1002cc78
push esi
call fcn.1002d530
add esp, 4
mov eax, dword [esi + 0x18]
mov cl, byte [esp + 0x24]
mov byte [eax], cl
inc dword [esi + 0x18]
dec dword [esi + 0x20]
inc ebp
jmp case.default.0x1002cc09
cmp cl, 0xff
jne 0x1002ccc5
mov al, byte [ebx + 5]
cmp al, 0x2f
mov byte [esp + 0x24], al
mov eax, 1
cmove edi, eax
mov dword [esp + 0x14], edi
cmp dword [esi + 0x20], eax
jae 0x1002ccb5
push esi
call fcn.1002d530
add esp, 4
mov eax, dword [esi + 0x18]
mov cl, byte [esp + 0x24]
mov byte [eax], cl
inc dword [esi + 0x18]
dec dword [esi + 0x20]
inc ebp
push dword [ebx + 8]
push esi
call fcn.1002d450
add ebp, eax
add esp, 8
mov eax, dword [ebx + 8]
test eax, eax
je case.default.0x1002cc09
xor edi, edi
test eax, eax
je 0x1002cd0f
cmp dword [esi + 0x20], 1
mov eax, dword [ebx + 0xc]
mov al, byte [edi + eax]
mov byte [esp + 0x24], al
jae 0x1002ccf9
push esi
call fcn.1002d530
add esp, 4
mov eax, dword [esi + 0x18]
inc edi
mov cl, byte [esp + 0x24]
inc ebp
mov byte [eax], cl
inc dword [esi + 0x18]
dec dword [esi + 0x20]
cmp edi, dword [ebx + 8]
jb 0x1002cce0
mov edi, dword [esp + 0x14]
mov ebx, dword [ebx + 0x10]
test ebx, ebx
jne 0x1002cba0
push dword [esp + 0x1c]
mov edi, dword [esi + 0x18]
sub edi, dword [esi + 0x14]
push esi
call fcn.1002d5a0
add esp, 8
lea ebx, [ebp - 8]
cmp dword [esi + 0x20], 4
jae 0x1002cd43
push esi
call fcn.1002d530
add esp, 4
mov eax, dword [esi + 0x18]
mov ecx, ebx
shr ecx, 0x18
push edi
push esi
mov byte [eax], cl
mov eax, ebx
mov ecx, dword [esi + 0x18]
inc ecx
shr eax, 0x10
mov dword [esi + 0x18], ecx
mov byte [ecx], al
mov eax, ebx
mov ecx, dword [esi + 0x18]
inc ecx
shr eax, 8
mov dword [esi + 0x18], ecx
mov byte [ecx], al
mov eax, dword [esi + 0x18]
inc eax
mov dword [esi + 0x18], eax
mov byte [eax], bl
inc dword [esi + 0x18]
sub dword [esi + 0x20], 4
call fcn.1002d5a0
add esp, 8
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret