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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov ecx, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x14], ebx
xor edi, edi
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x100948a5
mov eax, str.NULL
jmp 0x100948be
mov al, byte [ebx + 0x61]
cmp al, 0x76
je 0x100948f8
cmp al, 0xba
je 0x100948b9
cmp al, 0x6d
mov eax, str.invalid
jne 0x100948be
mov eax, str.unopened
push eax
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.100296a0
add esp, 0xc
push 0x10166fc4
push 0x20ed0
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.100296a0
add esp, 0x14
mov eax, 0x15
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0xc]
test ecx, ecx
mov esi, 0x10166843
cmovne esi, ecx
test eax, eax
je 0x10094913
push eax
call dword [0x10177b98]
add esp, 4
mov dword [ebx + 0x40], edi
cmp dword [ebx + 0x124], edi
je 0x10094929
xor edx, edx
mov ecx, ebx
call fcn.1002a360
jmp 0x10094930
mov dword [ebx + 0x44], 0xffffffff
cmp byte [esi], 0
mov dword [esp + 0x18], 0
je 0x10094c86
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x2c]
push eax
xor ebx, ebx
lea eax, [esp + 0x2c]
push eax
push ebx
push 0x80
push 0xffffffffffffffff
mov edx, esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.1009d7f0
mov edi, eax
add esp, 0x14
mov dword [esp + 0x14], edi
test edi, edi
mov edi, dword [esp + 0x28]
jne 0x10094c72
test edi, edi
jne 0x1009498a
mov esi, dword [esp + 0x2c]
jmp 0x10094930
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ebx
push edi
call fcn.10054c20
add esp, 4
mov esi, eax
cmp dword [ebp + 0x10], 0
mov dword [esp + 0x14], esi
je 0x10094a62
cmp esi, 0x64
je 0x100949da
cmp esi, 0x65
jne 0x10094a6b
cmp dword [esp + 0x28], 0
jne 0x10094a6b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
and eax, 0x100
or eax, 0
je 0x10094a6b
jmp 0x100949e5
cmp dword [esp + 0x28], 0
jne 0x10094a92
movzx ebx, word [edi + 0x90]
mov ecx, dword [ebp + 8]
push 0
mov dword [esp + 0x24], ebx
lea eax, [ebx*8 + 4]
push eax
call fcn.10026f30
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
je 0x10094c8a
xor esi, esi
test ebx, ebx
je 0x10094a35
push 0
push 0
mov edx, esi
mov ecx, edi
call fcn.10055ce0
mov ecx, dword [esp + 0x20]
add esp, 8
mov dword [ecx + esi*4], eax
inc esi
cmp esi, ebx
jl 0x10094a17
mov eax, ecx
mov esi, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], 1
cmp esi, 0x64
je 0x10094a96
mov ecx, dword [esp + 0x24]
push eax
push ecx
push ebx
push dword [ebp + 0x14]
call dword [ebp + 0x10]
add esp, 0x10
test eax, eax
jne 0x10094cd5
cmp esi, 0x64
je 0x10094992
cmp byte [edi + 0x97], 1
mov dword [esp + 0x14], 0
jb 0x10094c2e
mov ecx, edi
call fcn.10051730
mov ebx, eax
mov dword [esp + 0x14], ebx
jmp 0x10094c30
mov eax, dword [esp + 0x18]
lea ecx, [eax + ebx*4]
xor ebx, ebx
mov dword [esp + 0x24], ecx
cmp dword [esp + 0x20], ebx
jle 0x10094c1a
xor edx, edx
mov dword [esp + 0x1c], edx
nop
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10094ac7
push eax
call dword [0x10177b98]
mov edx, dword [esp + 0x20]
add esp, 4
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x10094ae5
movzx eax, word [edi + 0x90]
cmp ebx, eax
jge 0x10094ae5
test ebx, ebx
js 0x10094ae5
add ecx, edx
jne 0x10094afd
xor esi, esi
jmp 0x10094b2c
mov ecx, dword [edi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.1002a360
mov ecx, 0x10161a88
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x10094b1a
cmp byte [ecx + 0x12], 1
jne 0x10094b1a
mov esi, dword [ecx + 8]
jmp 0x10094b2c
test dl, 1
je 0x10094b23
xor esi, esi
jmp 0x10094b2c
mov dl, 1
call fcn.1004e000
mov esi, eax
mov ecx, dword [edi]
mov edx, dword [edi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x10094b3f
test edx, edx
jne 0x10094b3f
xor eax, eax
jmp 0x10094b44
call fcn.100272e0
mov dword [edi + 0x24], eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10094b5a
push eax
call dword [0x10177ba0]
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword [ecx + ebx*4], esi
test esi, esi
jne 0x10094c00
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10094b7c
push eax
call dword [0x10177b98]
add esp, 4
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x10094b9a
movzx eax, word [edi + 0x90]
cmp ebx, eax
jge 0x10094b9a
test ebx, ebx
js 0x10094b9a
mov eax, dword [esp + 0x1c]
add eax, ecx
jmp 0x10094bb2
mov ecx, dword [edi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.1002a360
mov eax, 0x10161a88
movzx eax, word [eax + 0x10]
mov ecx, dword [edi]
and eax, 0x3f
mov edx, dword [edi + 0x24]
cmp byte [ecx + 0x57], 0
mov al, byte [eax + 0x10165818]
mov byte [esp + 0x13], al
jne 0x10094bd6
test edx, edx
jne 0x10094bd6
xor eax, eax
jmp 0x10094bdb
call fcn.100272e0
mov dword [edi + 0x24], eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10094bf1
push eax
call dword [0x10177ba0]
add esp, 4
cmp byte [esp + 0x13], 5
jne 0x10094cc5
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
inc ebx
add edx, 0x28
mov dword [esp + 0x1c], edx
cmp ebx, dword [esp + 0x20]
jl 0x10094ab0
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov dword [ecx + ebx*4], 0
mov ebx, dword [esp + 0x20]
jmp 0x10094a4e
xor ebx, ebx
mov ecx, edi
call fcn.10051810
mov esi, dword [esp + 0x2c]
xor edi, edi
movzx eax, byte [esi]
test byte [eax + 0x10160ea8], 1
je 0x10094c5e
nop dword [eax]
movzx eax, byte [esi + 1]
inc esi
test byte [eax + 0x10160ea8], 1
jne 0x10094c50
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10094c76
mov ecx, dword [ebp + 8]
mov edx, eax
call fcn.10026a90
jmp 0x10094c76
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x18], 0
test ebx, ebx
je 0x10094930
mov esi, dword [esp + 0x14]
mov ebx, dword [ebp + 8]
test edi, edi
je 0x10094ca8
cmp byte [edi + 0x97], 1
jb 0x10094ca1
mov ecx, edi
call fcn.10051730
mov ecx, edi
call fcn.10051810
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10094cb9
mov edx, eax
mov ecx, ebx
call fcn.10026a90
cmp byte [ebx + 0x57], 0
jne 0x10094d02
test esi, esi
jne 0x10094d02
jmp 0x10094d0d
mov ebx, dword [ebp + 8]
mov ecx, ebx
call fcn.10027200
mov esi, dword [esp + 0x14]
jmp 0x10094c8d
cmp byte [edi + 0x97], 1
mov esi, 4
jb 0x10094cea
mov ecx, edi
call fcn.10051730
mov ecx, edi
call fcn.10051810
mov ebx, dword [ebp + 8]
mov edx, esi
mov ecx, ebx
mov dword [ebx + 0x40], esi
call fcn.1002a360
jmp 0x10094ca8
mov edx, esi
mov ecx, ebx
call fcn.100272e0
mov esi, eax
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x10094d89
test esi, esi
je 0x10094d7e
push ebx
call fcn.100d8de0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x10094d2b
mov dword [edi], eax
jmp 0x10094d68
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10094d30
sub ecx, edx
push 0
lea eax, [ecx + 1]
push eax
mov dword [esp + 0x34], eax
call fcn.100267c0
mov edi, eax
add esp, 8
test edi, edi
je 0x10094d5f
push dword [esp + 0x2c]
push ebx
push edi
call fcn.10139d00
add esp, 0xc
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
test edi, edi
jne 0x10094d86
mov ebx, dword [ebp + 8]
mov esi, 7
mov edx, esi
mov ecx, ebx
mov dword [ebx + 0x40], esi
call fcn.1002a360
jmp 0x10094d89
mov dword [edi], 0
jmp 0x10094d89
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x10094d9a
push eax
call dword [0x10177ba0]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret