Function at 0x4638e0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49eccd
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x4d7200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp + 0x10]
sub esp, 8
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xac], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0xa8], ecx
lea ecx, [eax + 0x168]
call fcn.0041b0e0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x14], 1
mov dword [ebp - 4], 0
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x24], 1
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x30], 1
push esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00401e50
mov esi, eax
cmp dword [esi], 0
jne 0x4639c8
push 2
call fcn.0048a02b
add esp, 4
mov dword [esi], eax
xor ecx, ecx
mov word [eax], cx
mov dword [esi + 4], ecx
mov edi, dword [esi]
lea ecx, [ebp - 0x38]
push ebx
mov byte [esi + 8], 1
mov dword [ebp - 0x9c], edi
call fcn.00401e50
mov ebx, eax
cmp dword [ebx], 0
jne 0x463a0c
push 2
call fcn.0048a02b
mov dword [ebx], eax
add esp, 4
xor ecx, ecx
mov word [eax], cx
mov dword [ebx + 4], ecx
mov byte [ebx + 8], 1
mov ebx, dword [ebx]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0x14], cl
mov dword [ebp - 0x18], ecx
jmp 0x463a27
mov byte [ebx + 8], 1
mov ebx, dword [ebx]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov eax, 0x4c8398
mov dword [ebp - 0x80], ebx
mov edx, 0x4c439c
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], edi
xor ecx, ecx
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x84], ebx
nop
inc ecx
cmp word [ecx*2 + 0x4ca1c8], 0
jne 0x463a50
test ebx, ebx
jne 0x463a7d
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x80], eax
jmp 0x463ac0
xor eax, eax
cmp word [ebx], ax
je 0x463abe
mov dword [ebp - 0x84], ebx
mov ebx, 0x4c8398
mov dword [ebp - 0x74], ebx
mov ebx, dword [ebp - 0x80]
mov dword [ebp - 0x88], esi
mov esi, dword [ebp - 0x5c]
mov dword [ebp - 0x80], ebx
mov ebx, dword [ebp - 0x84]
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x78], edi
nop dword [eax]
inc eax
cmp word [esi + eax*2], 0
jne 0x463ab0
mov esi, dword [ebp - 0x88]
add ecx, eax
xor eax, eax
inc eax
cmp word [eax*2 + 0x4c8398], 0
jne 0x463ac2
add ecx, eax
mov dword [ebp - 0x90], ecx
mov ecx, edi
test ecx, ecx
jne 0x463b02
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x80], ecx
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x78], edi
jmp 0x463b40
xor eax, eax
cmp word [ecx], ax
je 0x463b38
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x80], ecx
mov ecx, edi
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x78], edi
nop dword [eax]
inc eax
cmp word [ecx + eax*2], 0
jne 0x463b30
mov ecx, dword [ebp - 0x90]
add ecx, eax
xor eax, eax
inc eax
cmp word [eax*2 + 0x4c439c], 0
jne 0x463b42
add ecx, eax
mov edx, 2
mov dword [ebp - 0x90], ecx
lea eax, [ecx + 1]
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048a02b
mov edi, dword [ebp - 0x1c]
add esp, 4
mov edx, dword [ebp - 0x7c]
mov ecx, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x94], ebx
mov ebx, dword [ebp - 0x80]
mov dword [ebp - 0x5c], esi
mov esi, dword [ebp - 0x78]
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x98], eax
test edi, edi
je 0x463c12
mov eax, dword [ebp - 0x88]
mov ebx, dword [ebp - 0x84]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x98], eax
movzx eax, word [edi]
mov dword [ebp - 0x94], ebx
mov ebx, dword [ebp - 0x80]
mov dword [ebp - 0x8c], edx
test ax, ax
je 0x463c12
mov ebx, dword [ebp - 0x84]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x94], ebx
mov ebx, dword [ebp - 0x80]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x8c], edx
mov word [ecx], ax
lea edi, [edi + 2]
movzx eax, word [edi]
add ecx, 2
test ax, ax
jne 0x463c01
mov edx, 0x4ca1c8
mov edi, 0x52
sub edx, ecx
nop
mov word [ecx], di
add ecx, 2
movzx eax, word [ecx + edx]
mov edi, eax
test ax, ax
jne 0x463c20
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x463c56
movzx eax, word [eax]
mov edi, eax
test ax, ax
je 0x463c56
mov word [ecx], ax
lea ebx, [ebx + 2]
movzx eax, word [ebx]
add ecx, 2
test ax, ax
jne 0x463c45
mov edx, dword [ebp - 0x98]
mov eax, 0x20
mov word [ecx], ax
lea edx, [edx + 2]
movzx eax, word [edx]
add ecx, 2
test ax, ax
jne 0x463c61
mov eax, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x8c]
test eax, eax
je 0x463ca1
movzx eax, word [eax]
mov edi, eax
test ax, ax
je 0x463ca1
nop dword [eax]
mov word [ecx], ax
lea esi, [esi + 2]
movzx eax, word [esi]
add ecx, 2
test ax, ax
jne 0x463c90
mov eax, 0x2e
mov word [ecx], ax
lea edx, [edx + 2]
movzx eax, word [edx]
lea ecx, [ecx + 2]
test ax, ax
jne 0x463ca6
xor eax, eax
mov word [ecx], ax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x463ccc
push eax
call fcn.00489c73
add esp, 4
mov ecx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x14], 1
test ecx, ecx
je 0x463cf2
push ecx
call fcn.00489c73
mov eax, dword [ebp - 0x1c]
add esp, 4
test eax, eax
jne 0x463d0e
push 2
call fcn.0048a02b
add esp, 4
mov dword [ebp - 0x1c], eax
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0xa0]
push eax
push 0xffffffffffffffff
add ecx, 0x5b0
mov byte [ebp - 0x14], 1
call fcn.0041a070
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x5c], esi
test esi, esi
jne 0x463d4b
push 2
call fcn.0048a02b
add esp, 4
mov dword [ebp - 0x38], eax
xor ecx, ecx
mov word [eax], cx
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x5c], esi
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 0x30], 1
test edx, edx
jne 0x463d81
push 2
call fcn.0048a02b
add esp, 4
mov dword [ebp - 0x2c], eax
xor ecx, ecx
mov edi, esi
mov dword [ebp - 0x78], edi
mov word [eax], cx
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0x14], cl
mov dword [ebp - 0x18], ecx
jmp 0x463d9b
mov eax, dword [ebp - 0x1c]
mov edi, esi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x78], esi
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov esi, edx
mov dword [ebp - 0x74], eax
mov ebx, 0x4c2238
mov byte [ebp - 0x24], 1
xor ecx, ecx
nop dword [eax + eax]
inc ecx
cmp word [ecx*2 + 0x4c2028], 0
jne 0x463db0
test edx, edx
jne 0x463dcb
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x78], edi
jmp 0x463ded
xor eax, eax
cmp word [edx], ax
je 0x463de8
mov edi, dword [ebp - 0x74]
mov dword [ebp - 0x74], edi
mov edi, dword [ebp - 0x78]
mov dword [ebp - 0x78], edi
nop
inc eax
cmp word [edx + eax*2], 0
jne 0x463de0
mov edx, dword [ebp - 0x74]
add ecx, eax
xor eax, eax
nop
inc eax
cmp word [eax*2 + 0x4c2238], 0
jne 0x463df0
add eax, ecx
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x7c], eax
test ecx, ecx
jne 0x463e13
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x78], edi
jmp 0x463e2e
xor eax, eax
cmp word [ecx], ax
je 0x463e28
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x78], edi
inc eax
cmp word [ecx + eax*2], 0
jne 0x463e20
add dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048a02b
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
test eax, eax
je 0x463e71
movzx edx, word [eax]
test dx, dx
je 0x463e71
nop dword [eax]
mov word [ecx], dx
lea eax, [eax + 2]
movzx edx, word [eax]
add ecx, 2
test dx, dx
jne 0x463e60
mov edi, 0x4c2028
mov edx, 0x53
sub edi, ecx
nop dword [eax]
mov word [ecx], dx
add ecx, 2
movzx eax, word [ecx + edi]
mov edx, eax
test ax, ax
jne 0x463e80
mov edi, dword [ebp - 0x78]
test esi, esi
je 0x463eb3
movzx eax, word [esi]
mov edx, eax
test ax, ax
je 0x463eb3
mov word [ecx], ax
lea esi, [esi + 2]
movzx eax, word [esi]
add ecx, 2
test ax, ax
jne 0x463ea2
mov eax, 0x20
nop dword [eax + eax]
mov word [ecx], ax
lea ebx, [ebx + 2]
movzx eax, word [ebx]
add ecx, 2
test ax, ax
jne 0x463ec0
mov esi, dword [ebp - 0x5c]
test esi, esi
je 0x463ef3
movzx eax, word [esi]
mov edx, eax
test ax, ax
je 0x463ef3
mov word [ecx], ax
lea edi, [edi + 2]
movzx eax, word [edi]
add ecx, 2
test ax, ax
jne 0x463ee2
xor eax, eax
mov word [ecx], ax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x463f08
push eax
call fcn.00489c73
add esp, 4
mov eax, dword [ebp - 0x74]
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x14], 1
test eax, eax
je 0x463f2b
push eax
call fcn.00489c73
mov ebx, dword [ebp - 0x1c]
add esp, 4
test ebx, ebx
jne 0x463f47
push 2
call fcn.0048a02b
add esp, 4
mov dword [ebp - 0x1c], eax
xor ecx, ecx
mov word [eax], cx
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov edi, dword [ebp - 0xa0]
add edi, 0x168
mov byte [ebp - 0x14], 1
cmp byte [edi + 0x20], 0
jne 0x463f6a
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x463f6a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi + 8], 0
mov edx, ebx
mov ecx, dword [edi]
call fcn.0041a750
mov ecx, dword [edi + 4]
mov esi, eax
test ecx, ecx
je 0x463f89
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
test esi, esi
mov dword [edi + 4], esi
mov byte [edi + 0x20], 0
setne al
mov byte [edi + 0x30], al
test esi, esi
je 0x46418c
mov eax, dword [esi]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0
push ecx
push 1
push 0xffffffffffffffff
push esi
mov dword [ebp - 0x20], 0
call dword [eax + 0x10]
mov ecx, dword [edi + 8]
mov esi, dword [ebp - 0x5c]
test ecx, ecx
je 0x463fd0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
test esi, esi
mov dword [edi + 8], esi
mov byte [edi + 0x20], 0
setne al
cmp dword [edi + 8], 0
mov byte [edi + 0x30], al
je 0x46418c
mov dword [ebp - 0x58], 0
xor eax, eax
mov byte [ebp - 0x50], 0
nop word [eax + eax]
inc eax
cmp word [eax*2 + 0x4c047c], 0
jne 0x464000
mov dword [ebp - 0x54], eax
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048a02b
mov edx, eax
add esp, 4
mov eax, dword [ebp - 0x54]
xor ecx, ecx
mov dword [ebp - 0x58], edx
test eax, eax
jle 0x464057
nop word [eax + eax]
mov ax, word [ecx*2 + 0x4c047c]
mov word [edx + ecx*2], ax
inc ecx
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x58]
cmp ecx, eax
jl 0x464040
xor ecx, ecx
mov word [edx + eax*2], cx
mov byte [ebp - 0x50], 1
push dword [ebp - 0xa8]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
push dword [ebp - 0xac]
call fcn.00401cb0
mov esi, eax
cmp dword [esi], 0
jne 0x464094
push 2
call fcn.0048a02b
add esp, 4
mov dword [esi], eax
xor ecx, ecx
mov word [eax], cx
mov dword [esi + 4], ecx
mov byte [esi + 8], 1
mov eax, 8
mov esi, dword [esi]
push esi
mov word [ebp - 0x48], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x40], eax
test eax, eax
jne 0x4640b9
test esi, esi
jne 0x4641df
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 5
push eax
push 1
lea eax, [ebp - 0x58]
mov dword [ebp - 0x60], 0
push eax
mov eax, dword [ebp - 0xa0]
push 0x4ca1f8
mov edx, dword [eax + 0x170]
mov ecx, dword [eax + 0x168]
call fcn.0041a9b0
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
test al, al
jne 0x4640fb
mov esi, 0xfffffffe
jmp 0x464163
mov ebx, dword [ebp - 0x60]
lea eax, [ebp - 0x70]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
push eax
call esi
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 7
push eax
call esi
test ebx, ebx
je 0x46415b
mov eax, dword [ebx]
lea ecx, [ebp - 0x70]
push 0
push 0
push ecx
push 0
push 0x4c04c0
push ebx
call dword [eax + 0x10]
shr eax, 0x1f
xor al, 1
je 0x46415b
cmp word [ebp - 0x70], 8
jne 0x464150
push dword [ebp - 0x68]
call fcn.0048ddfc
add esp, 4
mov esi, eax
lea eax, [ebp - 0x70]
push eax
call edi
jmp 0x464163
mov esi, dword [ebp - 0x68]
lea eax, [ebp - 0x70]
push eax
call edi
jmp 0x464163
lea eax, [ebp - 0x70]
push eax
call edi
xor esi, esi
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x464174
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x48]
push eax
call edi
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x46418f
push eax
call fcn.00489c73
add esp, 4
jmp 0x46418f
or esi, 0xffffffff
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x46419f
push eax
call fcn.00489c73
add esp, 4
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4641af
push eax
call fcn.00489c73
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4641bf
push eax
call fcn.00489c73
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00489c65
mov esp, ebp
pop ebp
ret 0x10
push 0x8007000e
call fcn.00489900
int3