Function at 0x10d07210
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10dbbd60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 8
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x10], esp
cmp eax, ebx
mov dword [ebp - 0x18], ebx
jne 0x10d0731d
mov eax, dword [esi + 0x20]
mov dword [ebp - 4], ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [esi + 0x24], eax
je 0x10d07316
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10e19824
push eax
call edi
mov ecx, dword [esi + 0x24]
push 0x10e19844
push ecx
mov dword [esi + 0x2c], eax
call edi
mov edx, dword [esi + 0x24]
push str._PBX_InvokeGlobalFunction_12
push edx
mov dword [esi + 0x30], eax
call edi
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x24]
push str._PBX_DrawVisualObject_28
push eax
call edi
mov ecx, dword [esi + 0x24]
push str._PBX_Notify_8
push ecx
mov dword [esi + 0x38], eax
call edi
mov edx, dword [esi + 0x28]
mov dword [esi + 0x3c], eax
push edx
call fcn.10d06d60
mov ecx, dword [esi + 0x3c]
add esp, 4
cmp ecx, ebx
je 0x10d07316
push 1
push eax
call ecx
jmp 0x10d07316
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x10d07330
mov dword [ebp - 0x18], 0x80004005
jmp 0x10d07473
mov ebx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, edx
mov word [ebp + 0xa], dx
mov ecx, dword [ebx + 0x2a]
and eax, 0x3fff
mov edx, dword [esi + 0x28]
mov edi, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
lea eax, [eax + eax*4]
mov edi, dword [edi + 2]
mov edi, dword [edi + eax*4 + 8]
mov eax, dword [ecx + 8]
and edi, 0x7fffffff
add edi, eax
mov ax, word [ebx + 0x10]
mov word [ebp + 8], ax
mov ecx, dword [ebp + 8]
push ecx
push edx
call sym.PBVM90.dll_ob_get_system_class
cmp ax, 0x406b
push 0x18
jne 0x10d073a6
call sub.libjsybheap.dll_Ordinal_13
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
mov dword [ebp - 4], 2
je 0x10d073d0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ecx
push edx
push ebx
push edi
push esi
mov ecx, eax
call fcn.10d09560
jmp 0x10d073d2
call sub.libjsybheap.dll_Ordinal_13
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
mov dword [ebp - 4], 3
je 0x10d073d0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ecx
push edx
push ebx
push edi
push esi
mov ecx, eax
call fcn.10d092a0
jmp 0x10d073d2
xor eax, eax
test eax, eax
mov dword [ebp + 0xc], eax
je 0x10d07473
mov eax, dword [esi + 0x18]
mov dword [ebp + 8], eax
lea ecx, [eax + 1]
mov dword [esi + 0x18], ecx
mov edx, dword [esi + 8]
cmp eax, edx
mov dword [ebp + 0x10], ecx
jl 0x10d0746a
mov edx, dword [esi + 0xc]
cmp eax, edx
jl 0x10d07467
mov ecx, dword [esi + 0x10]
lea ebx, [ecx + edx]
cmp ebx, eax
jg 0x10d0740a
add ebx, ecx
cmp ebx, eax
jle 0x10d07404
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10d07427
mov edx, dword [esi + 4]
lea ecx, [ebx*4]
push 0
push ecx
push edx
push eax
call sym.PBVM90.dll_pbstg_realc
jmp 0x10d0743b
mov ecx, dword [esi + 4]
lea eax, [ebx*4]
push eax
push ecx
call sub.libjsybheap.dll_Ordinal_15
add esp, 8
mov edx, dword [esi + 0xc]
mov ecx, ebx
mov dword [esi + 4], eax
mov edi, dword [esi + 4]
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 ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ecx
mov ecx, dword [esi + 4]
mov edx, dword [ebp + 0xc]
mov dword [ecx + eax*4], edx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc