Function at 0x1001c4c0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
mov ebx, ecx
push esi
push edi
xor edi, edi
mov eax, dword [ebx + 4]
mov edx, dword [eax + 0x24]
mov eax, 0xaaaaaaab
add edx, edx
mul edx
movzx eax, word [ebx + 0x4c]
shr edx, 1
xor ecx, ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
movsx ecx, ax
mov dword [esp + 0x14], eax
mov esi, dword [ebx + ecx*4 + 0x78]
mov al, byte [esi + 1]
test ecx, ecx
jne 0x1001c63d
test al, al
je 0x1001c74f
mov eax, dword [esi + 0x34]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x44]
mov dword [esp + 0x10], eax
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x1001c537
call fcn.10011c00
jmp 0x1001c53c
call fcn.10011920
mov edi, eax
test edi, edi
jne 0x1001c738
mov edi, dword [esp + 0x10]
lea edx, [esp + 0xc]
push eax
push dword [esi + 0x48]
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
call fcn.10019c80
mov edx, dword [esp + 0x18]
add esp, 0xc
mov dword [esp + 0x10], eax
mov ecx, esi
lea eax, [esp + 0x10]
push eax
call fcn.1001b600
add esp, 4
cmp byte [edi + 0x11], 0
je 0x1001c596
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push dword [esi + 0x48]
mov ecx, edi
push 5
call fcn.10015320
add esp, 0xc
mov edi, dword [esp + 0x10]
test edi, edi
jne 0x1001c738
movzx eax, byte [esi + 1]
add eax, eax
push eax
lea eax, [esi + 0x16]
push eax
mov eax, dword [esp + 0x14]
add eax, 0x16
push eax
call fcn.100a9420
movzx eax, byte [esi + 1]
add esp, 0xc
shl eax, 2
push eax
lea eax, [esi + 0x20]
push eax
mov eax, dword [esp + 0x14]
add eax, 0x20
push eax
call fcn.100a9420
mov eax, dword [esp + 0x18]
add esp, 0xc
mov cl, byte [esi + 1]
mov byte [eax + 1], cl
mov ecx, esi
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x38]
movzx edx, byte [eax]
and edx, 0xfffffff7
call fcn.10016140
movzx ecx, byte [esi + 6]
mov edx, dword [esp + 0x14]
mov eax, edx
add ecx, dword [esi + 0x38]
shr eax, 0x18
mov byte [ecx + 8], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 9], al
mov eax, edx
shr eax, 8
mov byte [ecx + 0xa], al
mov byte [ecx + 0xb], dl
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
mov dword [ebx + 0x7c], eax
xor eax, eax
mov dword [ebx + 0x4c], 1
mov word [ebx + 0x50], ax
lea eax, [edi + 1]
jmp 0x1001c4ef
test al, al
jne 0x1001c64d
movzx eax, word [esi + 0x10]
cmp eax, edx
jle 0x1001c74f
mov eax, dword [ebx + ecx*4 + 0x74]
movzx ecx, word [ebx + ecx*2 + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, dword [eax + 0x44]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x1001c679
call fcn.10011c00
jmp 0x1001c67e
call fcn.10011920
mov edi, eax
test edi, edi
jne 0x1001c710
mov edi, dword [esp + 0xc]
cmp byte [esi + 3], al
je 0x1001c6c6
cmp byte [esi + 1], 1
jne 0x1001c6c6
mov ax, word [esi + 0x16]
cmp ax, word [esi + 0x12]
jne 0x1001c6c6
cmp dword [edi + 0x48], 1
je 0x1001c6c6
movzx eax, word [edi + 0x12]
cmp eax, dword [esp + 0x10]
jne 0x1001c6c6
lea eax, [esp + 0x20]
mov edx, esi
push eax
mov ecx, edi
call fcn.1001b430
add esp, 4
mov edi, eax
jmp 0x1001c710
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x20]
call fcn.1000c540
movzx ecx, byte [ebx + 0x4a]
mov edx, dword [esp + 0x14]
push ecx
xor ecx, ecx
mov dword [esp + 0x10], eax
cmp dx, 1
mov edx, dword [esp + 0x14]
sete cl
push ecx
push eax
mov ecx, edi
call fcn.1001b6d0
mov edi, eax
add esp, 0xc
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1001c708
mov ecx, eax
call fcn.1000c660
mov eax, dword [esp + 0xc]
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 0x44]
mov byte [esi + 1], 0
call fcn.10011580
mov ax, word [ebx + 0x4c]
dec ax
movzx ecx, ax
mov word [ebx + 0x4c], ax
test edi, edi
jne 0x1001c74f
mov edx, dword [esp + 0x1c]
mov eax, ecx
jmp 0x1001c4ef
mov ecx, dword [esp + 0xc]
mov dword [ebx + 0x7c], 0
test ecx, ecx
je 0x1001c74f
mov ecx, dword [ecx + 0x44]
call fcn.10011580
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1001c75c
call fcn.1000c660
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret