Function at 0x10187ce0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
add dword [esi + 0x60], eax
lea ebx, [esi + 0xc]
mov eax, dword [esi + 0x60]
cmp ax, 0xc8
jb 0x10187d72
mov ecx, dword [esi + 0x18]
mov eax, ecx
mov edx, dword [ebx]
sub eax, edx
test eax, 0xfffffff0
jg 0x10187d63
mov eax, dword [esi + 0x1c]
sub ecx, eax
mov ebp, dword [esp + 0x24]
sar ecx, 4
sub ebp, eax
cmp ecx, 0xf4240
jg 0x10187eda
sub edx, eax
add ecx, ecx
mov eax, 0xf4240
sar edx, 4
cmp ecx, eax
cmovg ecx, eax
cmp ecx, edx
jge 0x10187d47
mov ecx, edx
cmp ecx, eax
jg 0x10187ee2
push 1
push ecx
push esi
call fcn.10188a00
mov edi, dword [esi + 0x1c]
add esp, 0xc
add edi, ebp
push esi
call fcn.10187510
add esp, 4
jmp 0x10187d76
mov edi, dword [esp + 0x24]
push esi
call fcn.10187510
add esp, 4
jmp 0x10187d76
mov edi, dword [esp + 0x24]
movzx eax, byte [edi + 8]
and eax, 0x3f
cmp eax, 6
je 0x10187daf
cmp eax, 0x16
je 0x10187eb8
cmp eax, 0x26
je 0x10187e93
push edi
push esi
call fcn.10188c90
mov edi, eax
add esp, 8
movzx eax, byte [edi + 8]
and eax, 0x3f
cmp eax, 6
jne 0x10187d82
lea ebx, [esi + 0xc]
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov eax, dword [ebx]
sub eax, edi
mov dword [esp + 0x14], edx
sar eax, 4
movzx ebp, byte [edx + 6]
dec eax
movzx edx, byte [edx + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x18]
sub eax, dword [ebx]
sar eax, 4
mov dword [esp + 0x20], edx
cmp eax, edx
jg 0x10187e0f
mov eax, dword [esi + 0x10]
sub edi, dword [esi + 0x1c]
mov dword [esp + 0x10], edi
cmp dword [eax + 0xc], 0
jle 0x10187dfc
push esi
call fcn.1018fd20
mov edx, dword [esp + 0x24]
lea ebx, [esi + 0xc]
add esp, 4
push 1
push edx
push esi
call fcn.10188140
mov edi, dword [esi + 0x1c]
add esp, 0xc
add edi, dword [esp + 0x10]
mov eax, dword [esi + 0x14]
mov edx, dword [eax + 0xc]
test edx, edx
jne 0x10187e24
push esi
call fcn.10187540
add esp, 4
mov edx, eax
mov cx, word [esp + 0x28]
xor eax, eax
mov word [edx + 0x20], cx
mov ecx, dword [esp + 0x20]
inc ecx
mov word [edx + 0x22], ax
mov eax, dword [esp + 0x14]
shl ecx, 4
add ecx, edi
mov dword [edx], edi
mov dword [edx + 4], ecx
mov dword [esi + 0x14], edx
mov eax, dword [eax + 0x34]
mov dword [edx + 0x10], eax
mov eax, dword [esp + 0x18]
cmp eax, ebp
jge 0x10187e6e
sub ebp, eax
nop dword [eax]
mov eax, dword [ebx]
mov byte [eax + 8], 0
add dword [ebx], 0x10
sub ebp, 1
jne 0x10187e60
push edx
mov eax, 4
push esi
mov word [edx + 0x22], ax
call fcn.10194db0
mov eax, dword [esi + 0x60]
add esp, 8
sub eax, dword [esp + 0x2c]
mov dword [esi + 0x60], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [edi]
push dword [eax + 0xc]
push dword [esp + 0x2c]
push edi
push esi
call fcn.10189110
mov eax, dword [esi + 0x60]
add esp, 0x10
sub eax, dword [esp + 0x2c]
mov dword [esi + 0x60], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push dword [edi]
push dword [esp + 0x2c]
push edi
push esi
call fcn.10189110
mov eax, dword [esi + 0x60]
add esp, 0x10
sub eax, dword [esp + 0x2c]
mov dword [esi + 0x60], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push 5
push esi
call fcn.10188c10
push 1
push 0xf4308
push esi
call fcn.10188a00
add esp, 0xc
push str.stack_overflow
push esi
call fcn.1018deb0
int3