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

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 0x20
push ebx
mov ebx, dword [esp + 0x28]
push ebp
push edi
xor ebp, ebp
xor edi, edi
test ebx, ebx
jne 0x562c2d
mov eax, str.NULL
jmp 0x562c46
mov al, byte [ebx + 0x61]
cmp al, 0x76
je 0x562c7d
cmp al, 0xba
je 0x562c41
cmp al, 0x6d
mov eax, str.invalid
jne 0x562c46
mov eax, str.unopened
push eax
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.005536b0
push 0x69279c
push 0x21470
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.005536b0
add esp, 0x20
mov eax, 0x15
pop edi
pop ebp
pop ebx
add esp, 0x20
ret
mov eax, dword [ebx + 0xc]
test ecx, ecx
push esi
mov esi, 0x6a4e12
cmovne esi, ecx
test eax, eax
je 0x562c99
push eax
call dword [0x6d3c88]
add esp, 4
mov dword [ebx + 0x40], edi
cmp dword [ebx + 0x124], edi
je 0x562cb1
push 0
push ebx
call fcn.005ab470
add esp, 8
jmp 0x562cc0
mov dword [ebx + 0x44], 0xffffffff
nop dword [eax + eax]
cmp byte [esi], 0
je 0x5630b8
lea eax, [esp + 0x2c]
mov dword [esp + 0x20], 0
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x28], 0
push eax
push 0
push 0x80
push 0xffffffffffffffff
push esi
push ebx
mov dword [esp + 0x44], 0
call fcn.005bc060
mov edi, dword [esp + 0x44]
mov ebp, eax
add esp, 0x1c
test ebp, ebp
jne 0x5630b8
test edi, edi
jne 0x562d16
mov esi, dword [esp + 0x2c]
jmp 0x562cc0
xor esi, esi
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], esi
xor ebx, ebx
cmp dword [edi], ebx
jne 0x562d62
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.005536b0
push 0x69279c
push 0x1648e
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.005536b0
mov ebp, 0x15
add esp, 0x1c
mov dword [esp + 0x1c], ebp
jmp 0x562e9d
mov eax, dword [edi]
mov dword [esp + 0x14], eax
mov eax, dword [eax + 0xc]
test eax, eax
je 0x562d79
push eax
call dword [0x6d3c88]
add esp, 4
push edi
call fcn.005cce80
mov ebp, eax
add esp, 4
mov dword [esp + 0x1c], ebp
cmp ebp, 0x11
jne 0x562e88
mov eax, ebx
inc ebx
cmp eax, 0x32
jge 0x562e84
mov eax, dword [edi + 0x20]
push edi
mov dword [esp + 0x20], eax
call fcn.005c6790
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x562edf
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x562dca
push eax
call dword [0x6d3c88]
add esp, 4
cmp dword [edi + 0x8c], 0
jl 0x562de8
jg 0x562dde
cmp dword [edi + 0x88], 0
jbe 0x562de8
push edi
push esi
call fcn.00582170
add esp, 8
push edi
call fcn.005de770
add esp, 4
mov byte [edi + 0x97], 1
mov dword [edi + 0x20], 0xffffffff
mov dword [edi + 0x24], 0
mov word [edi + 0x94], 0xff02
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x1c], 1
mov dword [edi + 0x30], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
cmp byte [esi + 0x57], 0
jne 0x562e43
test eax, eax
je 0x562e4d
push eax
push esi
call fcn.00569bb0
add esp, 8
mov eax, dword [esi + 0xc]
test eax, eax
je 0x562e5e
push eax
call dword [0x6d3c90]
add esp, 4
cmp dword [esp + 0x1c], 0
jl 0x562e6c
mov byte [edi + 0x95], 0xfe
push edi
call fcn.005cce80
mov ebp, eax
add esp, 4
mov dword [esp + 0x1c], ebp
cmp ebp, 0x11
je 0x562d91
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x562e9d
push eax
call dword [0x6d3c90]
add esp, 4
cmp dword [esp + 0x3c], 0
je 0x56304e
cmp ebp, 0x64
je 0x562fbe
mov ebx, dword [esp + 0x34]
cmp ebp, 0x65
jne 0x56305b
cmp dword [esp + 0x28], 0
jne 0x56305b
mov eax, dword [ebx + 0x20]
and eax, 0x100
or eax, 0
je 0x56305b
jmp 0x562fc9
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x124]
test ecx, ecx
jne 0x562ef1
xor esi, esi
jmp 0x562f28
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x562f0e
cmp byte [ecx + 0x12], 1
jne 0x562f0e
mov esi, dword [ecx + 8]
jmp 0x562f24
test dl, 1
je 0x562f17
xor esi, esi
jmp 0x562f24
push 1
push ecx
call fcn.005edbf0
add esp, 8
mov esi, eax
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x562f39
push eax
push edx
call fcn.005a9350
add esp, 8
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x57], 0
jne 0x562fa2
test esi, esi
jne 0x562f4b
xor ebx, ebx
jmp 0x562f87
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x562f50
sub ecx, edx
push 0
lea eax, [ecx + 1]
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x28], eax
call fcn.005a9460
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x562f83
push dword [esp + 0x1c]
push esi
push ebx
call fcn.00620e40
add esp, 0xc
mov eax, dword [esp + 0x14]
push ebp
push eax
mov dword [edi + 0x7c], ebx
call fcn.00569bb0
mov ebp, eax
add esp, 8
mov dword [esp + 0x1c], ebp
mov dword [edi + 0x24], ebp
jmp 0x562e84
mov esi, dword [esp + 0x18]
mov ebp, 7
mov dword [edi + 0x7c], 0
mov dword [esp + 0x1c], ebp
mov dword [edi + 0x24], ebp
jmp 0x562e8c
cmp dword [esp + 0x28], 0
jne 0x563104
movzx ebx, word [edi + 0x90]
push 0
mov dword [esp + 0x24], ebx
lea eax, [ebx*8 + 4]
push eax
push dword [esp + 0x3c]
call fcn.005a9460
mov esi, eax
add esp, 0xc
mov dword [esp + 0x18], esi
test esi, esi
je 0x5630ba
xor esi, esi
test ebx, ebx
je 0x56301b
mov ebp, eax
push 0
push 0
push esi
push edi
call fcn.00571d20
mov dword [ebp + esi*4], eax
add esp, 0x10
inc esi
cmp esi, ebx
jl 0x563000
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], 1
cmp ebp, 0x64
je 0x563108
mov ecx, dword [esp + 0x24]
push esi
push ecx
push ebx
push dword [esp + 0x4c]
call dword [esp + 0x4c]
add esp, 0x10
test eax, eax
jne 0x5632b4
cmp ebp, 0x64
je 0x562d24
mov ebx, dword [esp + 0x34]
xor ebp, ebp
cmp byte [edi + 0x97], 1
jb 0x563071
push edi
call fcn.005de770
add esp, 4
mov ebp, eax
push edi
call fcn.005d29b0
mov esi, dword [esp + 0x30]
add esp, 4
xor edi, edi
movzx eax, byte [esi]
test byte [eax + 0x68a4f8], 1
je 0x56309e
nop dword [eax]
movzx eax, byte [esi + 1]
inc esi
test byte [eax + 0x68a4f8], 1
jne 0x563090
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5630b0
push eax
push ebx
call fcn.005a9350
add esp, 8
test ebp, ebp
je 0x562cc0
xor esi, esi
test edi, edi
je 0x5630d9
cmp byte [edi + 0x97], 1
jb 0x5630d0
push edi
call fcn.005de770
add esp, 4
push edi
call fcn.005d29b0
add esp, 4
mov edi, dword [esp + 0x34]
test esi, esi
je 0x5630eb
push esi
push edi
call fcn.005a9350
add esp, 8
cmp byte [edi + 0x57], 0
jne 0x5632e8
test ebp, ebp
jne 0x5632e8
xor esi, esi
jmp 0x5632f4
mov ebx, dword [esp + 0x20]
lea ecx, [esi + ebx*4]
xor ebx, ebx
mov dword [esp + 0x24], ecx
cmp dword [esp + 0x20], ebx
jle 0x56328f
xor edx, edx
mov dword [esp + 0x1c], edx
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x563138
push eax
call dword [0x6d3c88]
mov edx, dword [esp + 0x20]
add esp, 4
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x563156
movzx eax, word [edi + 0x90]
cmp ebx, eax
jge 0x563156
test ebx, ebx
js 0x563156
add ecx, edx
jne 0x56316f
xor esi, esi
jmp 0x5631a2
mov eax, dword [edi]
push 0x19
push eax
mov dword [eax + 0x40], 0x19
call fcn.005ab470
add esp, 8
mov ecx, 0x68ace8
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x56318c
cmp byte [ecx + 0x12], 1
jne 0x56318c
mov esi, dword [ecx + 8]
jmp 0x5631a2
test dl, 1
je 0x563195
xor esi, esi
jmp 0x5631a2
push 1
push ecx
call fcn.005edbf0
add esp, 8
mov esi, eax
mov ecx, dword [edi]
mov eax, dword [edi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x5631b1
test eax, eax
je 0x5631bb
push eax
push ecx
call fcn.00569bb0
add esp, 8
mov dword [edi + 0x24], eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x5631d1
push eax
call dword [0x6d3c90]
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword [ecx + ebx*4], esi
test esi, esi
jne 0x563275
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x5631f3
push eax
call dword [0x6d3c88]
add esp, 4
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x563211
movzx eax, word [edi + 0x90]
cmp ebx, eax
jge 0x563211
test ebx, ebx
js 0x563211
mov eax, dword [esp + 0x1c]
add eax, ecx
jmp 0x56322a
mov eax, dword [edi]
push 0x19
push eax
mov dword [eax + 0x40], 0x19
call fcn.005ab470
add esp, 8
mov eax, 0x68ace8
movzx eax, word [eax + 0x10]
mov ecx, dword [edi]
and eax, 0x3f
cmp byte [ecx + 0x57], 0
mov al, byte [eax + 0x68a830]
mov byte [esp + 0x13], al
mov eax, dword [edi + 0x24]
jne 0x56324a
test eax, eax
je 0x563254
push eax
push ecx
call fcn.00569bb0
add esp, 8
mov dword [edi + 0x24], eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x56326a
push eax
call dword [0x6d3c90]
add esp, 4
cmp byte [esp + 0x13], 5
jne 0x56329f
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 0x563121
mov esi, dword [esp + 0x18]
mov dword [ecx + ebx*4], 0
mov ebx, dword [esp + 0x20]
jmp 0x563038
push dword [esp + 0x34]
call fcn.005bd130
mov esi, dword [esp + 0x1c]
add esp, 4
jmp 0x5630ba
cmp byte [edi + 0x97], 1
mov ebp, 4
jb 0x5632cb
push edi
call fcn.005de770
add esp, 4
push edi
call fcn.005d29b0
mov edi, dword [esp + 0x38]
push 4
push edi
mov dword [edi + 0x40], ebp
call fcn.005ab470
add esp, 0xc
jmp 0x5630dd
push ebp
push edi
call fcn.00569bb0
add esp, 8
mov esi, eax
mov ebp, dword [esp + 0x44]
test ebp, ebp
je 0x563371
test esi, esi
je 0x56336a
push edi
call fcn.00565140
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x563314
mov dword [ebp], eax
jmp 0x563356
mov ecx, ebx
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x563320
sub ecx, edx
push 0
lea ebp, [ecx + 1]
push ebp
call fcn.005bc3f0
mov edi, eax
add esp, 8
test edi, edi
je 0x563348
push ebp
push ebx
push edi
call fcn.00620e40
add esp, 0xc
mov eax, dword [esp + 0x44]
test edi, edi
mov dword [eax], edi
mov edi, dword [esp + 0x34]
jne 0x563371
mov esi, 7
push esi
push edi
mov dword [edi + 0x40], esi
call fcn.005ab470
add esp, 8
jmp 0x563371
mov dword [ebp], 0
mov eax, dword [edi + 0xc]
test eax, eax
je 0x563382
push eax
call dword [0x6d3c90]
add esp, 4
mov eax, esi
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x20
ret