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

Disassembly:
sub esp, 0x30
push ebx
mov ebx, dword [esp + 0x44]
push ebp
mov ebp, dword [esp + 0x40]
push esi
push edi
mov eax, dword [ebp + 0x1df]
mov ecx, dword [ebp + 0x1db]
mov dword [esp + 0x3c], eax
xor eax, eax
push eax
lea edx, [esp + 0x14]
lea edi, [ebx + 0x28]
push str.SELECT_1_FROM
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x64]
lea esi, [ebx + 0x18]
push edx
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x64]
push edi
push esi
push eax
push ecx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], esi
call fcn.10b76780
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0x78]
add esp, 0x1c
lea eax, [esp + 0x10]
push 0
push edx
mov edx, dword [esp + 0x60]
push eax
push edi
push esi
push ecx
push edx
call fcn.10b76780
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
add esp, 0x1c
lea eax, [esp + 0x10]
push 0
push 0x10df4b70
push eax
push edi
push esi
push ecx
push edx
call fcn.10b76780
add esp, 0x1c
cmp word [ebx + 0x3c], 0
mov dword [esp + 0x24], 1
mov dword [esp + 0x1c], 0
jle 0x10bcc9b2
mov eax, dword [esp + 0x4c]
lea ebp, [ebx + 0xa2]
add eax, 0x72
mov dword [esp + 0x14], eax
cmp word [ebp + 0xa], 0
je 0x10bcc98b
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10bcc822
mov dword [esp + 0x24], 0
jmp 0x10bcc842
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push 0
lea ecx, [esp + 0x14]
push 0x10df4b78
push ecx
push edi
push esi
push edx
push eax
call fcn.10b76780
add esp, 0x1c
mov ecx, dword [ebp - 0x40]
mov eax, dword [esp + 0x5c]
push 0
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x60]
push edx
push edi
push esi
push eax
push ecx
call fcn.10b76780
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x38]
add esp, 0x1c
movsx eax, word [edx + 0x3c]
cmp ecx, eax
jge 0x10bcc897
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx + 0x14]
mov eax, dword [ecx]
imul ebx, dword [esp + 0x54]
add ebx, eax
xor eax, eax
mov ax, word [ecx + 0x40]
lea edx, [ebx + 4]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
jmp 0x10bcc920
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10bcc914
mov dword [esp + 0x2c], eax
mov eax, dword [ebp]
cmp eax, 9
mov dword [esp + 0x28], 0
lea ebx, [esp + 0x18]
mov dword [esp + 0x18], 0
je 0x10bcc8c8
cmp eax, 7
je 0x10bcc8c8
cmp eax, 8
jne 0x10bcc920
call fcn.10bd19f0
test eax, eax
je 0x10bcc8e5
mov eax, dword [ebp - 0x28]
push 0x10df4b80
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
jmp 0x10bcc905
mov esi, dword [ebp - 0x28]
mov edi, 0x10df4b88
mov ecx, 6
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x10bcc8fd
sbb eax, eax
sbb eax, 0xffffffff
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
test eax, eax
jne 0x10bcc920
mov ecx, dword [ebp - 0x24]
push ecx
call sym.PBVM90.dll_shdtNow
jmp 0x10bcc920
lea ebx, [esp + 0x18]
mov dword [esp + 0x18], 0xffffffff
cmp dword [ebx], 0
jl 0x10bcc945
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
push 0
lea edx, [esp + 0x14]
push 0x10df4b90
push edx
push edi
push esi
push eax
push ecx
call fcn.10b76780
add esp, 0x1c
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x10]
push edx
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [ebx]
push edi
push esi
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [ebp - 4]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
mov edx, dword [esp + 0x80]
mov ecx, dword [eax + 0x30]
mov eax, dword [esp + 0x7c]
push ecx
push edx
push eax
call fcn.10b76e00
mov ebx, dword [esp + 0x80]
add esp, 0x30
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
add ecx, 0x5e
inc eax
mov dword [esp + 0x14], ecx
add ebp, 0x5e
movsx ecx, word [ebx + 0x3c]
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x10bcc805
mov ebp, dword [esp + 0x48]
mov edx, dword [esi]
push ebp
mov dword [ebp + 0x1a3], edx
mov dword [ebp + 0xff], 0x1a
call sym.PBVM90.dll_DBI_DatabaseInfo
push ebp
call sym.PBVM90.dll_DBI_RuntimeFetchNext
mov eax, dword [ebp + 0x103]
test eax, eax
jne 0x10bcc9f3
mov edx, dword [esp + 0x20]
push ebp
inc edx
mov dword [esp + 0x24], edx
call sym.PBVM90.dll_DBI_RuntimeFetchNext
mov eax, dword [ebp + 0x103]
test eax, eax
je 0x10bcc9da
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
pop edi
mov dword [ebp + 0x1db], eax
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x1df], ecx
mov dword [ebp + 0x103], 0
pop esi
pop ebp
pop ebx
add esp, 0x30
ret