Function at 0x5634e0
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 0x5634fd
mov eax, str.NULL
jmp 0x563516
mov al, byte [ebx + 0x61]
cmp al, 0x76
je 0x56354d
cmp al, 0xba
je 0x563511
cmp al, 0x6d
mov eax, str.invalid
jne 0x563516
mov eax, str.unopened
push eax
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.00553fa0
push 0x69379c
push 0x21470
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.00553fa0
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, 0x6a5e52
cmovne esi, ecx
test eax, eax
je 0x563569
push eax
call dword [0x6d4c88]
add esp, 4
mov dword [ebx + 0x40], edi
cmp dword [ebx + 0x124], edi
je 0x563581
push 0
push ebx
call fcn.005abd00
add esp, 8
jmp 0x563590
mov dword [ebx + 0x44], 0xffffffff
nop dword [eax + eax]
cmp byte [esi], 0
je 0x563988
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.005bc8f0
mov edi, dword [esp + 0x44]
mov ebp, eax
add esp, 0x1c
test ebp, ebp
jne 0x563988
test edi, edi
jne 0x5635e6
mov esi, dword [esp + 0x2c]
jmp 0x563590
xor esi, esi
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], esi
xor ebx, ebx
cmp dword [edi], ebx
jne 0x563632
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.00553fa0
push 0x69379c
push 0x1648e
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.00553fa0
mov ebp, 0x15
add esp, 0x1c
mov dword [esp + 0x1c], ebp
jmp 0x56376d
mov eax, dword [edi]
mov dword [esp + 0x14], eax
mov eax, dword [eax + 0xc]
test eax, eax
je 0x563649
push eax
call dword [0x6d4c88]
add esp, 4
push edi
call fcn.005cd720
mov ebp, eax
add esp, 4
mov dword [esp + 0x1c], ebp
cmp ebp, 0x11
jne 0x563758
mov eax, ebx
inc ebx
cmp eax, 0x32
jge 0x563754
mov eax, dword [edi + 0x20]
push edi
mov dword [esp + 0x20], eax
call fcn.005c7030
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x5637af
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x56369a
push eax
call dword [0x6d4c88]
add esp, 4
cmp dword [edi + 0x8c], 0
jl 0x5636b8
jg 0x5636ae
cmp dword [edi + 0x88], 0
jbe 0x5636b8
push edi
push esi
call fcn.00582a50
add esp, 8
push edi
call fcn.005df010
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 0x563713
test eax, eax
je 0x56371d
push eax
push esi
call fcn.0056a480
add esp, 8
mov eax, dword [esi + 0xc]
test eax, eax
je 0x56372e
push eax
call dword [0x6d4c90]
add esp, 4
cmp dword [esp + 0x1c], 0
jl 0x56373c
mov byte [edi + 0x95], 0xfe
push edi
call fcn.005cd720
mov ebp, eax
add esp, 4
mov dword [esp + 0x1c], ebp
cmp ebp, 0x11
je 0x563661
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x56376d
push eax
call dword [0x6d4c90]
add esp, 4
cmp dword [esp + 0x3c], 0
je 0x56391e
cmp ebp, 0x64
je 0x56388e
mov ebx, dword [esp + 0x34]
cmp ebp, 0x65
jne 0x56392b
cmp dword [esp + 0x28], 0
jne 0x56392b
mov eax, dword [ebx + 0x20]
and eax, 0x100
or eax, 0
je 0x56392b
jmp 0x563899
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x124]
test ecx, ecx
jne 0x5637c1
xor esi, esi
jmp 0x5637f8
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x5637de
cmp byte [ecx + 0x12], 1
jne 0x5637de
mov esi, dword [ecx + 8]
jmp 0x5637f4
test dl, 1
je 0x5637e7
xor esi, esi
jmp 0x5637f4
push 1
push ecx
call fcn.005ee490
add esp, 8
mov esi, eax
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x563809
push eax
push edx
call fcn.005a9be0
add esp, 8
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x57], 0
jne 0x563872
test esi, esi
jne 0x56381b
xor ebx, ebx
jmp 0x563857
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x563820
sub ecx, edx
push 0
lea eax, [ecx + 1]
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x28], eax
call fcn.005a9cf0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x563853
push dword [esp + 0x1c]
push esi
push ebx
call fcn.006217b0
add esp, 0xc
mov eax, dword [esp + 0x14]
push ebp
push eax
mov dword [edi + 0x7c], ebx
call fcn.0056a480
mov ebp, eax
add esp, 8
mov dword [esp + 0x1c], ebp
mov dword [edi + 0x24], ebp
jmp 0x563754
mov esi, dword [esp + 0x18]
mov ebp, 7
mov dword [edi + 0x7c], 0
mov dword [esp + 0x1c], ebp
mov dword [edi + 0x24], ebp
jmp 0x56375c
cmp dword [esp + 0x28], 0
jne 0x5639d4
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.005a9cf0
mov esi, eax
add esp, 0xc
mov dword [esp + 0x18], esi
test esi, esi
je 0x56398a
xor esi, esi
test ebx, ebx
je 0x5638eb
mov ebp, eax
push 0
push 0
push esi
push edi
call fcn.005725f0
mov dword [ebp + esi*4], eax
add esp, 0x10
inc esi
cmp esi, ebx
jl 0x5638d0
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], 1
cmp ebp, 0x64
je 0x5639d8
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 0x563b84
cmp ebp, 0x64
je 0x5635f4
mov ebx, dword [esp + 0x34]
xor ebp, ebp
cmp byte [edi + 0x97], 1
jb 0x563941
push edi
call fcn.005df010
add esp, 4
mov ebp, eax
push edi
call fcn.005d3250
mov esi, dword [esp + 0x30]
add esp, 4
xor edi, edi
movzx eax, byte [esi]
test byte [eax + 0x68b4f8], 1
je 0x56396e
nop dword [eax]
movzx eax, byte [esi + 1]
inc esi
test byte [eax + 0x68b4f8], 1
jne 0x563960
mov eax, dword [esp + 0x18]
test eax, eax
je 0x563980
push eax
push ebx
call fcn.005a9be0
add esp, 8
test ebp, ebp
je 0x563590
xor esi, esi
test edi, edi
je 0x5639a9
cmp byte [edi + 0x97], 1
jb 0x5639a0
push edi
call fcn.005df010
add esp, 4
push edi
call fcn.005d3250
add esp, 4
mov edi, dword [esp + 0x34]
test esi, esi
je 0x5639bb
push esi
push edi
call fcn.005a9be0
add esp, 8
cmp byte [edi + 0x57], 0
jne 0x563bb8
test ebp, ebp
jne 0x563bb8
xor esi, esi
jmp 0x563bc4
mov ebx, dword [esp + 0x20]
lea ecx, [esi + ebx*4]
xor ebx, ebx
mov dword [esp + 0x24], ecx
cmp dword [esp + 0x20], ebx
jle 0x563b5f
xor edx, edx
mov dword [esp + 0x1c], edx
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x563a08
push eax
call dword [0x6d4c88]
mov edx, dword [esp + 0x20]
add esp, 4
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x563a26
movzx eax, word [edi + 0x90]
cmp ebx, eax
jge 0x563a26
test ebx, ebx
js 0x563a26
add ecx, edx
jne 0x563a3f
xor esi, esi
jmp 0x563a72
mov eax, dword [edi]
push 0x19
push eax
mov dword [eax + 0x40], 0x19
call fcn.005abd00
add esp, 8
mov ecx, 0x68bce8
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x563a5c
cmp byte [ecx + 0x12], 1
jne 0x563a5c
mov esi, dword [ecx + 8]
jmp 0x563a72
test dl, 1
je 0x563a65
xor esi, esi
jmp 0x563a72
push 1
push ecx
call fcn.005ee490
add esp, 8
mov esi, eax
mov ecx, dword [edi]
mov eax, dword [edi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x563a81
test eax, eax
je 0x563a8b
push eax
push ecx
call fcn.0056a480
add esp, 8
mov dword [edi + 0x24], eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x563aa1
push eax
call dword [0x6d4c90]
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword [ecx + ebx*4], esi
test esi, esi
jne 0x563b45
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x563ac3
push eax
call dword [0x6d4c88]
add esp, 4
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x563ae1
movzx eax, word [edi + 0x90]
cmp ebx, eax
jge 0x563ae1
test ebx, ebx
js 0x563ae1
mov eax, dword [esp + 0x1c]
add eax, ecx
jmp 0x563afa
mov eax, dword [edi]
push 0x19
push eax
mov dword [eax + 0x40], 0x19
call fcn.005abd00
add esp, 8
mov eax, 0x68bce8
movzx eax, word [eax + 0x10]
mov ecx, dword [edi]
and eax, 0x3f
cmp byte [ecx + 0x57], 0
mov al, byte [eax + 0x68b830]
mov byte [esp + 0x13], al
mov eax, dword [edi + 0x24]
jne 0x563b1a
test eax, eax
je 0x563b24
push eax
push ecx
call fcn.0056a480
add esp, 8
mov dword [edi + 0x24], eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x563b3a
push eax
call dword [0x6d4c90]
add esp, 4
cmp byte [esp + 0x13], 5
jne 0x563b6f
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 0x5639f1
mov esi, dword [esp + 0x18]
mov dword [ecx + ebx*4], 0
mov ebx, dword [esp + 0x20]
jmp 0x563908
push dword [esp + 0x34]
call fcn.005bd9c0
mov esi, dword [esp + 0x1c]
add esp, 4
jmp 0x56398a
cmp byte [edi + 0x97], 1
mov ebp, 4
jb 0x563b9b
push edi
call fcn.005df010
add esp, 4
push edi
call fcn.005d3250
mov edi, dword [esp + 0x38]
push 4
push edi
mov dword [edi + 0x40], ebp
call fcn.005abd00
add esp, 0xc
jmp 0x5639ad
push ebp
push edi
call fcn.0056a480
add esp, 8
mov esi, eax
mov ebp, dword [esp + 0x44]
test ebp, ebp
je 0x563c41
test esi, esi
je 0x563c3a
push edi
call fcn.00565a10
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x563be4
mov dword [ebp], eax
jmp 0x563c26
mov ecx, ebx
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x563bf0
sub ecx, edx
push 0
lea ebp, [ecx + 1]
push ebp
call fcn.005bcc80
mov edi, eax
add esp, 8
test edi, edi
je 0x563c18
push ebp
push ebx
push edi
call fcn.006217b0
add esp, 0xc
mov eax, dword [esp + 0x44]
test edi, edi
mov dword [eax], edi
mov edi, dword [esp + 0x34]
jne 0x563c41
mov esi, 7
push esi
push edi
mov dword [edi + 0x40], esi
call fcn.005abd00
add esp, 8
jmp 0x563c41
mov dword [ebp], 0
mov eax, dword [edi + 0xc]
test eax, eax
je 0x563c52
push eax
call dword [0x6d4c90]
add esp, 4
mov eax, esi
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x20
ret