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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x184
push ebx
xor ebx, ebx
mov dword [esp + 0x64], 0
push esi
push edi
mov eax, ecx
mov dword [esp + 0x70], 0
xorps xmm0, xmm0
mov dword [esp + 0x4c], eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x74], 0
push ebx
mov edi, edx
mov dword [esp + 0x28], ebx
push ecx
lea edx, [ebx + 0x20]
mov dword [esp + 0x30], ebx
mov ecx, eax
mov dword [esp + 0x34], ebx
movlpd qword [esp + 0x58], xmm0
movlpd qword [esp + 0x60], xmm0
movlpd qword [esp + 0x38], xmm0
mov dword [esp + 0x24], ebx
call fcn.004fa580
mov esi, eax
add esp, 8
mov dword [esp + 0x20], esi
test esi, esi
jne 0x50812e
push dword [ebp + 0xc]
mov ebx, dword [esp + 0x20]
push dword [ebp + 8]
push 1
push ebx
call fcn.00467fa0
mov eax, edi
cdq
mov ecx, eax
mov eax, edx
push eax
push ecx
push 2
push ebx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x64], eax
call fcn.00467fa0
add esp, 0x20
mov dword [esp + 0x1c], esi
test ebx, ebx
jne 0x506eae
push str.API_called_with_NULL_prepared_statement
push 0x15
call fcn.0043e300
add esp, 8
jmp 0x506ecf
cmp dword [ebx], 0
jne 0x506ec9
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.0043e300
add esp, 8
mov eax, 1
jmp 0x506ecb
xor eax, eax
test eax, eax
je 0x506f0a
push 0x5cacbc
push 0x15841
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.0043e300
add esp, 0x14
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
test ebx, ebx
jne 0x5073a6
jmp 0x50744f
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
mov eax, dword [eax + 0xc]
test eax, eax
je 0x506f21
push eax
call dword [0x5dac80]
add esp, 4
mov ecx, ebx
call fcn.00466700
mov edi, eax
cmp edi, 0x11
jne 0x507079
mov ecx, dword [esp + 0x1c]
mov eax, ecx
inc ecx
mov dword [esp + 0x1c], ecx
cmp eax, 0x32
jge 0x507075
mov eax, dword [ebx + 0x20]
lea ecx, [esp + 0x40]
mov esi, dword [ebx]
mov edx, dword [ebx + 0xc8]
push 0
push ecx
mov dword [esp + 0x1c], eax
mov ecx, esi
movzx eax, byte [ebx + 0x94]
push ebx
push eax
push 0xffffffffffffffff
call fcn.004adf50
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x5070d1
mov esi, dword [esp + 0x40]
lea edi, [esp + 0xa8]
mov ecx, 0x3a
mov edx, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x40]
mov ecx, 0x3a
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x3a
lea esi, [esp + 0xa8]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x40]
mov eax, dword [ebx + 8]
mov ecx, dword [esi + 8]
mov dword [esi + 8], eax
mov eax, dword [ebx + 4]
mov dword [ebx + 8], ecx
mov ecx, dword [esi + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 0xc8]
mov dword [ebx + 4], ecx
mov ecx, dword [esi + 0xc8]
mov dword [esi + 0xc8], eax
mov dword [ebx + 0xc8], ecx
mov ecx, esi
mov eax, dword [esi + 0xdc]
mov dword [ebx + 0xdc], eax
mov al, byte [esi + 0x94]
mov byte [ebx + 0x94], al
movups xmm0, xmmword [esi + 0xa4]
movups xmmword [ebx + 0xa4], xmm0
movups xmm0, xmmword [esi + 0xb4]
movups xmmword [ebx + 0xb4], xmm0
mov eax, dword [esi + 0xc4]
mov dword [ebx + 0xc4], eax
inc dword [ebx + 0xb8]
call fcn.00468840
mov dword [esi + 0x24], 0
cmp byte [esi + 0x95], 1
jb 0x507045
mov ecx, esi
call fcn.00463720
mov ecx, esi
call fcn.00463800
push ebx
call fcn.00465900
add esp, 4
cmp dword [esp + 0x14], 0
jl 0x507063
mov byte [ebx + 0x93], 0xfe
mov ecx, ebx
call fcn.00466700
mov edi, eax
cmp edi, 0x11
je 0x506f33
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x50708e
push eax
call dword [0x5dac88]
add esp, 4
cmp edi, 0x64
jne 0x506eed
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x5070aa
push eax
call dword [0x5dac80]
add esp, 4
mov eax, dword [ebx + 0x78]
mov esi, 4
test eax, eax
je 0x5071b9
cmp si, word [ebx + 0x90]
jae 0x5071b9
add eax, 0xa0
jmp 0x5071d1
cmp edi, 7
jne 0x5070dd
mov ecx, esi
call fcn.0043ba90
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x124]
test ecx, ecx
jne 0x5070ef
xor esi, esi
jmp 0x507122
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x50710c
cmp byte [ecx + 0x12], 1
jne 0x50710c
mov esi, dword [ecx + 8]
jmp 0x50711e
test dl, 1
je 0x507115
xor esi, esi
jmp 0x50711e
mov dl, 1
call fcn.00460000
mov esi, eax
mov eax, dword [esp + 0x10]
mov edx, dword [ebx + 0x7c]
test edx, edx
je 0x507130
mov ecx, eax
call fcn.0043b330
mov edx, dword [esp + 0x10]
cmp byte [edx + 0x57], 0
jne 0x5071a1
test esi, esi
jne 0x507142
xor eax, eax
jmp 0x507189
mov ecx, esi
lea eax, [ecx + 1]
mov dword [esp + 0x14], eax
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x507150
sub ecx, dword [esp + 0x14]
push 0
lea eax, [ecx + 1]
mov ecx, edx
push eax
mov dword [esp + 0x1c], eax
call fcn.0043b7c0
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
je 0x507189
push dword [esp + 0x14]
push esi
push eax
call fcn.00570750
mov eax, dword [esp + 0x28]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, edi
mov dword [ebx + 0x7c], eax
call fcn.0043bb70
mov edi, eax
mov dword [ebx + 0x24], edi
jmp 0x507075
mov esi, dword [esp + 0x20]
mov edi, 7
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x24], edi
jmp 0x50707d
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.0043ee60
mov eax, 0x5b3788
push eax
call fcn.00465a70
mov ecx, dword [ebx]
add esp, 4
mov edx, dword [ebx + 0x24]
mov edi, eax
cmp byte [ecx + 0x57], 0
jne 0x5071ef
test edx, edx
jne 0x5071ef
xor eax, eax
jmp 0x5071f4
call fcn.0043bb70
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x50720a
push eax
call dword [0x5dac88]
add esp, 4
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x50721d
push eax
call dword [0x5dac80]
add esp, 4
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x507235
cmp si, word [ebx + 0x90]
jae 0x507235
add ecx, 0xa0
jmp 0x50724d
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.0043ee60
mov ecx, 0x5b3788
movzx eax, word [ecx + 0x10]
test al, 2
je 0x507260
cmp byte [ecx + 0x12], 1
jne 0x507260
mov esi, dword [ecx + 0xc]
jmp 0x507289
test al, 0x10
je 0x507278
mov edx, dword [ecx + 0xc]
test eax, 0x400
je 0x507274
mov esi, dword [ecx]
add esi, edx
jmp 0x507289
mov esi, edx
jmp 0x507289
test al, 1
je 0x507280
xor esi, esi
jmp 0x507289
mov dl, 1
call fcn.004606b0
mov esi, eax
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x50729c
test edx, edx
jne 0x50729c
xor eax, eax
jmp 0x5072a1
call fcn.0043bb70
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x5072b7
push eax
call dword [0x5dac88]
add esp, 4
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x5072ca
push eax
call dword [0x5dac80]
add esp, 4
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x5072e4
mov eax, 1
cmp ax, word [ebx + 0x90]
jae 0x5072e4
add ecx, 0x28
jmp 0x5072fc
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.0043ee60
mov ecx, 0x5b3788
movzx eax, word [ecx + 0x10]
test al, 0x24
je 0x507313
mov eax, dword [ecx]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x38], eax
jmp 0x507354
test al, 8
je 0x507326
movsd xmm0, qword [ecx]
call fcn.0045f320
mov dword [esp + 0x38], edx
jmp 0x507350
test al, 0x12
je 0x50733b
cmp dword [ecx + 8], 0
je 0x50733b
call fcn.0045f350
mov dword [esp + 0x38], edx
jmp 0x507350
xorps xmm0, xmm0
movlpd qword [esp + 0x30], xmm0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x507367
test edx, edx
jne 0x507367
xor eax, eax
jmp 0x50736c
call fcn.0043bb70
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x507382
push eax
call dword [0x5dac88]
add esp, 4
mov edx, dword [ebp + 0x14]
lea eax, [esp + 0x50]
push eax
push edx
push dword [ebp + 0x10]
lea eax, [esp + 0x78]
mov edx, esi
push eax
mov ecx, edi
call fcn.00506a30
add esp, 0x10
mov esi, eax
jmp 0x506efd
mov edi, dword [ebx]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x5073b9
push eax
call dword [0x5dac80]
add esp, 4
cmp dword [ebx + 0x8c], 0
jl 0x5073d6
jg 0x5073cd
cmp dword [ebx + 0x88], 0
jbe 0x5073d6
mov edx, ebx
mov ecx, edi
call fcn.00465760
mov ecx, ebx
call fcn.00463720
mov byte [ebx + 0x95], 1
mov dword [ebx + 0x20], 0xffffffff
mov dword [ebx + 0x24], 0
mov word [ebx + 0x92], 0xff02
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x1c], 1
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
cmp byte [edi + 0x57], 0
jne 0x507433
test eax, eax
jne 0x507433
xor ebx, ebx
jmp 0x50743e
mov edx, eax
mov ecx, edi
call fcn.0043bb70
mov ebx, eax
mov eax, dword [edi + 0xc]
test eax, eax
je 0x50744f
push eax
call dword [0x5dac88]
add esp, 4
test esi, esi
jne 0x50812a
mov esi, ebx
test ebx, ebx
jne 0x50812a
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x50], ebx
mov eax, edx
or eax, ecx
je 0x50790d
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x54], edx
push eax
push ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x58]
push edx
lea edx, [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call fcn.004fbe10
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x507898
mov esi, dword [esp + 0x14]
xor ebx, ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
cmp esi, 1
jge 0x5074eb
mov esi, 0x10b
jmp 0x507898
mov eax, dword [esp + 0x10]
mov cl, byte [eax]
mov byte [esp + 0x1b], cl
cmp esi, dword [esp + 0x2c]
jle 0x507523
call fcn.004e4f50
test eax, eax
jne 0x50757c
mov eax, esi
mov ecx, edi
cdq
push edx
push eax
call fcn.0043b4b0
add esp, 8
test eax, eax
je 0x50757c
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], esi
xorps xmm0, xmm0
mov dword [esp + 0xa4], ebx
xor edi, edi
movlpd qword [esp + 0x84], xmm0
mov dword [esp + 0x28], edi
movlpd qword [esp + 0x8c], xmm0
movlpd qword [esp + 0x94], xmm0
movlpd qword [esp + 0x9c], xmm0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], esi
cmp byte [eax], bl
je 0x507586
lea ecx, [eax + 1]
lea edx, [esp + 0x88]
call fcn.004ea4d0
inc eax
mov dword [esp + 0x80], eax
jmp 0x507591
mov esi, 7
jmp 0x507898
mov dword [esp + 0x80], 1
lea ecx, [esp + 0x78]
call fcn.00502bb0
mov esi, eax
test esi, esi
jne 0x5076cc
cmp dword [esp + 0x78], 0
je 0x5076b8
mov ebx, dword [esp + 0x94]
test edi, edi
mov edi, dword [esp + 0x90]
jne 0x50767b
mov ecx, dword [ebp + 0x14]
cmp ebx, ecx
cmovl ecx, ebx
test ecx, ecx
je 0x50762f
test edi, edi
je 0x50762f
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x50762f
mov edx, edi
mov esi, eax
sub ecx, 4
jb 0x5075f6
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x5075fb
add edx, 4
add esi, 4
sub ecx, 4
jae 0x5075e5
cmp ecx, 0xfffffffc
je 0x50762f
mov al, byte [edx]
cmp al, byte [esi]
jne 0x507628
cmp ecx, 0xfffffffd
je 0x50762f
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x507628
cmp ecx, 0xfffffffe
je 0x50762f
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x507628
cmp ecx, 0xffffffff
je 0x50762f
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x50762f
sbb eax, eax
or eax, 1
jmp 0x507631
xor eax, eax
mov ecx, ebx
sub ecx, dword [ebp + 0x14]
test eax, eax
cmovne ecx, eax
test ecx, ecx
js 0x5076a1
cmp byte [esp + 0x1b], 0
je 0x50764a
test ecx, ecx
je 0x5076a1
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x24]
mov esi, dword [esp + 0x8c]
push esi
push dword [esp + 0x8c]
movsx edx, byte [eax]
call fcn.005069d0
mov eax, dword [esp + 0x90]
add esp, 8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], esi
push dword [esp + 0xa0]
lea edx, [esp + 0x5c]
push dword [esp + 0xa0]
lea ecx, [esp + 0x2c]
push ebx
push edi
call fcn.00503110
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x5076bf
lea ecx, [esp + 0x78]
call fcn.00502bb0
mov edi, dword [esp + 0x28]
mov esi, eax
test esi, esi
je 0x5075a4
mov edi, dword [esp + 0x90]
cmp dword [esp + 0x28], 0
mov ebx, dword [esp + 0x58]
je 0x5076d3
jmp 0x50770a
mov edi, dword [esp + 0x90]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push dword [esp + 0x8c]
push dword [esp + 0x8c]
movsx edx, byte [eax]
call fcn.005069d0
mov eax, dword [esp + 0x90]
add esp, 8
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x40], eax
test edi, edi
je 0x507766
cmp dword [0x5dac30], 0
je 0x50775c
mov eax, dword [0x5dfe08]
test eax, eax
je 0x50772a
push eax
call dword [0x5dac80]
add esp, 4
push edi
call dword [0x5dac5c]
sub dword [0x5dfca8], eax
add esp, 4
dec dword [0x5dfccc]
push edi
call dword [0x5dac54]
mov eax, dword [0x5dfe08]
add esp, 4
test eax, eax
je 0x507766
push eax
call dword [0x5dac88]
jmp 0x507763
push edi
call dword [0x5dac54]
add esp, 4
test ebx, ebx
je 0x5077c2
cmp dword [0x5dac30], 0
je 0x5077b8
mov eax, dword [0x5dfe08]
test eax, eax
je 0x507786
push eax
call dword [0x5dac80]
add esp, 4
push ebx
call dword [0x5dac5c]
sub dword [0x5dfca8], eax
add esp, 4
dec dword [0x5dfccc]
push ebx
call dword [0x5dac54]
mov eax, dword [0x5dfe08]
add esp, 4
test eax, eax
je 0x5077c2
push eax
call dword [0x5dac88]
jmp 0x5077bf
push ebx
call dword [0x5dac54]
add esp, 4
test esi, esi
jne 0x507894
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x30]
push esi
push eax
lea edx, [esi + 9]
call fcn.004fa580
mov esi, eax
add esp, 8
test esi, esi
jne 0x507894
push dword [esp + 0x20]
mov edi, dword [esp + 0x34]
push dword [esp + 0x54]
push 1
push edi
call fcn.00467fa0
add esp, 0x10
lea edx, [esi + 1]
mov ecx, edi
call fcn.00467b40
test eax, eax
jne 0x50785d
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x50784a
mov ecx, dword [edi + 0x64]
push eax
push eax
mov eax, dword [esp + 0x30]
add ecx, 0x28
cdq
push edx
push eax
mov edx, ebx
call fcn.0045fb80
mov esi, eax
add esp, 0x10
test esi, esi
je 0x50784a
mov ecx, dword [edi]
mov edx, esi
mov dword [ecx + 0x40], esi
call fcn.0043ee60
mov ecx, dword [edi]
mov edx, esi
call fcn.0043bb70
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x50785d
push eax
call dword [0x5dac88]
add esp, 4
push edi
call fcn.004669b0
add esp, 4
push edi
call fcn.00465900
add esp, 4
mov edx, 1
mov ecx, edi
mov esi, eax
call fcn.00467b40
test eax, eax
jne 0x507894
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x507894
push eax
call dword [0x5dac88]
add esp, 4
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x5078f8
cmp dword [0x5dac30], 0
je 0x5078ee
mov eax, dword [0x5dfe08]
test eax, eax
je 0x5078bc
push eax
call dword [0x5dac80]
add esp, 4
push ebx
call dword [0x5dac5c]
sub dword [0x5dfca8], eax
add esp, 4
dec dword [0x5dfccc]
push ebx
call dword [0x5dac54]
mov eax, dword [0x5dfe08]
add esp, 4
test eax, eax
je 0x5078f8
push eax
call dword [0x5dac88]
jmp 0x5078f5
push ebx
call dword [0x5dac54]
add esp, 4
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x1c]
test esi, esi
je 0x507485
jmp 0x50812a
mov edi, dword [esp + 0x50]
mov eax, edi
mov ebx, dword [esp + 0x20]
or eax, ebx
je 0x507ce6
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x14]
push 0
push eax
mov edx, 0x11
mov dword [esp + 0x1c], 0
call fcn.004fa580
mov esi, eax
add esp, 8
test esi, esi
jne 0x50812a
push dword [esp + 0x38]
mov ebx, dword [esp + 0x18]
push dword [esp + 0x40]
push 1
push ebx
call fcn.00467fa0
mov eax, dword [esp + 0x30]
mov ecx, edi
sub ecx, 1
sbb eax, esi
push eax
push ecx
push 2
push ebx
call fcn.00467fa0
add esp, 0x20
test ebx, ebx
jne 0x50798a
push str.API_called_with_NULL_prepared_statement
push 0x15
call fcn.0043e300
add esp, 8
jmp 0x5079aa
cmp dword [ebx], esi
jne 0x5079a4
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.0043e300
add esp, 8
mov eax, 1
jmp 0x5079a6
xor eax, eax
test eax, eax
je 0x5079cd
push 0x5cacbc
push 0x15841
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.0043e300
add esp, 0x14
jmp 0x507c16
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
mov eax, dword [eax + 0xc]
test eax, eax
je 0x5079e4
push eax
call dword [0x5dac80]
add esp, 4
mov ecx, ebx
call fcn.00466700
cmp eax, 0x11
jne 0x507c01
mov eax, esi
inc esi
mov dword [esp + 0x1c], esi
cmp eax, 0x32
jge 0x507c01
mov eax, dword [ebx + 0x20]
lea ecx, [esp + 0x14]
mov esi, dword [ebx]
mov edx, dword [ebx + 0xc8]
push 0
push ecx
mov dword [esp + 0x38], eax
mov ecx, esi
movzx eax, byte [ebx + 0x94]
push ebx
push eax
push 0xffffffffffffffff
call fcn.004adf50
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x507b39
mov esi, dword [esp + 0x14]
lea edi, [esp + 0xa8]
mov ecx, 0x3a
mov edx, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x14]
mov ecx, 0x3a
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x3a
lea esi, [esp + 0xa8]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
mov eax, dword [ebx + 8]
mov ecx, dword [esi + 8]
mov dword [esi + 8], eax
mov eax, dword [ebx + 4]
mov dword [ebx + 8], ecx
mov ecx, dword [esi + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 0xc8]
mov dword [ebx + 4], ecx
mov ecx, dword [esi + 0xc8]
mov dword [esi + 0xc8], eax
mov dword [ebx + 0xc8], ecx
mov ecx, esi
mov eax, dword [esi + 0xdc]
mov dword [ebx + 0xdc], eax
mov al, byte [esi + 0x94]
mov byte [ebx + 0x94], al
movups xmm0, xmmword [esi + 0xa4]
movups xmmword [ebx + 0xa4], xmm0
movups xmm0, xmmword [esi + 0xb4]
movups xmmword [ebx + 0xb4], xmm0
mov eax, dword [esi + 0xc4]
mov dword [ebx + 0xc4], eax
inc dword [ebx + 0xb8]
call fcn.00468840
mov dword [esi + 0x24], 0
cmp byte [esi + 0x95], 1
jb 0x507b02
mov ecx, esi
call fcn.00463720
mov ecx, esi
call fcn.00463800
push ebx
call fcn.00465900
add esp, 4
cmp dword [esp + 0x30], 0
jl 0x507b20
mov byte [ebx + 0x93], 0xfe
mov ecx, ebx
call fcn.00466700
cmp eax, 0x11
jne 0x507c01
mov esi, dword [esp + 0x1c]
jmp 0x5079f4
cmp edi, 7
jne 0x507b45
mov ecx, esi
call fcn.0043ba90
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x124]
test ecx, ecx
jne 0x507b57
xor esi, esi
jmp 0x507b8a
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x507b74
cmp byte [ecx + 0x12], 1
jne 0x507b74
mov esi, dword [ecx + 8]
jmp 0x507b86
test dl, 1
je 0x507b7d
xor esi, esi
jmp 0x507b86
mov dl, 1
call fcn.00460000
mov esi, eax
mov eax, dword [esp + 0x10]
mov edx, dword [ebx + 0x7c]
test edx, edx
je 0x507b98
mov ecx, eax
call fcn.0043b330
mov edx, dword [esp + 0x10]
cmp byte [edx + 0x57], 0
jne 0x507cab
test esi, esi
jne 0x507bae
xor eax, eax
jmp 0x507bf0
mov ecx, esi
lea eax, [ecx + 1]
mov dword [esp + 0x30], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x507bb7
sub ecx, dword [esp + 0x30]
push 0
lea eax, [ecx + 1]
mov ecx, edx
push eax
mov dword [esp + 0x38], eax
call fcn.0043b7c0
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x507bf0
push dword [esp + 0x30]
push esi
push eax
call fcn.00570750
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, edi
mov dword [ebx + 0x7c], eax
call fcn.0043bb70
mov dword [ebx + 0x24], eax
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x507c16
push eax
call dword [0x5dac88]
add esp, 4
test ebx, ebx
je 0x507ce2
mov edi, dword [ebx]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x507c31
push eax
call dword [0x5dac80]
add esp, 4
cmp dword [ebx + 0x8c], 0
jl 0x507c4e
jg 0x507c45
cmp dword [ebx + 0x88], 0
jbe 0x507c4e
mov edx, ebx
mov ecx, edi
call fcn.00465760
mov ecx, ebx
call fcn.00463720
mov byte [ebx + 0x95], 1
mov dword [ebx + 0x20], 0xffffffff
mov dword [ebx + 0x24], 0
mov word [ebx + 0x92], 0xff02
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x1c], 1
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
cmp byte [edi + 0x57], 0
jne 0x507cbe
test eax, eax
jne 0x507cbe
xor esi, esi
jmp 0x507cc9
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x24], 7
jmp 0x507c05
mov edx, eax
mov ecx, edi
call fcn.0043bb70
mov esi, eax
mov eax, dword [edi + 0xc]
test eax, eax
je 0x507cda
push eax
call dword [0x5dac88]
add esp, 4
test esi, esi
jne 0x50812a
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x14]
push 0
push eax
mov edx, 0x21
mov dword [esp + 0x1c], 0
call fcn.004fa580
mov esi, eax
add esp, 8
test esi, esi
jne 0x50812a
push ebx
push dword [esp + 0x54]
mov ebx, dword [esp + 0x1c]
push 1
push ebx
call fcn.00467fa0
add esp, 0x10
lea edx, [esi + 1]
mov ecx, ebx
call fcn.00467b40
test eax, eax
jne 0x507d81
mov esi, dword [esp + 0x6c]
test esi, esi
je 0x507d6e
mov ecx, dword [ebx + 0x64]
push eax
push eax
mov eax, dword [esp + 0x78]
add ecx, 0x28
cdq
push edx
push eax
mov edx, esi
call fcn.0045fb80
mov esi, eax
add esp, 0x10
test esi, esi
je 0x507d6e
mov ecx, dword [ebx]
mov edx, esi
mov dword [ecx + 0x40], esi
call fcn.0043ee60
mov ecx, dword [ebx]
mov edx, esi
call fcn.0043bb70
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x507d81
push eax
call dword [0x5dac88]
add esp, 4
push dword [ebp + 0xc]
push dword [ebp + 8]
push 3
push ebx
call fcn.00467fa0
push dword [esp + 0x54]
push dword [esp + 0x5c]
push 4
push ebx
call fcn.00467fa0
add esp, 0x20
xor esi, esi
test ebx, ebx
jne 0x507db9
push str.API_called_with_NULL_prepared_statement
push 0x15
call fcn.0043e300
add esp, 8
jmp 0x507dd9
cmp dword [ebx], esi
jne 0x507dd3
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.0043e300
add esp, 8
mov eax, 1
jmp 0x507dd5
xor eax, eax
test eax, eax
je 0x507dfc
push 0x5cacbc
push 0x15841
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.0043e300
add esp, 0x14
jmp 0x508043
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
mov eax, dword [eax + 0xc]
test eax, eax
je 0x507e13
push eax
call dword [0x5dac80]
add esp, 4
mov ecx, ebx
call fcn.00466700
cmp eax, 0x11
jne 0x50802e
mov eax, esi
inc esi
mov dword [esp + 0x44], esi
cmp eax, 0x32
jge 0x50802e
mov eax, dword [ebx + 0x20]
lea ecx, [esp + 0x14]
mov edi, dword [ebx]
mov edx, dword [ebx + 0xc8]
push 0
push ecx
mov dword [esp + 0x50], eax
mov ecx, edi
movzx eax, byte [ebx + 0x94]
push ebx
push eax
push 0xffffffffffffffff
call fcn.004adf50
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x507f68
mov esi, dword [esp + 0x14]
lea edi, [esp + 0xa8]
mov ecx, 0x3a
mov edx, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x14]
mov ecx, 0x3a
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x3a
lea esi, [esp + 0xa8]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
mov eax, dword [ebx + 8]
mov ecx, dword [esi + 8]
mov dword [esi + 8], eax
mov eax, dword [ebx + 4]
mov dword [ebx + 8], ecx
mov ecx, dword [esi + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 0xc8]
mov dword [ebx + 4], ecx
mov ecx, dword [esi + 0xc8]
mov dword [esi + 0xc8], eax
mov dword [ebx + 0xc8], ecx
mov ecx, esi
mov eax, dword [esi + 0xdc]
mov dword [ebx + 0xdc], eax
mov al, byte [esi + 0x94]
mov byte [ebx + 0x94], al
movups xmm0, xmmword [esi + 0xa4]
movups xmmword [ebx + 0xa4], xmm0
movups xmm0, xmmword [esi + 0xb4]
movups xmmword [ebx + 0xb4], xmm0
mov eax, dword [esi + 0xc4]
mov dword [ebx + 0xc4], eax
inc dword [ebx + 0xb8]
call fcn.00468840
mov dword [esi + 0x24], 0
cmp byte [esi + 0x95], 1
jb 0x507f31
mov ecx, esi
call fcn.00463720
mov ecx, esi
call fcn.00463800
push ebx
call fcn.00465900
add esp, 4
cmp dword [esp + 0x48], 0
jl 0x507f4f
mov byte [ebx + 0x93], 0xfe
mov ecx, ebx
call fcn.00466700
cmp eax, 0x11
jne 0x50802e
mov esi, dword [esp + 0x44]
jmp 0x507e23
cmp esi, 7
jne 0x507f74
mov ecx, edi
call fcn.0043ba90
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x124]
test ecx, ecx
jne 0x507f86
xor edi, edi
jmp 0x507fb9
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x507fa3
cmp byte [ecx + 0x12], 1
jne 0x507fa3
mov edi, dword [ecx + 8]
jmp 0x507fb5
test dl, 1
je 0x507fac
xor edi, edi
jmp 0x507fb5
mov dl, 1
call fcn.00460000
mov edi, eax
mov eax, dword [esp + 0x10]
mov edx, dword [ebx + 0x7c]
test edx, edx
je 0x507fc7
mov ecx, eax
call fcn.0043b330
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x57], 0
jne 0x50804e
test edi, edi
jne 0x507fd9
xor ecx, ecx
jmp 0x50801f
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x507fe0
sub ecx, edx
push 0
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x50], eax
call fcn.0043b7c0
mov ecx, eax
add esp, 8
mov dword [esp + 0x44], ecx
test ecx, ecx
je 0x50801b
push dword [esp + 0x48]
push edi
push ecx
call fcn.00570750
mov ecx, dword [esp + 0x50]
add esp, 0xc
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x7c], ecx
mov edx, esi
mov ecx, eax
call fcn.0043bb70
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x508043
push eax
call dword [0x5dac88]
add esp, 4
test ebx, ebx
jne 0x50805e
xor esi, esi
jmp 0x508107
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x24], 7
jmp 0x508032
mov edi, dword [ebx]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x508071
push eax
call dword [0x5dac80]
add esp, 4
cmp dword [ebx + 0x8c], 0
jl 0x50808e
jg 0x508085
cmp dword [ebx + 0x88], 0
jbe 0x50808e
mov edx, ebx
mov ecx, edi
call fcn.00465760
mov ecx, ebx
call fcn.00463720
mov byte [ebx + 0x95], 1
mov dword [ebx + 0x20], 0xffffffff
mov dword [ebx + 0x24], 0
mov word [ebx + 0x92], 0xff02
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x1c], 1
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
cmp byte [edi + 0x57], 0
jne 0x5080eb
test eax, eax
jne 0x5080eb
xor esi, esi
jmp 0x5080f6
mov edx, eax
mov ecx, edi
call fcn.0043bb70
mov esi, eax
mov eax, dword [edi + 0xc]
test eax, eax
je 0x508107
push eax
call dword [0x5dac88]
add esp, 4
mov edx, 1
mov ecx, ebx
call fcn.00467b40
test eax, eax
jne 0x50812a
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x50812a
push eax
call dword [0x5dac88]
add esp, 4
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x6c]
test edi, edi
je 0x50818e
cmp dword [0x5dac30], 0
je 0x508184
mov eax, dword [0x5dfe08]
test eax, eax
je 0x508152
push eax
call dword [0x5dac80]
add esp, 4
push edi
call dword [0x5dac5c]
sub dword [0x5dfca8], eax
add esp, 4
dec dword [0x5dfccc]
push edi
call dword [0x5dac54]
mov eax, dword [0x5dfe08]
add esp, 4
test eax, eax
je 0x50818e
push eax
call dword [0x5dac88]
jmp 0x50818b
push edi
call dword [0x5dac54]
add esp, 4
test ebx, ebx
je 0x5081f4
cmp dword [0x5dac30], 0
je 0x5081ea
mov eax, dword [0x5dfe08]
test eax, eax
je 0x5081ae
push eax
call dword [0x5dac80]
add esp, 4
push ebx
call dword [0x5dac5c]
sub dword [0x5dfca8], eax
add esp, 4
dec dword [0x5dfccc]
push ebx
call dword [0x5dac54]
mov eax, dword [0x5dfe08]
add esp, 4
test eax, eax
je 0x5081f4
push eax
call dword [0x5dac88]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call dword [0x5dac54]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret