Function at 0x10c64430
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x40
mov ecx, dword [esp + 0x48]
mov eax, 1
push ebx
mov ebx, dword [esp + 0x48]
mov edx, dword [ecx]
push ebp
mov dword [esp + 0xc], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x70]
xor ebp, ebp
push esi
cmp eax, ebp
push edi
mov dword [esp + 0x18], 0xffff
mov dword [esp + 0x10], ebp
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x28], ebp
jbe 0x10c644c6
mov ecx, dword [ebx + 0xbe]
mov edx, dword [ebx + 0x10]
lea edi, [eax*8]
push ecx
push edi
push edx
call sym.PBVM90.dll_pbstg_alc
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x74]
test esi, esi
mov dword [ecx], eax
mov dword [esp + 0x1c], eax
je 0x10c644d3
mov ecx, edi
mov edi, eax
mov edx, ecx
mov ebp, 1
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x24], ebp
and ecx, 3
mov dword [esp + 0x34], 0
rep movsb byte es:[edi], byte [esi]
jmp 0x10c644d3
mov eax, dword [esp + 0x84]
mov dword [esp + 0x1c], ebp
mov dword [eax], ebp
mov ecx, dword [esp + 0x60]
cmp word [ecx], 0xffff
jne 0x10c646f7
test ebp, ebp
mov dword [esp + 0x28], 1
jne 0x10c645de
mov eax, dword [esp + 0x78]
test eax, eax
jbe 0x10c645d6
mov edx, dword [esp + 0x1c]
mov edi, eax
shl edi, 3
sub edi, eax
lea esi, [edx + 6]
shl edi, 2
mov dword [esp + 0x24], eax
mov ecx, dword [ebx + 0x10e]
mov eax, ebp
sub eax, edi
add eax, ecx
mov ecx, dword [eax]
mov dword [esi - 6], ecx
mov edx, dword [eax + 4]
mov dword [esi - 2], edx
mov cx, word [esi]
and cx, 0xc000
je 0x10c64f76
mov dx, word [esi - 2]
and edx, 0x1c00
cmp edx, 0xc00
je 0x10c64f76
xor ecx, ecx
mov dword [ebx + 0x132], ecx
mov ax, word [eax + 0x18]
cmp ax, 0xffff
jne 0x10c64566
mov dword [esp + 0x14], ecx
jmp 0x10c645a2
mov edx, dword [ebx + 0xae]
mov ecx, eax
and ecx, 0xffff
cmp edx, ecx
jbe 0x10c64597
mov edx, dword [ebx + 0x9a]
lea ecx, [ecx + ecx*4]
shl ecx, 4
mov ecx, dword [edx + ecx + 4]
test ecx, ecx
je 0x10c64597
cmp dword [ecx + 0x12], 1
je 0x10c64597
mov eax, dword [ecx + 0xe]
jmp 0x10c6459e
push eax
push ebx
call sym.PBVM90.dll_ob_group_data_srch
mov dword [esp + 0x14], eax
mov ax, word [esi]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x14]
push ecx
push edx
push ebx
mov dword [esp + 0x2c], eax
call sym.PBVM90.dll_ob_class_indirect
mov ax, word [esp + 0x20]
mov word [esi], ax
mov eax, dword [esp + 0x24]
add ebp, 0x1c
add esi, 8
dec eax
mov dword [esp + 0x24], eax
jne 0x10c64513
mov dword [esp + 0x24], 1
mov ecx, dword [ebx + 0x12a]
mov dword [ebx + 0x132], 0
cmp cx, 0xffff
je 0x10c64627
mov edx, dword [ebx + 0xae]
mov eax, ecx
and eax, 0xffff
cmp edx, eax
jbe 0x10c64620
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x9a]
shl edx, 4
mov eax, dword [eax + edx + 4]
test eax, eax
je 0x10c64620
cmp dword [eax + 0x12], 1
jne 0x10c64627
push ecx
push ebx
call sym.PBVM90.dll_ob_group_data_srch
mov esi, dword [esp + 0x68]
lea ecx, [esp + 0x54]
lea edx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x44]
push edx
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x50]
push eax
push ecx
mov ecx, dword [esi]
lea eax, [esp + 0x84]
push edx
mov edx, dword [esp + 0x8c]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push eax
mov edx, dword [ecx]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
push edx
push eax
push ecx
push ebx
call fcn.10cdd7c0
add esp, 0x34
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10c646f7
mov edx, dword [esp + 0x3c]
lea eax, [edx - 2]
cmp eax, 8
ja case.0x10c64690.3
jmp dword [eax*4 + 0x10c6501c]
mov ebp, dword [esi]
neg ebp
sbb ebp, ebp
and ebp, reloc.libjsybheap.dll_Ordinal_16
add ebp, 0x80040c43
mov dword [esp + 0x10], ebp
jmp 0x10c646fb
mov ebp, dword [esi]
neg ebp
sbb ebp, ebp
and ebp, reloc.libjsybheap.dll_Ordinal_16
add ebp, 0x80040c47
mov dword [esp + 0x10], ebp
jmp 0x10c646fb
mov ebp, dword [esi]
neg ebp
sbb ebp, ebp
and ebp, reloc.libjsybheap.dll_Ordinal_16
add ebp, 0x80040c48
mov dword [esp + 0x10], ebp
jmp 0x10c646fb
mov ebp, dword [esi]
neg ebp
sbb ebp, ebp
and ebp, reloc.libjsybheap.dll_Ordinal_16
add ebp, 0x80040c41
mov dword [esp + 0x10], ebp
jmp 0x10c646fb
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x70]
test ebp, ebp
jne 0x10c6489a
mov eax, dword [esp + 0x60]
mov edi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x58]
mov cx, word [eax]
push ecx
push edi
push ebp
push ebx
call sym.PBVM90.dll_ob_type_vtable_module_srch
cmp ax, 0xffff
jne 0x10c64732
mov dword [esp + 0x10], 0x80040c4a
jmp 0x10c64f2e
mov edx, dword [ebp]
mov cx, word [edi]
and ecx, 0x3fff
and eax, 0xffff
mov edx, dword [edx + 0x2a]
lea edi, [ecx + ecx*4]
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0x2c]
mov ebp, dword [ecx + 2]
xor ecx, ecx
mov cx, word [ebp + edi*4 + 0xc]
lea edi, [ecx + ecx*4]
shl edi, 4
sub edi, ecx
mov ecx, dword [edx + 8]
mov edx, dword [ecx + edi*2 + 0x28]
mov ecx, dword [esp + 0x58]
lea eax, [edx + eax*8]
mov dword [esi], eax
mov ecx, dword [ecx]
mov dx, word [ecx + 0x10]
mov ecx, dword [ecx + 0x2a]
mov word [esp + 0x54], dx
mov edx, dword [eax]
mov ecx, dword [ecx + 0x28]
mov ax, word [edx + 0x1e]
mov edx, dword [esp + 0x6c]
shr eax, 9
and eax, 7
mov dword [esp + 0x3c], ecx
mov dword [edx], eax
mov eax, dword [esi]
mov ecx, dword [ecx + 8]
mov edx, dword [eax]
mov eax, dword [edx]
mov edx, dword [esp + 0x64]
and eax, 0x7fffffff
add ecx, eax
mov dword [edx], ecx
mov eax, dword [esi]
mov ecx, dword [eax]
mov eax, dword [esp + 0x68]
mov dx, word [ecx + 0x1e]
shr edx, 8
and edx, 1
mov dword [eax], edx
mov ecx, dword [esi]
mov edx, dword [ecx]
mov al, byte [edx + 0x1e]
and eax, 0xff
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10c64896
mov ecx, dword [ebx + 0x12a]
mov dword [ebx + 0x132], 0
cmp cx, 0xffff
mov dword [esp + 0x48], ecx
jne 0x10c647fd
xor edi, edi
jmp 0x10c64836
mov edx, dword [ebx + 0xae]
mov eax, ecx
and eax, 0xffff
cmp edx, eax
jbe 0x10c6482d
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x9a]
shl edx, 4
mov eax, dword [eax + edx + 4]
test eax, eax
je 0x10c6482d
cmp dword [eax + 0x12], 1
je 0x10c6482d
mov eax, dword [eax + 0xe]
jmp 0x10c64834
push ecx
push ebx
call sym.PBVM90.dll_ob_group_data_srch
mov edi, eax
mov eax, dword [esp + 0x4a]
test ax, ax
je 0x10c64896
mov ecx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x58]
mov dx, word [ecx]
mov ecx, dword [ebp]
push edx
push ecx
push eax
push edi
push ebx
call sym.PBVM90.dll_ob_get_proto_access_type
mov ecx, dword [ebp]
xor edx, edx
cmp ecx, edi
push 0
setne dl
push edx
push eax
mov eax, dword [esi]
mov ecx, dword [eax]
mov dx, word [ecx + 0x1e]
shr edx, 0xc
and edx, 3
push edx
push ebx
call sym.PBVM90.dll_ob_is_class_member_accessable
test eax, eax
jne 0x10c64896
mov eax, dword [esp + 0x68]
mov eax, dword [eax]
neg eax
sbb eax, eax
and eax, reloc.libjsybheap.dll_Ordinal_16
add eax, 0x80040c46
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x60]
test ebp, ebp
jne 0x10c64945
mov ecx, dword [esp + 0x6c]
cmp dword [ecx], 5
je 0x10c648ba
mov eax, dword [esp + 0x80]
test eax, eax
je 0x10c648ed
mov eax, dword [esp + 0x78]
test eax, eax
jbe 0x10c648f1
mov edx, dword [ebx + 0xbe]
lea ecx, [eax + eax]
push edx
mov edx, dword [ebx + 0x10]
push ecx
push edx
call sym.PBVM90.dll_pbstg_alc
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x30], 1
mov dword [ecx], eax
mov eax, dword [esp + 0x78]
jmp 0x10c648fe
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x8c]
mov dword [edx], 0
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx]
mov ecx, dword [edx + 0x2a]
mov edx, dword [ecx + 0x30]
mov ecx, dword [esi]
mov ecx, dword [ecx]
mov esi, dword [edx + 8]
mov ecx, dword [ecx + 8]
and ecx, 0x7fffffff
add esi, ecx
cmp eax, edi
je 0x10c6494d
jbe 0x10c6492b
lea edx, [edi + edi*2]
mov cl, byte [esi + edx*4 - 2]
jmp 0x10c64932
lea edx, [eax + eax*2]
mov cl, byte [esi + edx*4 + 0xa]
and cl, 6
cmp cl, 4
je 0x10c6494d
mov ebp, 0x80004005
mov dword [esp + 0x10], ebp
jmp 0x10c6494d
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x78]
test ebp, ebp
jne 0x10c64f2e
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x10c64962
mov dword [ecx], ebp
test eax, eax
jbe 0x10c64f2e
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x10c649aa
mov edx, dword [ebx + 0xbe]
mov ebp, dword [esp + 0x78]
mov eax, dword [ebx + 0x10]
push edx
push ebp
push eax
call sym.PBVM90.dll_pbstg_alc
mov ecx, dword [esp + 0x88]
mov edi, eax
xor eax, eax
mov dword [esp + 0x64], edi
mov dword [ecx], edi
mov ecx, ebp
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, ebp
test eax, eax
mov dword [esp + 0x68], 0
jbe 0x10c64f2e
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x88], 0
mov eax, ecx
shl eax, 3
sub eax, ecx
shl eax, 2
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x1c]
add esi, 0xa
lea ebp, [eax + 4]
mov dword [esp + 0x6c], esi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10c64f2e
mov edi, dword [esp + 0x6c]
mov eax, dword [esp + 0x24]
mov cl, byte [edi]
shr ecx, 1
and ecx, 3
test eax, eax
mov dword [esp + 0x74], ecx
jne 0x10c64a28
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x70]
sub eax, edx
mov edx, dword [ebx + 0x10e]
mov esi, dword [edx + eax]
mov dword [ebp - 4], esi
mov eax, dword [edx + eax + 4]
mov dword [ebp], eax
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x10c64d8c
cmp ecx, 2
je 0x10c64d8c
xor ecx, ecx
mov ax, word [edi - 2]
mov dword [esp + 0x40], ecx
xor esi, esi
mov dword [esp + 0x44], ecx
mov cx, word [edi]
mov edx, ecx
mov word [esp + 0x46], ax
mov edi, dword [esp + 0x44]
and edx, 1
mov eax, edx
and edi, 0xdfc1
shl eax, 0xd
shr cl, 2
or eax, edi
and ecx, 0x3e
mov edi, 1
or eax, ecx
cmp edx, edi
mov word [esp + 0x44], ax
jne 0x10c64a97
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx - 6]
mov ecx, dword [esp + 0x3c]
and edx, 0x7fffffff
mov esi, dword [ecx + 8]
add esi, edx
mov cx, word [ebp]
mov edx, dword [esp + 0x74]
and cx, 0xc0
cmp cx, 0x80
jne 0x10c64b12
test edx, edx
jne 0x10c64b12
lea edx, [esp + 0x18]
lea edi, [ebp - 4]
push edx
push 1
push edi
push ebx
call fcn.10c65040
and word [ebp], 0xff3f
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x28]
add esp, 0x10
mov dword [esp + 0x28], eax
and word [esp + 0x44], 0xff3f
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x5c]
push edx
push eax
push ecx
lea edx, [esp + 0x4c]
push esi
push edx
push edi
push ebx
call fcn.10c650e0
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x78]
add esp, 0x1c
cmp eax, 1
jne 0x10c64cf5
jmp 0x10c64cea
cmp cx, 0x80
jne 0x10c64b6a
cmp edx, 3
jne 0x10c64b6a
lea eax, [esp + 0x18]
lea edi, [ebp - 4]
push eax
push 0
push edi
push ebx
call fcn.10c65040
or byte [ebp], 0xc0
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x64]
add esp, 0x10
or byte [esp + 0x44], 0xc0
lea edx, [esp + 0x5c]
push ecx
push edx
push eax
lea ecx, [esp + 0x4c]
push esi
push ecx
push edi
push ebx
call fcn.10c650e0
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x78]
add esp, 0x1c
cmp eax, 1
jmp 0x10c64d7c
test cx, cx
jne 0x10c64b80
cmp edx, edi
jne 0x10c64b80
mov dword [esp + 0x14], 0
jmp 0x10c64d95
cmp cx, 0xc0
jne 0x10c64c2b
test edx, edx
jne 0x10c64c13
mov ecx, dword [esp + 0x38]
push edx
lea edi, [ebp - 4]
push edx
mov dx, word [ecx + 0x10]
push 1
push edi
push edx
push ebx
call fcn.10cc0620
and word [ebp], 0xff3f
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x30]
add esp, 0x18
mov dword [esp + 0x28], eax
and word [esp + 0x44], 0xff3f
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x5c]
push edx
push eax
push ecx
lea edx, [esp + 0x4c]
push esi
push edx
push edi
push ebx
call fcn.10c650e0
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x78]
add esp, 0x1c
cmp eax, 1
jne 0x10c64cf5
lea eax, [esp + 0x28]
push eax
push ebx
call sym.PBVM90.dll_rtDataFree
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov byte [ecx + edx], 1
jmp 0x10c64d95
cmp cx, 0xc0
jne 0x10c64c2b
cmp edx, edi
jne 0x10c64c2b
mov dword [esp + 0x14], 0
jmp 0x10c64d95
test cx, cx
jne 0x10c64d06
cmp edx, 3
jne 0x10c64c9c
mov edx, dword [ebp - 4]
lea ecx, [ebp - 4]
or al, 0xc0
mov dword [esp + 0x28], edx
mov edx, dword [ecx + 4]
mov word [esp + 0x44], ax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], edx
push eax
mov eax, dword [esp + 0x58]
lea edx, [esp + 0x60]
push edx
push eax
lea edx, [esp + 0x4c]
push esi
push edx
push ecx
push ebx
call fcn.10c650e0
or byte [ebp], 0xc0
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x78]
add esp, 0x1c
cmp eax, edi
jne 0x10c64c8b
lea eax, [esp + 0x28]
push eax
push ebx
call sym.PBVM90.dll_rtDataFree
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov byte [ecx + edx], 2
jmp 0x10c64d95
test cx, cx
jne 0x10c64d06
test edx, edx
jne 0x10c64d06
mov edx, dword [ebp - 4]
lea ecx, [ebp - 4]
and ax, 0xff3f
mov dword [esp + 0x28], edx
mov edx, dword [ecx + 4]
mov word [esp + 0x44], ax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], edx
push eax
mov eax, dword [esp + 0x58]
lea edx, [esp + 0x60]
push edx
push eax
lea edx, [esp + 0x4c]
push esi
push edx
push ecx
push ebx
call fcn.10c650e0
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x78]
add esp, 0x1c
cmp eax, edi
jne 0x10c64cf5
lea eax, [esp + 0x28]
push eax
push ebx
call sym.PBVM90.dll_rtDataFree
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov byte [ecx + edx], 1
jmp 0x10c64d95
cmp cx, 0x80
jne 0x10c64d49
cmp edx, edi
jne 0x10c64d49
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
and eax, 0xffbf
lea edx, [esp + 0x5c]
or al, 0x80
push ecx
mov word [esp + 0x48], ax
mov eax, dword [esp + 0x58]
push edx
push eax
lea ecx, [esp + 0x4c]
push esi
lea edx, [ebp - 4]
push ecx
push edx
push ebx
call fcn.10c650e0
add esp, 0x1c
mov dword [esp + 0x14], eax
jmp 0x10c64d95
mov edx, dword [esp + 0x54]
or al, 0xc0
mov word [esp + 0x44], ax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x5c]
push eax
push ecx
push edx
lea eax, [esp + 0x4c]
push esi
lea ecx, [ebp - 4]
push eax
push ecx
push ebx
call fcn.10c650e0
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x78]
add esp, 0x1c
cmp eax, edi
jne 0x10c64d95
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov byte [edx + eax], 2
jmp 0x10c64d95
cmp ecx, 3
jne 0x10c64d95
or byte [ebp], 0xc0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x10c64e31
mov eax, dword [esp + 0x34]
test eax, eax
je 0x10c64df1
mov esi, dword [ebx + 0x106]
mov ecx, dword [ebx + 0x10e]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
mov edi, dword [esp + 0x68]
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, dword [esp + 0x78]
sub edx, ecx
mov ecx, dword [esp + 0x8c]
add edx, edi
mov eax, edx
shl eax, 3
sub eax, edx
mov edx, dword [ecx]
mov ax, word [esi + eax*4 + 0x18]
mov word [edx + edi*2], ax
jmp 0x10c64e35
lea ecx, [esp + 0x48]
lea edx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x5c]
push edx
mov dx, word [ecx + 0x10]
push eax
lea eax, [ebp - 4]
push edx
push eax
push ebx
call fcn.10c63300
mov ecx, dword [esp + 0xa4]
mov edi, dword [esp + 0x80]
mov ax, word [esp + 0x70]
add esp, 0x18
mov edx, dword [ecx]
mov word [edx + edi*2], ax
jmp 0x10c64e35
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x80]
test eax, eax
je 0x10c64efa
mov ax, word [ebp]
mov ecx, eax
and ecx, 0xc0
cmp cx, 0xc0
jne 0x10c64e8a
and eax, 0x1c00
cmp eax, 0xc00
jne 0x10c64efa
mov edx, dword [esp + 0x8c]
push 1
push 0
lea ecx, [ebp - 4]
mov eax, dword [edx]
push 1
push ecx
mov cx, word [eax + edi*2]
push ecx
push ebx
call fcn.10cc0620
add esp, 0x18
jmp 0x10c64efa
cmp cx, 0x80
jne 0x10c64ebc
mov edx, dword [ebx + 0x11e]
mov eax, dword [ebx + 0x10]
mov esi, dword [ebp - 4]
push edx
push 0x1a
push eax
call sym.PBVM90.dll_pbstg_alc
mov ecx, 6
mov edi, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 4], eax
mov word [ebp], 0x80
jmp 0x10c64efa
test byte [ebp + 3], 0xc0
je 0x10c64efa
mov ecx, eax
and ecx, 0x1c00
cmp ecx, 0xc00
jne 0x10c64efa
and eax, 0x2000
cmp eax, 0x2000
je 0x10c64efa
mov ecx, dword [ebp - 4]
lea eax, [ebp - 4]
test ecx, ecx
je 0x10c64efa
push 0x765
push 0x10e09284
push eax
push ecx
push ebx
call sym.PBVM90.dll_ob_insert_inst_ref_dbg
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x88]
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x78]
inc eax
add edi, 0x1c
add esi, 0xc
add ebp, 8
cmp eax, ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x88], edi
mov dword [esp + 0x6c], esi
jb 0x10c649e5
mov esi, dword [esp + 0x10]
test esi, esi
je 0x10c64f6c
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10c64f6c
mov edx, dword [ebx + 0x10]
push eax
push edx
call sym.PBVM90.dll_pbstg_fee
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x8c]
mov dword [eax], 0
mov eax, dword [ecx]
test eax, eax
je 0x10c64f6c
mov edx, dword [ebx + 0x10]
push eax
push edx
call sym.PBVM90.dll_pbstg_fee
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
cmp cx, 0x8000
jne 0x10c645c1
mov ecx, dword [esi - 6]
test ecx, ecx
jne 0x10c645c1
xor ecx, ecx
mov dword [ebx + 0x132], ecx
mov ax, word [eax + 0x18]
cmp ax, 0xffff
jne 0x10c64fa4
mov dword [esp + 0x14], ecx
jmp 0x10c64fe0
mov edx, dword [ebx + 0xae]
mov ecx, eax
and ecx, 0xffff
cmp edx, ecx
jbe 0x10c64fd5
mov edx, dword [ebx + 0x9a]
lea ecx, [ecx + ecx*4]
shl ecx, 4
mov ecx, dword [edx + ecx + 4]
test ecx, ecx
je 0x10c64fd5
cmp dword [ecx + 0x12], 1
je 0x10c64fd5
mov eax, dword [ecx + 0xe]
jmp 0x10c64fdc
push eax
push ebx
call sym.PBVM90.dll_ob_group_data_srch
mov dword [esp + 0x14], eax
mov ax, word [esi]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x14]
push ecx
push edx
push ebx
mov dword [esp + 0x2c], eax
call sym.PBVM90.dll_ob_class_indirect
mov eax, dword [esp + 0x20]
mov ecx, eax
and ecx, 0xc000
cmp ecx, 0x8000
jne 0x10c645be
mov word [esi], 0x4060
jmp 0x10c645c1