Function at 0x438880
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 0x438895
mov eax, str.NULL
jmp 0x4388ae
mov al, byte [ecx + 0x61]
cmp al, 0x76
je 0x4388e3
cmp al, 0xba
je 0x4388a9
cmp al, 0x6d
mov eax, str.invalid
jne 0x4388ae
mov eax, str.unopened
push eax
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.00444580
push 0x51e124
push 0x21085
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.00444580
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, 0x52a5cb
cmovne esi, eax
mov eax, dword [ecx + 0xc]
push edi
test eax, eax
je 0x438909
push eax
call dword [0x532140]
mov ecx, dword [esp + 0x38]
add esp, 4
mov dword [ecx + 0x40], ebx
cmp dword [ecx + 0x124], ebx
je 0x438925
push 0
push ecx
call fcn.00489df0
mov ecx, dword [esp + 0x3c]
add esp, 8
jmp 0x438930
mov dword [ecx + 0x44], 0xffffffff
nop dword [eax]
cmp byte [esi], 0
je 0x439345
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.0049b440
mov edi, dword [esp + 0x3c]
mov ebx, eax
add esp, 0x1c
test ebx, ebx
jne 0x43907f
test edi, edi
jne 0x43898a
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
jmp 0x438930
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 0x4389d8
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.00444580
push 0x51e124
push 0x16265
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.00444580
mov ebx, 0x15
add esp, 0x1c
mov dword [esp + 0x18], ebx
jmp 0x438b63
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4389e9
push eax
call dword [0x532140]
add esp, 4
push edi
call fcn.004abad0
mov ebx, eax
add esp, 4
mov dword [esp + 0x18], ebx
cmp ebx, 0x11
jne 0x438b4e
mov eax, ebp
inc ebp
cmp eax, 0x32
jge 0x438b4a
mov eax, dword [edi + 0x20]
push edi
mov dword [esp + 0x1c], eax
call fcn.004a5400
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x438ba1
mov ebx, dword [edi]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x438a3a
push eax
call dword [0x532140]
add esp, 4
cmp dword [edi + 0x8c], 0
jl 0x438a58
jg 0x438a4e
cmp dword [edi + 0x88], 0
jbe 0x438a58
push edi
push ebx
call fcn.00460da0
add esp, 8
cmp byte [edi + 0x97], 2
mov esi, dword [edi]
jne 0x438a6c
push edi
call fcn.004bac60
add esp, 4
cmp dword [edi + 0x20], 0
jl 0x438a92
cmp dword [esi + 0x124], 0
jne 0x438a89
cmp dword [edi + 0x7c], 0
jne 0x438a89
mov eax, dword [edi + 0x24]
mov dword [esi + 0x40], eax
jmp 0x438a92
push edi
call fcn.004be210
add esp, 4
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x438aaa
push eax
push esi
call fcn.00487a00
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 0x438b09
test eax, eax
je 0x438b13
push eax
push ebx
call fcn.00448780
add esp, 8
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x438b24
push eax
call dword [0x532148]
add esp, 4
cmp dword [esp + 0x18], 0
jl 0x438b32
mov byte [edi + 0x95], 0xfe
push edi
call fcn.004abad0
mov ebx, eax
add esp, 4
mov dword [esp + 0x18], ebx
cmp ebx, 0x11
je 0x438a01
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x438b63
push eax
call dword [0x532148]
add esp, 4
cmp dword [esp + 0x3c], 0
je 0x438d09
cmp ebx, 0x64
je 0x438c7f
cmp ebx, 0x65
jne 0x438d12
test esi, esi
jne 0x438d12
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x20]
and eax, 0x100
or eax, esi
je 0x438d12
jmp 0x438c87
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x124]
test ecx, ecx
jne 0x438bb3
xor esi, esi
jmp 0x438bea
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x438bd0
cmp byte [ecx + 0x12], 1
jne 0x438bd0
mov esi, dword [ecx + 8]
jmp 0x438be6
test dl, 1
je 0x438bd9
xor esi, esi
jmp 0x438be6
push 1
push ecx
call fcn.004ccc40
add esp, 8
mov esi, eax
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x438bfb
push eax
push edx
call fcn.00487a00
add esp, 8
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x57], 0
jne 0x438c63
test esi, esi
jne 0x438c0d
xor ebp, ebp
jmp 0x438c45
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x438c12
sub ecx, edx
push 0
lea eax, [ecx + 1]
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x24], eax
call fcn.00487b10
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x438c45
push dword [esp + 0x18]
push esi
push ebp
call fcn.004e73f0
add esp, 0xc
push ebx
push dword [esp + 0x18]
mov dword [edi + 0x7c], ebp
call fcn.00448780
mov ebx, eax
add esp, 8
mov dword [esp + 0x18], ebx
mov dword [edi + 0x24], ebx
jmp 0x438b4a
mov esi, dword [esp + 0x20]
mov ebx, 7
mov dword [edi + 0x7c], 0
mov dword [esp + 0x18], ebx
mov dword [edi + 0x24], ebx
jmp 0x438b52
test esi, esi
jne 0x438d7d
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.00487b10
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x439087
xor esi, esi
test ebp, ebp
je 0x438cda
mov ebx, eax
nop dword [eax]
push 0
push 0
push esi
push edi
call fcn.00450a30
mov dword [ebx + esi*4], eax
add esp, 0x10
inc esi
cmp esi, ebp
jl 0x438cc0
mov ebx, dword [esp + 0x18]
mov esi, 1
mov dword [esp + 0x20], esi
cmp ebx, 0x64
je 0x438d81
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 0x439110
cmp ebx, 0x64
je 0x438994
xor ebx, ebx
cmp byte [edi + 0x97], 1
jb 0x438d28
push edi
call fcn.004bd5f0
add esp, 4
mov ebx, eax
mov esi, dword [edi]
push edi
push esi
call fcn.004b13a0
add esp, 8
cmp dword [esi + 0x210], 0
jne 0x438d52
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
mov dword [ecx], eax
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x438d52
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
cmp edi, dword [esi + 0x164]
jae 0x438f2b
cmp edi, dword [esi + 0x15c]
jb 0x438f13
mov eax, dword [esi + 0x158]
mov dword [edi], eax
mov dword [esi + 0x158], edi
jmp 0x438f95
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 0x438eff
xor ebp, ebp
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x438dab
push eax
call dword [0x532140]
add esp, 4
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x438dc9
movzx eax, word [edi + 0x90]
cmp ebx, eax
jge 0x438dc9
test ebx, ebx
js 0x438dc9
add ecx, ebp
jne 0x438de2
xor esi, esi
jmp 0x438e15
mov eax, dword [edi]
push 0x19
push eax
mov dword [eax + 0x40], 0x19
call fcn.00489df0
add esp, 8
mov ecx, 0x517230
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x438dff
cmp byte [ecx + 0x12], 1
jne 0x438dff
mov esi, dword [ecx + 8]
jmp 0x438e15
test dl, 1
je 0x438e08
xor esi, esi
jmp 0x438e15
push 1
push ecx
call fcn.004ccc40
add esp, 8
mov esi, eax
mov eax, dword [edi]
mov ecx, dword [edi + 0x24]
cmp byte [eax + 0x57], 0
jne 0x438e24
test ecx, ecx
je 0x438e32
push ecx
push eax
call fcn.00448780
mov ecx, eax
add esp, 8
mov eax, dword [edi]
mov dword [edi + 0x24], ecx
mov eax, dword [eax + 0xc]
test eax, eax
je 0x438e46
push eax
call dword [0x532148]
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword [ecx + ebx*4], esi
test esi, esi
jne 0x438eed
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x438e68
push eax
call dword [0x532140]
add esp, 4
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x438e83
movzx eax, word [edi + 0x90]
cmp ebx, eax
jge 0x438e83
test ebx, ebx
js 0x438e83
lea eax, [ecx + ebp]
jmp 0x438e9c
mov eax, dword [edi]
push 0x19
push eax
mov dword [eax + 0x40], 0x19
call fcn.00489df0
add esp, 8
mov eax, 0x517230
movzx eax, word [eax + 0x10]
mov ecx, dword [edi + 0x24]
and eax, 0x3f
mov al, byte [eax + 0x517158]
mov byte [esp + 0x13], al
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
jne 0x438ebc
test ecx, ecx
je 0x438eca
push ecx
push eax
call fcn.00448780
mov ecx, eax
add esp, 8
mov eax, dword [edi]
mov dword [edi + 0x24], ecx
mov eax, dword [eax + 0xc]
test eax, eax
je 0x438ede
push eax
call dword [0x532148]
add esp, 4
cmp byte [esp + 0x13], 5
jne 0x4390fa
mov ecx, dword [esp + 0x28]
inc ebx
add ebp, 0x28
cmp ebx, dword [esp + 0x24]
jl 0x438d98
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov dword [ecx + ebx*4], 0
mov ebx, dword [esp + 0x18]
jmp 0x438cf0
cmp edi, dword [esi + 0x160]
jb 0x438f2b
mov eax, dword [esi + 0x150]
mov dword [edi], eax
mov dword [esi + 0x150], edi
jmp 0x438f95
cmp dword [esi + 0x210], 0
je 0x438f40
push edi
push esi
call fcn.00469e10
add esp, 8
jmp 0x438f95
cmp dword [0x5320f0], 0
je 0x438f8b
mov eax, dword [0x536de8]
test eax, eax
je 0x438f5c
push eax
call dword [0x532140]
add esp, 4
push edi
call dword [0x53211c]
sub dword [0x536d88], eax
dec dword [0x536dac]
push edi
call dword [0x532114]
mov eax, dword [0x536de8]
add esp, 8
test eax, eax
je 0x438f95
push eax
call dword [0x532148]
jmp 0x438f92
push edi
call dword [0x532114]
add esp, 4
mov esi, dword [esp + 0x2c]
xor edi, edi
movzx eax, byte [esi]
test byte [eax + 0x512fe8], 1
je 0x438fbe
nop word [eax + eax]
movzx eax, byte [esi + 1]
inc esi
test byte [eax + 0x512fe8], 1
jne 0x438fb0
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
test ebp, ebp
je 0x439077
cmp ebp, dword [ecx + 0x164]
jae 0x43900b
cmp ebp, dword [ecx + 0x15c]
jb 0x438ff2
mov eax, dword [ecx + 0x158]
mov dword [ebp], eax
mov dword [ecx + 0x158], ebp
jmp 0x439077
cmp ebp, dword [ecx + 0x160]
jb 0x43900b
mov eax, dword [ecx + 0x150]
mov dword [ebp], eax
mov dword [ecx + 0x150], ebp
jmp 0x439077
cmp dword [ecx + 0x210], edi
je 0x43901f
push ebp
push ecx
call fcn.00469e10
add esp, 8
jmp 0x439073
cmp dword [0x5320f0], edi
je 0x439069
mov eax, dword [0x536de8]
test eax, eax
je 0x43903a
push eax
call dword [0x532140]
add esp, 4
push ebp
call dword [0x53211c]
sub dword [0x536d88], eax
dec dword [0x536dac]
push ebp
call dword [0x532114]
mov eax, dword [0x536de8]
add esp, 8
test eax, eax
je 0x439073
push eax
call dword [0x532148]
jmp 0x439070
push ebp
call dword [0x532114]
add esp, 4
mov ecx, dword [esp + 0x34]
test ebx, ebx
je 0x438930
mov dword [esp + 0x1c], 0
mov ebp, dword [esp + 0x34]
test edi, edi
je 0x43928f
cmp byte [edi + 0x97], 1
jb 0x4390a5
push edi
call fcn.004bd5f0
add esp, 4
mov esi, dword [edi]
push edi
push esi
call fcn.004b13a0
add esp, 8
cmp dword [esi + 0x210], 0
jne 0x4390cf
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
mov dword [ecx], eax
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x4390cf
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
cmp edi, dword [esi + 0x164]
jae 0x439225
cmp edi, dword [esi + 0x15c]
jb 0x43920d
mov eax, dword [esi + 0x158]
mov dword [edi], eax
mov dword [esi + 0x158], edi
jmp 0x43928f
mov ebp, dword [esp + 0x34]
push ebp
call fcn.0049c250
mov ebx, dword [esp + 0x1c]
add esp, 4
jmp 0x43908b
cmp byte [edi + 0x97], 1
mov ebx, 4
jb 0x439127
push edi
call fcn.004bd5f0
add esp, 4
mov esi, dword [edi]
push edi
push esi
call fcn.004b13a0
add esp, 8
cmp dword [esi + 0x210], 0
jne 0x439151
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
mov dword [ecx], eax
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x439151
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
cmp edi, dword [esi + 0x164]
jae 0x43918c
cmp edi, dword [esi + 0x15c]
jb 0x439174
mov eax, dword [esi + 0x158]
mov dword [edi], eax
mov dword [esi + 0x158], edi
jmp 0x4391f6
cmp edi, dword [esi + 0x160]
jb 0x43918c
mov eax, dword [esi + 0x150]
mov dword [edi], eax
mov dword [esi + 0x150], edi
jmp 0x4391f6
cmp dword [esi + 0x210], 0
je 0x4391a1
push edi
push esi
call fcn.00469e10
add esp, 8
jmp 0x4391f6
cmp dword [0x5320f0], 0
je 0x4391ec
mov eax, dword [0x536de8]
test eax, eax
je 0x4391bd
push eax
call dword [0x532140]
add esp, 4
push edi
call dword [0x53211c]
sub dword [0x536d88], eax
dec dword [0x536dac]
push edi
call dword [0x532114]
mov eax, dword [0x536de8]
add esp, 8
test eax, eax
je 0x4391f6
push eax
call dword [0x532148]
jmp 0x4391f3
push edi
call dword [0x532114]
add esp, 4
mov ebp, dword [esp + 0x34]
push 4
push ebp
mov dword [ebp + 0x40], ebx
call fcn.00489df0
add esp, 8
jmp 0x43928f
cmp edi, dword [esi + 0x160]
jb 0x439225
mov eax, dword [esi + 0x150]
mov dword [edi], eax
mov dword [esi + 0x150], edi
jmp 0x43928f
cmp dword [esi + 0x210], 0
je 0x43923a
push edi
push esi
call fcn.00469e10
add esp, 8
jmp 0x43928f
cmp dword [0x5320f0], 0
je 0x439285
mov eax, dword [0x536de8]
test eax, eax
je 0x439256
push eax
call dword [0x532140]
add esp, 4
push edi
call dword [0x53211c]
sub dword [0x536d88], eax
dec dword [0x536dac]
push edi
call dword [0x532114]
mov eax, dword [0x536de8]
add esp, 8
test eax, eax
je 0x43928f
push eax
call dword [0x532148]
jmp 0x43928c
push edi
call dword [0x532114]
add esp, 4
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x439349
cmp esi, dword [ebp + 0x164]
jae 0x4392d6
cmp esi, dword [ebp + 0x15c]
jb 0x4392be
mov eax, dword [ebp + 0x158]
mov dword [esi], eax
mov dword [ebp + 0x158], esi
jmp 0x439349
cmp esi, dword [ebp + 0x160]
jb 0x4392d6
mov eax, dword [ebp + 0x150]
mov dword [esi], eax
mov dword [ebp + 0x150], esi
jmp 0x439349
cmp dword [ebp + 0x210], 0
je 0x4392eb
push esi
push ebp
call fcn.00469e10
add esp, 8
jmp 0x439349
cmp dword [0x5320f0], 0
je 0x439339
mov eax, dword [0x536de8]
test eax, eax
je 0x439307
push eax
call dword [0x532140]
add esp, 4
push esi
call dword [0x53211c]
sub dword [0x536d88], eax
dec dword [0x536dac]
push esi
call dword [0x532114]
mov eax, dword [0x536de8]
add esp, 8
test eax, eax
je 0x439349
push eax
call dword [0x532148]
add esp, 4
jmp 0x439349
push esi
call dword [0x532114]
add esp, 4
jmp 0x439349
mov ebp, dword [esp + 0x34]
cmp byte [ebp + 0x57], 0
jne 0x43937e
test ebx, ebx
jne 0x43937e
xor edi, edi
mov eax, dword [esp + 0x44]
test eax, eax
je 0x439363
mov dword [eax], 0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x439374
push eax
call dword [0x532148]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
push ebx
push ebp
call fcn.00448780
mov edi, eax
add esp, 8
test edi, edi
je 0x439355
cmp dword [esp + 0x44], 0
je 0x439363
push ebp
call fcn.0043c2c0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4393a8
xor esi, esi
jmp 0x4393eb
mov ecx, ebx
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4393b0
sub ecx, edx
push 0
lea ebp, [ecx + 1]
push ebp
call fcn.0049b7f0
mov esi, eax
add esp, 8
test esi, esi
je 0x4393e7
push ebp
push ebx
push esi
call fcn.004e73f0
mov eax, dword [esp + 0x50]
add esp, 0xc
mov ebp, dword [esp + 0x34]
mov dword [eax], esi
jmp 0x439363
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.00489df0
add esp, 8
jmp 0x439363