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

Disassembly:
sub esp, 0x40
push ebx
mov ebx, dword [esp + 0x64]
push ebp
push esi
mov esi, dword [esp + 0x50]
push edi
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0
mov eax, dword [esi + 0xbe]
mov ecx, dword [esi + 0x10]
push eax
push ebx
push ecx
call sym.PBVM90.dll_os_vabuild_start
mov ebp, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
xor eax, eax
mov dword [ebp], 0
mov dword [ecx], 0
mov dword [esp + 0x1c], eax
jmp 0x10ccec95
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x68]
cmp eax, dword [esp + 0x60]
jge 0x10ccf27a
mov edi, dword [esp + 0x64]
lea edx, [eax + eax*2]
lea edx, [edi + edx*4]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x6c], edx
lea edi, [edi + eax*8]
mov al, byte [edx + 0xa]
shr eax, 1
and eax, 3
cmp eax, 1
mov dword [esp + 0x20], eax
jne 0x10ccee92
mov dword [esp + 0x20], edi
mov edi, dword [edi]
mov eax, dword [edi]
test eax, eax
jne 0x10ccecda
mov ebx, dword [edi + 0xa]
jmp 0x10cced03
cmp eax, 1
jne 0x10ccecef
mov eax, dword [edi + 0xe]
mov ecx, dword [edi + 0xa]
push eax
push ecx
push esi
call sym.PBVM90.dll_ot_get_field_lv
jmp 0x10cced01
mov edx, dword [edi + 0x16]
mov eax, dword [edi + 0xe]
mov ecx, dword [edi + 0xa]
push edx
push eax
push ecx
push esi
call sym.PBVM90.dll_ot_get_field_item_lv
mov ebx, eax
mov edx, dword [ebp]
mov edi, dword [esp + 0x68]
inc edx
mov eax, edx
mov dword [ebp], edx
mov edx, dword [esi + 0xbe]
lea ecx, [eax + eax*4]
push edx
lea edx, [eax + ecx*2]
mov eax, dword [edi]
shl edx, 1
push edx
push eax
push esi
call fcn.10c50fa0
mov dword [edi], eax
mov ecx, dword [ebp]
add esp, 0x10
lea edx, [ecx + ecx*4]
lea ecx, [ecx + edx*2]
lea edi, [eax + ecx*2 - 0x16]
mov ax, word [ebx + 4]
mov edx, eax
and edx, 0x2000
cmp edx, 0x2000
jne 0x10ccedad
mov ecx, dword [esp + 0x68]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x70]
push 1
mov dword [esp + 0x5c], 0
push ebp
lea edx, [esp + 0x60]
mov dword [edi], 1
push ecx
mov cx, word [eax + 8]
push edx
mov edx, dword [esp + 0x6c]
push 0
push ecx
push ebx
push edx
push esi
call fcn.10ccf2d0
mov ecx, dword [esp + 0x94]
add esp, 0x28
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov dx, word [ecx + 8]
push eax
mov eax, dword [esp + 0x74]
mov word [edi + 0x14], dx
mov ecx, dword [esi + 0x10]
push eax
push ecx
jmp 0x10ccee76
test byte [ebx + 7], 0xc0
je 0x10ccee3f
mov edx, eax
and edx, 0x1c00
cmp edx, 0xc00
jne 0x10ccee3f
mov cl, al
and cl, 0xc0
cmp cl, 0x80
je 0x10ccee3f
and al, 4
cmp al, 4
jne 0x10ccee3f
mov edx, dword [esp + 0x6c]
xor eax, eax
mov dword [esp + 0x54], eax
mov dword [edi], 2
mov dword [edi + 8], ebx
mov cx, word [edx + 8]
mov word [edi + 0x14], cx
mov ecx, dword [ebx]
cmp ecx, eax
je 0x10ccee1f
mov ecx, dword [esp + 0x68]
lea edx, [esp + 0x18]
push edx
push 1
push ebp
lea edx, [esp + 0x60]
push ecx
push edx
push eax
mov eax, dword [esp + 0x70]
push ebx
push eax
push esi
call fcn.10ccfa40
add esp, 0x24
mov dword [edi + 4], eax
jmp 0x10ccee6c
mov dword [edi + 4], eax
mov eax, dword [esp + 0x58]
push eax
push 0x5058
push esi
call sym.PBVM90.dll__rt_formatted_error
add esp, 0xc
mov dword [esp + 0x14], 0
jmp 0x10ccee7b
xor eax, eax
mov dword [edi], 0
mov ax, word [ebx + 6]
sub eax, 4
je 0x10ccee65
sub eax, 2
je 0x10ccee65
sub eax, 5
je 0x10ccee5e
mov eax, ebx
jmp 0x10ccee6c
mov ebx, dword [ebx]
lea eax, [ebx + 4]
jmp 0x10ccee6c
push ebx
push esi
call sym.PBVM90.dll_ot_get_valptr
mov ecx, dword [esp + 0x70]
mov edx, dword [esi + 0x10]
push eax
push ecx
push edx
call sym.PBVM90.dll_os_vabuild_ptrarg
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x70]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 1
jmp 0x10ccf264
mov ax, word [edi + 4]
mov edx, eax
and edx, 0x2000
cmp edx, 0x2000
jne 0x10ccef43
mov eax, dword [ebp]
mov dword [esp + 0x54], 0
inc eax
mov dword [ebp], eax
mov edx, dword [esi + 0xbe]
mov ecx, dword [ecx]
push edx
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
shl eax, 1
push eax
push ecx
push esi
call fcn.10c50fa0
mov edx, dword [esp + 0x78]
add esp, 0x10
mov dword [edx], eax
mov ecx, dword [ebp]
lea edx, [ecx + ecx*4]
lea ecx, [ecx + edx*2]
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x58]
lea ebx, [eax + ecx*2 - 0x16]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x74]
push ebp
mov dword [ebx], 1
push ecx
mov cx, word [eax + 8]
push edx
mov edx, dword [esp + 0x6c]
push 0
push ecx
push edi
push edx
push esi
call fcn.10ccf2d0
lea ecx, [ebx + 4]
add esp, 0x28
mov dword [ebx + 0x10], 0
mov dword [ecx], eax
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esi + 0x10]
push 4
push eax
push ecx
call sym.PBVM90.dll_os_vabuild_add
mov ebx, dword [esp + 0x70]
jmp 0x10ccf264
test byte [edi + 7], 0xc0
je 0x10ccf020
mov edx, eax
and edx, 0x1c00
cmp edx, 0xc00
jne 0x10ccf020
mov dl, al
and dl, 0xc0
cmp dl, 0x80
je 0x10ccf020
and al, 4
cmp al, 4
jne 0x10ccf020
mov eax, dword [ebp]
mov dword [esp + 0x54], 0
inc eax
mov dword [ebp], eax
mov edx, dword [esi + 0xbe]
mov ecx, dword [ecx]
push edx
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
shl eax, 1
push eax
push ecx
push esi
call fcn.10c50fa0
mov edx, dword [esp + 0x78]
add esp, 0x10
mov dword [edx], eax
mov ecx, dword [ebp]
lea edx, [ecx + ecx*4]
lea ecx, [ecx + edx*2]
lea eax, [eax + ecx*2 - 0x16]
xor ecx, ecx
mov dword [eax], 2
mov dword [eax + 0x10], ecx
cmp dword [edi], ecx
je 0x10ccf00e
mov ecx, dword [esp + 0x68]
lea ebx, [eax + 4]
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [esp + 0x60]
push ebp
lea edx, [esp + 0x60]
push ecx
push edx
push 0
push edi
push eax
push esi
call fcn.10ccfa40
mov ecx, dword [esp + 0x94]
add esp, 0x24
mov dword [ebx], eax
mov edx, dword [esi + 0x10]
push ebx
push 4
push ecx
push edx
call sym.PBVM90.dll_os_vabuild_add
mov ebx, dword [esp + 0x70]
jmp 0x10ccf264
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x58]
push eax
push 0x5058
jmp 0x10ccf253
mov ecx, dword [esp + 0x6c]
xor eax, eax
mov ax, word [ecx + 8]
dec eax
cmp eax, 0x11
ja case.0x10ccf034.8
jmp dword [eax*4 + 0x10ccf288]
push edi
push esi
call sym.PBVM90.dll_ot_get_int_value
lea edx, [esp + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x10]
push edx
push 4
push ebx
push eax
call sym.PBVM90.dll_os_vabuild_add
jmp 0x10ccf264
push edi
push esi
call sym.PBVM90.dll_ot_get_uint_value
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0x2c]
push ecx
push 4
push ebx
push edx
mov dword [esp + 0x3c], eax
call sym.PBVM90.dll_os_vabuild_add
jmp 0x10ccf264
push edi
push esi
call sym.PBVM90.dll_ot_get_long_value
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
push eax
push 4
push ebx
push ecx
call sym.PBVM90.dll_os_vabuild_add
jmp 0x10ccf264
push edi
push esi
call sym.PBVM90.dll_ot_get_ulong_value
lea edx, [esp + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x10]
push edx
push 4
push ebx
push eax
call sym.PBVM90.dll_os_vabuild_add
jmp 0x10ccf264
push edi
push esi
call sym.PBVM90.dll_ot_get_double_value
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0x48]
fstp qword [esp + 0x48]
push ecx
push 8
push ebx
push edx
call sym.PBVM90.dll_os_vabuild_add
jmp 0x10ccf264
push edi
push esi
call sym.PBVM90.dll_ot_get_float_value
mov ecx, dword [esi + 0x10]
lea eax, [esp + 0x38]
fstp dword [esp + 0x38]
push eax
push 4
push ebx
push ecx
call sym.PBVM90.dll_os_vabuild_add
jmp 0x10ccf264
push edi
push esi
call sym.PBVM90.dll_ot_get_double_value
mov eax, dword [esi + 0x10]
lea edx, [esp + 0x48]
fstp qword [esp + 0x48]
push edx
push 8
push ebx
push eax
call sym.PBVM90.dll_os_vabuild_add
jmp 0x10ccf264
push edi
push esi
call sym.PBVM90.dll_ot_get_valptr
test eax, eax
mov dword [esp + 0x24], eax
je 0x10ccf183
cmp dword [esp + 0x1c], 3
jne 0x10ccf183
call fcn.10bd19f0
test eax, eax
je 0x10ccf153
mov ecx, dword [esp + 0x58]
push 0x10e10c58
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
jmp 0x10ccf163
mov edx, dword [esp + 0x58]
push str.sqlconfigdatasource
push edx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x10ccf183
mov eax, dword [esp + 0x24]
cmp byte [eax], 0
je 0x10ccf183
cmp byte [eax], 0x3b
jne 0x10ccf17b
mov byte [eax], 0
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10ccf173
mov ecx, dword [esi + 0x10]
lea eax, [esp + 0x24]
push eax
push 4
push ebx
push ecx
call sym.PBVM90.dll_os_vabuild_add
jmp 0x10ccf264
mov edi, dword [edi]
mov eax, dword [esi + 0x10]
lea edx, [esp + 0x3c]
add edi, 4
push edx
push 4
push ebx
push eax
mov dword [esp + 0x4c], edi
call sym.PBVM90.dll_os_vabuild_add
jmp 0x10ccf264
movsx ecx, word [edi]
mov eax, dword [esi + 0x10]
lea edx, [esp + 0x40]
push edx
push 4
push ebx
push eax
mov dword [esp + 0x50], ecx
call sym.PBVM90.dll_os_vabuild_add
jmp 0x10ccf264
movsx ecx, word [edi]
mov eax, dword [esi + 0x10]
lea edx, [esp + 0x44]
push edx
push 4
push ebx
push eax
mov dword [esp + 0x54], ecx
call sym.PBVM90.dll_os_vabuild_add
jmp 0x10ccf264
push edi
push esi
call sym.PBVM90.dll_ot_get_valptr
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0x10]
push ecx
push 4
push ebx
push edx
mov dword [esp + 0x20], eax
call sym.PBVM90.dll_os_vabuild_add
jmp 0x10ccf264
push edi
push esi
call sym.PBVM90.dll_ot_get_valptr
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push 4
push ebx
push ecx
call sym.PBVM90.dll_os_vabuild_add
jmp 0x10ccf264
push edi
push esi
call sym.PBVM90.dll_ot_get_valptr
lea edx, [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x10]
push edx
push 4
push ebx
push eax
call sym.PBVM90.dll_os_vabuild_add
jmp 0x10ccf264
mov ecx, dword [esp + 0x58]
push ecx
push 0x501e
push esi
call sym.PBVM90.dll__rt_formatted_error
add esp, 0xc
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
inc ecx
cmp eax, 1
mov dword [esp + 0x1c], ecx
je 0x10ccec8d
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret