Function at 0x10c53c40
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov esi, ecx
push 0x12
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call sub.libjsybheap.dll_Ordinal_13
add esp, 4
cmp eax, ebx
je 0x10c53c6a
mov ecx, eax
call fcn.10c52d30
mov ebx, eax
mov eax, dword [esi + 0x38]
mov ecx, eax
mov dword [esp + 0x18], eax
cmp eax, ecx
jl 0x10c53cef
mov edx, dword [esi + 0x3c]
cmp eax, edx
jl 0x10c53ce9
mov ecx, dword [esi + 0x40]
lea ebp, [ecx + edx]
cmp ebp, eax
jg 0x10c53c8e
add ebp, ecx
cmp ebp, eax
jle 0x10c53c88
mov eax, dword [esi + 0x44]
test eax, eax
je 0x10c53cab
mov edx, dword [esi + 0x34]
lea ecx, [ebp*4]
push 0
push ecx
push edx
push eax
call sym.PBVM90.dll_pbstg_realc
jmp 0x10c53cbf
mov ecx, dword [esi + 0x34]
lea eax, [ebp*4]
push eax
push ecx
call sub.libjsybheap.dll_Ordinal_15
add esp, 8
mov edx, dword [esi + 0x3c]
mov ecx, ebp
mov dword [esi + 0x34], eax
mov edi, dword [esi + 0x34]
sub ecx, edx
xor eax, eax
shl ecx, 2
lea edi, [edi + edx*4]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
mov dword [esi + 0x3c], ebp
lea ecx, [eax + 1]
mov dword [esi + 0x38], ecx
mov edx, dword [esi + 0x34]
push 0x10e072bc
push 0x100
mov dword [edx + eax*4], ebx
mov eax, dword [esi + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov ecx, dword [esi + 0x20]
add esp, 0xc
mov edx, dword [ecx]
push 0x100
call dword [edx + 0x20]
mov edi, dword [esp + 0x24]
mov ax, word [edi + 6]
mov dword [esp + 0x1c], eax
mov word [ebx + 6], ax
mov ax, word [edi + 4]
mov word [ebx + 4], ax
cmp word [edi + 6], 5
jne 0x10c53d3d
or al, 0x3e
mov word [ebx + 4], ax
and word [ebx + 4], 0xff3f
mov ax, word [edi + 4]
and eax, 0x2000
cmp eax, 0x2000
jne 0x10c53d6b
mov eax, dword [esi + 0x82]
test eax, eax
je 0x10c53d6b
mov eax, dword [esi + 0x8a]
test eax, eax
jne 0x10c53d6b
mov ecx, dword [edi]
mov dword [ebx], ecx
mov ebp, dword [esp + 0x28]
mov ecx, esi
push ebp
push 1
push ebx
call fcn.10c57570
cmp word [edi + 6], 5
mov dword [esp + 0x24], eax
jne 0x10c53d89
or byte [ebx + 4], 0x3e
and word [ebx + 4], 0xff3f
mov ecx, dword [esi + 0x20]
push 0x100
mov edx, dword [ecx]
call dword [edx + 0x24]
mov eax, dword [esp + 0x24]
test eax, eax
jl 0x10c53e1d
test byte [edi + 7], 0xc0
jne 0x10c53db1
mov eax, 0xffff
jmp 0x10c53e07
test ebp, ebp
je 0x10c53dbb
mov ax, word [ebp]
jmp 0x10c53e07
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x10c53dce
mov eax, dword [ecx]
lea edx, [esp + 0x10]
push edx
call dword [eax + 0x14]
jmp 0x10c53de2
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
call dword [edx + 0x14]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push ecx
mov eax, dword [edx]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x24]
push edx
push eax
call sym.PBVM90.dll_ob_class_indirect
mov ecx, dword [esp + 0x14]
mov ax, word [ecx + 0x10]
mov edx, dword [esi + 0x24]
push eax
push ebx
push edx
call sym.PBVM90.dll_ot_build_simple_refpak
mov dword [edi], eax
mov word [edi + 4], 0x80
mov dword [ebx + 0xa], eax
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8