Function at 0x10c81020
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x20
mov edx, dword [esp + 0x2c]
push ebx
push ebp
push esi
mov eax, dword [edx + 8]
mov esi, dword [esp + 0x34]
push edi
mov edx, dword [edx + 0xc]
mov ax, word [eax + 2]
mov ecx, dword [esi + 0x2a]
mov dword [esp + 0x1c], eax
and eax, 0x3fff
mov edi, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
lea eax, [eax + eax*4]
mov edi, dword [edi + 2]
mov ebx, dword [ecx + 8]
lea ecx, [esp + 0x10]
mov eax, dword [edi + eax*4 + 8]
mov edi, dword [esp + 0x34]
and eax, 0x7fffffff
mov dword [esp + 0x14], esi
add eax, ebx
push ecx
mov dword [esp + 0x28], eax
mov ax, word [edx]
lea edx, [esp + 0x18]
mov dword [esp + 0x14], eax
push edx
push edi
call sym.PBVM90.dll_ob_class_indirect
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x2a]
mov eax, dword [esp + 0x10]
and eax, 0x3fff
mov esi, dword [edx + 8]
mov ebp, dword [edx + 0xc]
lea ecx, [eax + eax*4]
mov ebx, dword [esi + 2]
lea ebx, [ebx + ecx*4]
mov ecx, dword [ebx + 8]
and ecx, 0x7fffffff
add ecx, dword [ebp + 8]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x12]
cmp eax, ecx
jae 0x10c810d7
test byte [ebx + 0x11], 1
je 0x10c810d7
mov edx, dword [edx + 0x2c]
xor eax, eax
mov ax, word [ebx + 0xc]
mov edx, dword [edx + 8]
lea ecx, [eax + eax*4]
shl ecx, 4
sub ecx, eax
lea eax, [edx + ecx*2]
jmp 0x10c810d9
xor eax, eax
mov eax, dword [eax + 0xc]
xor edx, edx
push 0x10
mov cx, word [eax + 0x10]
mov dx, word [eax + 0x1c]
mov word [esp + 0x2c], cx
mov dword [esp + 0x38], edx
call sub.libjsybheap.dll_Ordinal_13
xor esi, esi
add esp, 4
cmp eax, esi
je 0x10c8110c
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
mov esi, eax
mov eax, dword [esi + 0xc]
lea ebx, [esi + 8]
lea ebp, [esi + 4]
push 0x10e0bd8c
mov ecx, dword [eax + 0x10]
push ebx
push ebp
push esi
push 0
push ecx
call sym.PBVM90.dll_pbstg_str_build
mov edx, dword [esi + 0xc]
push str.global_type
push ebx
push ebp
mov eax, dword [edx + 0x10]
push esi
push 0
push eax
call sym.PBVM90.dll_pbstg_str_build
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 0xc]
push ecx
push ebx
mov eax, dword [edx + 0x10]
push ebp
push esi
push 0
push eax
call sym.PBVM90.dll_pbstg_str_build
mov ecx, dword [esi + 0xc]
push 0x10e0bda0
push ebx
push ebp
mov edx, dword [ecx + 0x10]
push esi
push 0
push edx
call sym.PBVM90.dll_pbstg_str_build
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0xc]
push eax
push ebx
mov edx, dword [ecx + 0x10]
push ebp
push esi
push 0
push edx
call sym.PBVM90.dll_pbstg_str_build
mov eax, dword [esi + 0xc]
push 0x10e0bda8
push ebx
push ebp
mov ecx, dword [eax + 0x10]
push esi
push 0
push ecx
call sym.PBVM90.dll_pbstg_str_build
mov edx, dword [esi + 0xc]
push 0x10e0bdac
push ebx
push ebp
mov eax, dword [edx + 0x10]
push esi
push 0
push eax
call sym.PBVM90.dll_pbstg_str_build
mov ecx, dword [esi + 0xc]
push str.___public_instance_variables_r_n
push ebx
push ebp
mov edx, dword [ecx + 0x10]
push esi
push 0
push edx
call sym.PBVM90.dll_pbstg_str_build
lea eax, [esp + 0x2c]
push 0
lea ecx, [esp + 0x38]
push eax
push ecx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push edx
push eax
push edi
call sym.PBVM90.dll_ob_get_type_field_info
test eax, eax
je 0x10c811ec
mov ecx, dword [edi + 0x10]
push eax
push ecx
call sym.PBVM90.dll_pbstg_fee
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x2c]
push 0
lea eax, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push edx
push edi
call sym.PBVM90.dll_ob_get_type_field_info
mov ecx, dword [esp + 0x18]
mov ebx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x20], ebx
cmp eax, ecx
mov ebp, eax
jae 0x10c81250
mov ecx, eax
shl ecx, 3
sub ecx, eax
lea edx, [eax + ecx*4]
lea ebx, [ebx + edx*2]
mov eax, dword [ebx + 0x16]
test eax, eax
jne 0x10c81240
mov eax, dword [esp + 0x38]
push ebx
push eax
push esi
push edi
call fcn.10c80330
add esp, 0x10
mov eax, dword [esp + 0x18]
inc ebp
add ebx, 0x3a
cmp ebp, eax
jb 0x10c81229
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x10c8125e
mov ecx, dword [edi + 0x10]
push ebx
push ecx
call sym.PBVM90.dll_pbstg_fee
mov edx, dword [esi + 0xc]
lea eax, [esi + 8]
push str.___events_r_n
push eax
lea eax, [esi + 4]
push eax
mov eax, dword [edx + 0x10]
push esi
push 0
push eax
call sym.PBVM90.dll_pbstg_str_build
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 0xc]
mov ecx, dword [esp + 0x28]
mov ax, word [edx + 0x10]
cmp cx, ax
jae 0x10c81390
and ecx, 0xffff
and eax, 0xffff
sub eax, ecx
lea ebx, [ecx*8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x3c]
add ebx, dword [eax + 0x44]
mov cx, word [ebx + 4]
cmp cx, word [edi + 0x13a]
je 0x10c81376
mov dword [edi + 0x132], 0
mov cx, word [ebx + 4]
cmp cx, 0xffff
jne 0x10c812df
xor eax, eax
jmp 0x10c81316
mov edx, dword [edi + 0xae]
mov eax, ecx
and eax, 0xffff
cmp edx, eax
jbe 0x10c8130f
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x9a]
shl edx, 4
mov eax, dword [eax + edx + 4]
test eax, eax
je 0x10c8130f
cmp dword [eax + 0x12], 1
je 0x10c8130f
mov eax, dword [eax + 0xe]
jmp 0x10c81316
push ecx
push edi
call sym.PBVM90.dll_ob_group_data_srch
mov ecx, dword [eax + 0x2a]
mov dword [esp + 0x38], eax
mov ax, word [ebx + 6]
and eax, 0x3fff
lea edx, [eax + eax*4]
mov eax, dword [ecx + 8]
mov ebp, dword [eax + 2]
xor eax, eax
mov ax, word [ebp + edx*4 + 0xc]
lea edx, [eax + eax*4]
shl edx, 4
sub edx, eax
mov eax, dword [ecx + 0x2c]
mov ecx, dword [eax + 8]
xor eax, eax
mov ax, word [ebx + 2]
mov ecx, dword [ecx + edx*2 + 0x28]
mov edx, dword [ecx + eax*8]
lea eax, [ecx + eax*8]
mov cx, word [edx + 0x1e]
and ecx, 0x100
cmp ecx, 0x100
jne 0x10c81376
mov edx, dword [esp + 0x38]
push eax
push edx
push esi
push edi
call fcn.10c80d30
add esp, 0x10
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add ebx, 8
dec eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
jne 0x10c812ae
mov eax, dword [esi + 0xc]
lea ebx, [esi + 8]
push str.end_type_r_n_r_n
lea ebp, [esi + 4]
mov ecx, dword [eax + 0x10]
push ebx
push ebp
push esi
push 0
push ecx
call sym.PBVM90.dll_pbstg_str_build
mov edx, dword [esi + 0xc]
push str.forward_prototypes_r_n
push ebx
push ebp
mov eax, dword [edx + 0x10]
push esi
push 0
push eax
call sym.PBVM90.dll_pbstg_str_build
mov ecx, dword [esi + 0xc]
push str.public:_r_n
push ebx
push ebp
mov edx, dword [ecx + 0x10]
push esi
push 0
push edx
call sym.PBVM90.dll_pbstg_str_build
mov eax, dword [esi + 0xc]
push str.______public_scripts_from
push ebx
push ebp
mov ecx, dword [eax + 0x10]
push esi
push 0
push ecx
call sym.PBVM90.dll_pbstg_str_build
mov edx, dword [esp + 0x24]
mov eax, dword [esi + 0xc]
push edx
push ebx
mov ecx, dword [eax + 0x10]
push ebp
push esi
push 0
push ecx
call sym.PBVM90.dll_pbstg_str_build
mov edx, dword [esi + 0xc]
push 0x10e0be34
push ebx
push ebp
mov eax, dword [edx + 0x10]
push esi
push 0
push eax
call sym.PBVM90.dll_pbstg_str_build
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 0xc]
mov ecx, dword [esp + 0x28]
mov ax, word [edx + 0x10]
cmp cx, ax
jae 0x10c81527
and ecx, 0xffff
and eax, 0xffff
sub eax, ecx
lea ebx, [ecx*8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x3c]
add ebx, dword [eax + 0x44]
mov cx, word [ebx + 4]
cmp cx, word [edi + 0x13a]
je 0x10c8150d
mov dword [edi + 0x132], 0
mov cx, word [ebx + 4]
cmp cx, 0xffff
jne 0x10c8147f
xor eax, eax
jmp 0x10c814b6
mov edx, dword [edi + 0xae]
mov eax, ecx
and eax, 0xffff
cmp edx, eax
jbe 0x10c814af
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x9a]
shl edx, 4
mov eax, dword [eax + edx + 4]
test eax, eax
je 0x10c814af
cmp dword [eax + 0x12], 1
je 0x10c814af
mov eax, dword [eax + 0xe]
jmp 0x10c814b6
push ecx
push edi
call sym.PBVM90.dll_ob_group_data_srch
mov ecx, dword [eax + 0x2a]
mov dword [esp + 0x38], eax
mov ax, word [ebx + 6]
and eax, 0x3fff
lea edx, [eax + eax*4]
mov eax, dword [ecx + 8]
mov ebp, dword [eax + 2]
xor eax, eax
mov ax, word [ebp + edx*4 + 0xc]
lea edx, [eax + eax*4]
shl edx, 4
sub edx, eax
mov eax, dword [ecx + 0x2c]
mov ecx, dword [eax + 8]
xor eax, eax
mov ax, word [ebx + 2]
mov ecx, dword [ecx + edx*2 + 0x28]
mov edx, dword [ecx + eax*8]
lea eax, [ecx + eax*8]
mov cx, word [edx + 0x1e]
test ch, 0x31
jne 0x10c8150d
push eax
mov eax, dword [esp + 0x3c]
push eax
push esi
push edi
call fcn.10c80d30
add esp, 0x10
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
add ebx, 8
dec eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], eax
jne 0x10c8144e
mov ecx, dword [esi + 0xc]
lea edi, [esi + 8]
push str.end_prototypes_r_n_r_n
lea ebx, [esi + 4]
mov edx, dword [ecx + 0x10]
push edi
push ebx
push esi
push 0
push edx
call sym.PBVM90.dll_pbstg_str_build
mov ebp, dword [esi]
mov dword [esi], 0
test esi, esi
mov dword [ebx], 0
mov dword [edi], 0
je 0x10c81577
mov eax, dword [esi]
test eax, eax
je 0x10c8156e
push eax
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x10]
push ecx
call sym.PBVM90.dll_pbstg_fee
push esi
call sub.libjsybheap.dll_Ordinal_16
add esp, 4
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x20
ret