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

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x20
push ebx
xor ebx, ebx
test ecx, ecx
jne 0x44e865
mov eax, str.NULL
jmp 0x44e87e
mov al, byte [ecx + 0x61]
cmp al, 0x76
je 0x44e8b3
cmp al, 0xba
je 0x44e879
cmp al, 0x6d
mov eax, str.invalid
jne 0x44e87e
mov eax, str.unopened
push eax
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.0045a560
push 0x5398bc
push 0x21085
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.0045a560
add esp, 0x20
mov eax, 0x15
pop ebx
add esp, 0x20
ret
mov eax, dword [esp + 0x2c]
test eax, eax
push ebp
push esi
mov esi, 0x5461cf
cmovne esi, eax
mov eax, dword [ecx + 0xc]
push edi
test eax, eax
je 0x44e8d9
push eax
call dword [0x56f148]
mov ecx, dword [esp + 0x38]
add esp, 4
mov dword [ecx + 0x40], ebx
cmp dword [ecx + 0x124], ebx
je 0x44e8f5
push 0
push ecx
call fcn.0049fdf0
mov ecx, dword [esp + 0x3c]
add esp, 8
jmp 0x44e900
mov dword [ecx + 0x44], 0xffffffff
nop dword [eax]
cmp byte [esi], 0
je 0x44f315
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], 0
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x2c], 0
push eax
push 0
push 0x80
push 0xffffffffffffffff
push esi
push ecx
mov dword [esp + 0x3c], 0
call fcn.004b1440
mov edi, dword [esp + 0x3c]
mov ebx, eax
add esp, 0x1c
test ebx, ebx
jne 0x44f04f
test edi, edi
jne 0x44e95a
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
jmp 0x44e900
xor esi, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
mov eax, dword [edi]
xor ebp, ebp
mov dword [esp + 0x14], eax
test eax, eax
jne 0x44e9a8
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.0045a560
push 0x5398bc
push 0x16265
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.0045a560
mov ebx, 0x15
add esp, 0x1c
mov dword [esp + 0x18], ebx
jmp 0x44eb33
mov eax, dword [eax + 0xc]
test eax, eax
je 0x44e9b9
push eax
call dword [0x56f148]
add esp, 4
push edi
call fcn.004c1ad0
mov ebx, eax
add esp, 4
mov dword [esp + 0x18], ebx
cmp ebx, 0x11
jne 0x44eb1e
mov eax, ebp
inc ebp
cmp eax, 0x32
jge 0x44eb1a
mov eax, dword [edi + 0x20]
push edi
mov dword [esp + 0x1c], eax
call fcn.004bb400
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x44eb71
mov ebx, dword [edi]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x44ea0a
push eax
call dword [0x56f148]
add esp, 4
cmp dword [edi + 0x8c], 0
jl 0x44ea28
jg 0x44ea1e
cmp dword [edi + 0x88], 0
jbe 0x44ea28
push edi
push ebx
call fcn.00476d80
add esp, 8
cmp byte [edi + 0x97], 2
mov esi, dword [edi]
jne 0x44ea3c
push edi
call fcn.004d0c60
add esp, 4
cmp dword [edi + 0x20], 0
jl 0x44ea62
cmp dword [esi + 0x124], 0
jne 0x44ea59
cmp dword [edi + 0x7c], 0
jne 0x44ea59
mov eax, dword [edi + 0x24]
mov dword [esi + 0x40], eax
jmp 0x44ea62
push edi
call fcn.004d4210
add esp, 4
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x44ea7a
push eax
push esi
call fcn.0049da00
add esp, 8
mov dword [edi + 0x7c], 0
mov dword [edi + 0x78], 0
mov eax, dword [esi + 0x48]
and eax, dword [edi + 0x24]
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 [ebx + 0x57], 0
jne 0x44ead9
test eax, eax
je 0x44eae3
push eax
push ebx
call fcn.0045e760
add esp, 8
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x44eaf4
push eax
call dword [0x56f150]
add esp, 4
cmp dword [esp + 0x18], 0
jl 0x44eb02
mov byte [edi + 0x95], 0xfe
push edi
call fcn.004c1ad0
mov ebx, eax
add esp, 4
mov dword [esp + 0x18], ebx
cmp ebx, 0x11
je 0x44e9d1
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x44eb33
push eax
call dword [0x56f150]
add esp, 4
cmp dword [esp + 0x3c], 0
je 0x44ecd9
cmp ebx, 0x64
je 0x44ec4f
cmp ebx, 0x65
jne 0x44ece2
test esi, esi
jne 0x44ece2
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x20]
and eax, 0x100
or eax, esi
je 0x44ece2
jmp 0x44ec57
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x124]
test ecx, ecx
jne 0x44eb83
xor esi, esi
jmp 0x44ebba
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x44eba0
cmp byte [ecx + 0x12], 1
jne 0x44eba0
mov esi, dword [ecx + 8]
jmp 0x44ebb6
test dl, 1
je 0x44eba9
xor esi, esi
jmp 0x44ebb6
push 1
push ecx
call fcn.004e2c40
add esp, 8
mov esi, eax
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x44ebcb
push eax
push edx
call fcn.0049da00
add esp, 8
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x57], 0
jne 0x44ec33
test esi, esi
jne 0x44ebdd
xor ebp, ebp
jmp 0x44ec15
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44ebe2
sub ecx, edx
push 0
lea eax, [ecx + 1]
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x24], eax
call fcn.0049db10
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x44ec15
push dword [esp + 0x18]
push esi
push ebp
call fcn.004fd090
add esp, 0xc
push ebx
push dword [esp + 0x18]
mov dword [edi + 0x7c], ebp
call fcn.0045e760
mov ebx, eax
add esp, 8
mov dword [esp + 0x18], ebx
mov dword [edi + 0x24], ebx
jmp 0x44eb1a
mov esi, dword [esp + 0x20]
mov ebx, 7
mov dword [edi + 0x7c], 0
mov dword [esp + 0x18], ebx
mov dword [edi + 0x24], ebx
jmp 0x44eb22
test esi, esi
jne 0x44ed4d
movzx ebp, word [edi + 0x90]
push 0
mov dword [esp + 0x28], ebp
lea eax, [ebp*8 + 4]
push eax
push dword [esp + 0x3c]
call fcn.0049db10
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x44f057
xor esi, esi
test ebp, ebp
je 0x44ecaa
mov ebx, eax
nop dword [eax]
push 0
push 0
push esi
push edi
call fcn.00466a10
mov dword [ebx + esi*4], eax
add esp, 0x10
inc esi
cmp esi, ebp
jl 0x44ec90
mov ebx, dword [esp + 0x18]
mov esi, 1
mov dword [esp + 0x20], esi
cmp ebx, 0x64
je 0x44ed51
mov ecx, dword [esp + 0x28]
push dword [esp + 0x1c]
push ecx
push ebp
push dword [esp + 0x4c]
call dword [esp + 0x4c]
add esp, 0x10
test eax, eax
jne 0x44f0e0
cmp ebx, 0x64
je 0x44e964
xor ebx, ebx
cmp byte [edi + 0x97], 1
jb 0x44ecf8
push edi
call fcn.004d35f0
add esp, 4
mov ebx, eax
mov esi, dword [edi]
push edi
push esi
call fcn.004c73a0
add esp, 8
cmp dword [esi + 0x210], 0
jne 0x44ed22
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
mov dword [ecx], eax
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x44ed22
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
cmp edi, dword [esi + 0x164]
jae 0x44eefb
cmp edi, dword [esi + 0x15c]
jb 0x44eee3
mov eax, dword [esi + 0x158]
mov dword [edi], eax
mov dword [esi + 0x158], edi
jmp 0x44ef65
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
xor ebx, ebx
lea ecx, [eax + ebp*4]
mov dword [esp + 0x28], ecx
test ebp, ebp
jle 0x44eecf
xor ebp, ebp
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x44ed7b
push eax
call dword [0x56f148]
add esp, 4
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x44ed99
movzx eax, word [edi + 0x90]
cmp ebx, eax
jge 0x44ed99
test ebx, ebx
js 0x44ed99
add ecx, ebp
jne 0x44edb2
xor esi, esi
jmp 0x44ede5
mov eax, dword [edi]
push 0x19
push eax
mov dword [eax + 0x40], 0x19
call fcn.0049fdf0
add esp, 8
mov ecx, 0x5329c0
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x44edcf
cmp byte [ecx + 0x12], 1
jne 0x44edcf
mov esi, dword [ecx + 8]
jmp 0x44ede5
test dl, 1
je 0x44edd8
xor esi, esi
jmp 0x44ede5
push 1
push ecx
call fcn.004e2c40
add esp, 8
mov esi, eax
mov eax, dword [edi]
mov ecx, dword [edi + 0x24]
cmp byte [eax + 0x57], 0
jne 0x44edf4
test ecx, ecx
je 0x44ee02
push ecx
push eax
call fcn.0045e760
mov ecx, eax
add esp, 8
mov eax, dword [edi]
mov dword [edi + 0x24], ecx
mov eax, dword [eax + 0xc]
test eax, eax
je 0x44ee16
push eax
call dword [0x56f150]
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword [ecx + ebx*4], esi
test esi, esi
jne 0x44eebd
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x44ee38
push eax
call dword [0x56f148]
add esp, 4
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x44ee53
movzx eax, word [edi + 0x90]
cmp ebx, eax
jge 0x44ee53
test ebx, ebx
js 0x44ee53
lea eax, [ecx + ebp]
jmp 0x44ee6c
mov eax, dword [edi]
push 0x19
push eax
mov dword [eax + 0x40], 0x19
call fcn.0049fdf0
add esp, 8
mov eax, 0x5329c0
movzx eax, word [eax + 0x10]
mov ecx, dword [edi + 0x24]
and eax, 0x3f
mov al, byte [eax + 0x5328e8]
mov byte [esp + 0x13], al
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
jne 0x44ee8c
test ecx, ecx
je 0x44ee9a
push ecx
push eax
call fcn.0045e760
mov ecx, eax
add esp, 8
mov eax, dword [edi]
mov dword [edi + 0x24], ecx
mov eax, dword [eax + 0xc]
test eax, eax
je 0x44eeae
push eax
call dword [0x56f150]
add esp, 4
cmp byte [esp + 0x13], 5
jne 0x44f0ca
mov ecx, dword [esp + 0x28]
inc ebx
add ebp, 0x28
cmp ebx, dword [esp + 0x24]
jl 0x44ed68
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov dword [ecx + ebx*4], 0
mov ebx, dword [esp + 0x18]
jmp 0x44ecc0
cmp edi, dword [esi + 0x160]
jb 0x44eefb
mov eax, dword [esi + 0x150]
mov dword [edi], eax
mov dword [esi + 0x150], edi
jmp 0x44ef65
cmp dword [esi + 0x210], 0
je 0x44ef10
push edi
push esi
call fcn.0047fe10
add esp, 8
jmp 0x44ef65
cmp dword [0x56f0f8], 0
je 0x44ef5b
mov eax, dword [0x574ff8]
test eax, eax
je 0x44ef2c
push eax
call dword [0x56f148]
add esp, 4
push edi
call dword [0x56f124]
sub dword [0x574f98], eax
dec dword [0x574fbc]
push edi
call dword [0x56f11c]
mov eax, dword [0x574ff8]
add esp, 8
test eax, eax
je 0x44ef65
push eax
call dword [0x56f150]
jmp 0x44ef62
push edi
call dword [0x56f11c]
add esp, 4
mov esi, dword [esp + 0x2c]
xor edi, edi
movzx eax, byte [esi]
test byte [eax + 0x52e778], 1
je 0x44ef8e
nop word [eax + eax]
movzx eax, byte [esi + 1]
inc esi
test byte [eax + 0x52e778], 1
jne 0x44ef80
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
test ebp, ebp
je 0x44f047
cmp ebp, dword [ecx + 0x164]
jae 0x44efdb
cmp ebp, dword [ecx + 0x15c]
jb 0x44efc2
mov eax, dword [ecx + 0x158]
mov dword [ebp], eax
mov dword [ecx + 0x158], ebp
jmp 0x44f047
cmp ebp, dword [ecx + 0x160]
jb 0x44efdb
mov eax, dword [ecx + 0x150]
mov dword [ebp], eax
mov dword [ecx + 0x150], ebp
jmp 0x44f047
cmp dword [ecx + 0x210], edi
je 0x44efef
push ebp
push ecx
call fcn.0047fe10
add esp, 8
jmp 0x44f043
cmp dword [0x56f0f8], edi
je 0x44f039
mov eax, dword [0x574ff8]
test eax, eax
je 0x44f00a
push eax
call dword [0x56f148]
add esp, 4
push ebp
call dword [0x56f124]
sub dword [0x574f98], eax
dec dword [0x574fbc]
push ebp
call dword [0x56f11c]
mov eax, dword [0x574ff8]
add esp, 8
test eax, eax
je 0x44f043
push eax
call dword [0x56f150]
jmp 0x44f040
push ebp
call dword [0x56f11c]
add esp, 4
mov ecx, dword [esp + 0x34]
test ebx, ebx
je 0x44e900
mov dword [esp + 0x1c], 0
mov ebp, dword [esp + 0x34]
test edi, edi
je 0x44f25f
cmp byte [edi + 0x97], 1
jb 0x44f075
push edi
call fcn.004d35f0
add esp, 4
mov esi, dword [edi]
push edi
push esi
call fcn.004c73a0
add esp, 8
cmp dword [esi + 0x210], 0
jne 0x44f09f
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
mov dword [ecx], eax
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x44f09f
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
cmp edi, dword [esi + 0x164]
jae 0x44f1f5
cmp edi, dword [esi + 0x15c]
jb 0x44f1dd
mov eax, dword [esi + 0x158]
mov dword [edi], eax
mov dword [esi + 0x158], edi
jmp 0x44f25f
mov ebp, dword [esp + 0x34]
push ebp
call fcn.004b2250
mov ebx, dword [esp + 0x1c]
add esp, 4
jmp 0x44f05b
cmp byte [edi + 0x97], 1
mov ebx, 4
jb 0x44f0f7
push edi
call fcn.004d35f0
add esp, 4
mov esi, dword [edi]
push edi
push esi
call fcn.004c73a0
add esp, 8
cmp dword [esi + 0x210], 0
jne 0x44f121
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
mov dword [ecx], eax
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x44f121
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
cmp edi, dword [esi + 0x164]
jae 0x44f15c
cmp edi, dword [esi + 0x15c]
jb 0x44f144
mov eax, dword [esi + 0x158]
mov dword [edi], eax
mov dword [esi + 0x158], edi
jmp 0x44f1c6
cmp edi, dword [esi + 0x160]
jb 0x44f15c
mov eax, dword [esi + 0x150]
mov dword [edi], eax
mov dword [esi + 0x150], edi
jmp 0x44f1c6
cmp dword [esi + 0x210], 0
je 0x44f171
push edi
push esi
call fcn.0047fe10
add esp, 8
jmp 0x44f1c6
cmp dword [0x56f0f8], 0
je 0x44f1bc
mov eax, dword [0x574ff8]
test eax, eax
je 0x44f18d
push eax
call dword [0x56f148]
add esp, 4
push edi
call dword [0x56f124]
sub dword [0x574f98], eax
dec dword [0x574fbc]
push edi
call dword [0x56f11c]
mov eax, dword [0x574ff8]
add esp, 8
test eax, eax
je 0x44f1c6
push eax
call dword [0x56f150]
jmp 0x44f1c3
push edi
call dword [0x56f11c]
add esp, 4
mov ebp, dword [esp + 0x34]
push 4
push ebp
mov dword [ebp + 0x40], ebx
call fcn.0049fdf0
add esp, 8
jmp 0x44f25f
cmp edi, dword [esi + 0x160]
jb 0x44f1f5
mov eax, dword [esi + 0x150]
mov dword [edi], eax
mov dword [esi + 0x150], edi
jmp 0x44f25f
cmp dword [esi + 0x210], 0
je 0x44f20a
push edi
push esi
call fcn.0047fe10
add esp, 8
jmp 0x44f25f
cmp dword [0x56f0f8], 0
je 0x44f255
mov eax, dword [0x574ff8]
test eax, eax
je 0x44f226
push eax
call dword [0x56f148]
add esp, 4
push edi
call dword [0x56f124]
sub dword [0x574f98], eax
dec dword [0x574fbc]
push edi
call dword [0x56f11c]
mov eax, dword [0x574ff8]
add esp, 8
test eax, eax
je 0x44f25f
push eax
call dword [0x56f150]
jmp 0x44f25c
push edi
call dword [0x56f11c]
add esp, 4
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x44f319
cmp esi, dword [ebp + 0x164]
jae 0x44f2a6
cmp esi, dword [ebp + 0x15c]
jb 0x44f28e
mov eax, dword [ebp + 0x158]
mov dword [esi], eax
mov dword [ebp + 0x158], esi
jmp 0x44f319
cmp esi, dword [ebp + 0x160]
jb 0x44f2a6
mov eax, dword [ebp + 0x150]
mov dword [esi], eax
mov dword [ebp + 0x150], esi
jmp 0x44f319
cmp dword [ebp + 0x210], 0
je 0x44f2bb
push esi
push ebp
call fcn.0047fe10
add esp, 8
jmp 0x44f319
cmp dword [0x56f0f8], 0
je 0x44f309
mov eax, dword [0x574ff8]
test eax, eax
je 0x44f2d7
push eax
call dword [0x56f148]
add esp, 4
push esi
call dword [0x56f124]
sub dword [0x574f98], eax
dec dword [0x574fbc]
push esi
call dword [0x56f11c]
mov eax, dword [0x574ff8]
add esp, 8
test eax, eax
je 0x44f319
push eax
call dword [0x56f150]
add esp, 4
jmp 0x44f319
push esi
call dword [0x56f11c]
add esp, 4
jmp 0x44f319
mov ebp, dword [esp + 0x34]
cmp byte [ebp + 0x57], 0
jne 0x44f34e
test ebx, ebx
jne 0x44f34e
xor edi, edi
mov eax, dword [esp + 0x44]
test eax, eax
je 0x44f333
mov dword [eax], 0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x44f344
push eax
call dword [0x56f150]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
push ebx
push ebp
call fcn.0045e760
mov edi, eax
add esp, 8
test edi, edi
je 0x44f325
cmp dword [esp + 0x44], 0
je 0x44f333
push ebp
call fcn.00452290
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x44f378
xor esi, esi
jmp 0x44f3bb
mov ecx, ebx
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44f380
sub ecx, edx
push 0
lea ebp, [ecx + 1]
push ebp
call fcn.004b17f0
mov esi, eax
add esp, 8
test esi, esi
je 0x44f3b7
push ebp
push ebx
push esi
call fcn.004fd090
mov eax, dword [esp + 0x50]
add esp, 0xc
mov ebp, dword [esp + 0x34]
mov dword [eax], esi
jmp 0x44f333
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x44]
mov edi, 7
push edi
push ebp
mov dword [eax], esi
mov dword [ebp + 0x40], edi
call fcn.0049fdf0
add esp, 8
jmp 0x44f333