Function at 0x403ee4
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push 8
push 0x1601000a
push 0x52010001
call fcn.004063dc
add esp, 0x10
mov dword [ebp - 8], eax
push 0x48053f
push dword [ebp - 8]
call fcn.00401004
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x403f3b
push ebx
call fcn.004063d0
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x403f7a
push 0
push 0
push 0
push 0x80000301
push 0
push 0
push reloc.ODBC32.dll_SQLBindCol
push 0
push 0x4809d8
push 3
mov ebx, 0x406880
call fcn.004063e2
add esp, 0x28
jmp 0x4048f7
push 0xffffffffffffffff
push 8
push 0x1601000a
push 0x52010001
call fcn.004063dc
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [0x4a77e8]
test ebx, ebx
je 0x403faa
push ebx
call fcn.004063d0
add esp, 4
pop eax
mov dword [0x4a77e8], eax
push 0x480551
push dword [0x4a77e8]
push str.SELECT__FROM_UserList_Private_WHERE_UserId
mov ecx, 3
call fcn.004012c9
add esp, 0xc
mov dword [ebp - 8], eax
push reloc.ODBC32.dll_SQLBindCol
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x403fe3
mov eax, 0x48053f
push eax
push 0x1002e
push 0x16010077
push 0x52010001
push 2
mov ebx, 0x406e00
call fcn.004063e2
add esp, 0x1c
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x404018
push ebx
call fcn.004063d0
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [0x4a77b8], eax
push reloc.ODBC32.dll_SQLBindCol
push 0
push str.UserId
push 0x80000301
push 0
push dword [0x4a77b8]
push 0x1002e
push 0x16010077
push 0x52010001
push 3
mov ebx, 0x406f90
call fcn.004063e2
add esp, 0x28
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
cmp ecx, reloc.ODBC32.dll_SQLBindCol
je 0x40407b
push 5
call fcn.004063ee
add esp, 4
mov eax, dword [0x4a77e8]
push eax
push dword [ebp - 0x10]
call fcn.00401004
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
cmp ecx, reloc.ODBC32.dll_SQLBindCol
je 0x4040b1
cmp ecx, reloc.ODBC32.dll_SQLCancel
jne 0x4040c1
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4040c1
push ebx
call fcn.004063d0
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x404129
push 0x80000301
push 0
push dword [0x4a77b8]
push 0x1002e
push 0x16010077
push 0x52010001
push 2
mov ebx, 0x406e40
call fcn.004063e2
add esp, 0x1c
push 0
push 0
push 0
push 0x80000301
push 0
push 0
push reloc.ODBC32.dll_SQLBindCol
push 0
push 0x480a11
push 3
mov ebx, 0x406880
call fcn.004063e2
add esp, 0x28
push reloc.ODBC32.dll_SQLBindCol
push 0
push str.Password
push 0x80000301
push 0
push dword [0x4a77b8]
push 0x1002e
push 0x16010077
push 0x52010001
push 3
mov ebx, 0x406f90
call fcn.004063e2
add esp, 0x28
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
cmp ecx, reloc.ODBC32.dll_SQLBindCol
je 0x404184
push 5
call fcn.004063ee
add esp, 4
push 0
push dword [ebp - 0x10]
push 0xffffffffffffffff
push 8
push 0x16010006
push 0x52010001
call fcn.004063e8
add esp, 0x18
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4041af
push ebx
call fcn.004063d0
add esp, 4
push 0x80000301
push 0
push dword [0x4a77b8]
push 0x1002e
push 0x16010077
push 0x52010001
push 2
mov ebx, 0x406e40
call fcn.004063e2
add esp, 0x1c
push 0x480551
push dword [0x4a77e8]
push str.SELECT__FROM_Billing_DB.dbo.Bill_Users_WHERE_UserID
mov ecx, 3
call fcn.004012c9
add esp, 0xc
mov dword [ebp - 8], eax
push reloc.ODBC32.dll_SQLBindCol
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x404210
mov eax, 0x48053f
push eax
push 0x1002e
push 0x16010077
push 0x52010001
push 2
mov ebx, 0x406e00
call fcn.004063e2
add esp, 0x1c
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x404245
push ebx
call fcn.004063d0
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [0x4a77b8], eax
push reloc.ODBC32.dll_SQLBindCol
push 0
push str.UserID
push 0x80000301
push 0
push dword [0x4a77b8]
push 0x1002e
push 0x16010077
push 0x52010001
push 3
mov ebx, 0x406f90
call fcn.004063e2
add esp, 0x28
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
cmp ecx, reloc.ODBC32.dll_SQLBindCol
je 0x4042a8
push 5
call fcn.004063ee
add esp, 4
push reloc.ODBC32.dll_SQLBindCol
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4042bb
mov eax, 0x48053f
push eax
push 1
mov ebx, 0x4066a0
call fcn.004063e2
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4042e1
push ebx
call fcn.004063d0
add esp, 4
mov eax, dword [0x4a77e8]
push eax
push dword [ebp - 0x14]
call fcn.00401004
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x404310
push ebx
call fcn.004063d0
add esp, 4
cmp dword [ebp - 0x18], 0
je 0x4043f4
push reloc.ODBC32.dll_SQLBindCol
push 0
push 0x480a5a
push 0x80000301
push 0
push dword [0x4a77b8]
push 0x1002e
push 0x16010077
push 0x52010001
push 3
mov ebx, 0x406f90
call fcn.004063e2
add esp, 0x28
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
cmp ecx, reloc.ODBC32.dll_SQLBindCol
jne 0x404379
test eax, eax
jne 0x40438a
mov eax, 0x48053f
jmp 0x40438a
cmp ecx, reloc.ODBC32.dll_SQLCancel
jne 0x40438a
test eax, eax
jne 0x40438a
mov eax, 0x480594
push ecx
push edx
push eax
push 1
mov ebx, 0x406770
call fcn.004063e2
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
cmp ecx, reloc.ODBC32.dll_SQLBindCol
je 0x4043b9
cmp ecx, reloc.ODBC32.dll_SQLCancel
jne 0x4043c9
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4043c9
push ebx
call fcn.004063d0
add esp, 4
push 0
push dword [ebp - 0x14]
push 0xffffffffffffffff
push 8
push 0x1601001d
push 0x52010001
call fcn.004063e8
add esp, 0x18
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4043f4
push ebx
call fcn.004063d0
add esp, 4
push 0x80000301
push 0
push dword [0x4a77b8]
push 0x1002e
push 0x16010077
push 0x52010001
push 2
mov ebx, 0x406e40
call fcn.004063e2
add esp, 0x1c
push 0x480551
push dword [0x4a77e8]
push str..dbo.UserAliasList_WHERE_UserId
push dword [0x4a77bc]
push str.SELECT__FROM
mov ecx, 5
call fcn.004012c9
add esp, 0x14
mov dword [ebp - 8], eax
push reloc.ODBC32.dll_SQLBindCol
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x404460
mov eax, 0x48053f
push eax
push 0x1002e
push 0x16010077
push 0x52010001
push 2
mov ebx, 0x406e00
call fcn.004063e2
add esp, 0x1c
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x404495
push ebx
call fcn.004063d0
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [0x4a77b8], eax
push 0x80000301
push 0
push dword [0x4a77b8]
push 0x1002e
push 0x16010077
push 0x52010001
push 2
mov ebx, 0x406ea0
call fcn.004063e2
add esp, 0x1c
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x1601001a
push 0x52010001
call fcn.004063e8
add esp, 0x18
push 0
push 0
push 0xffffffffffffffff
push 6
push 0x16010007
push 0x52010001
call fcn.004063e8
add esp, 0x18
push 0x20004
push 0x16010012
push 0x52010001
push 1
mov eax, 1
mov ebx, 0x4501f0
call fcn.004063d6
add esp, 0x10
push 0x80000301
push 0
push dword [0x4a77b8]
push 0x1002e
push 0x16010077
push 0x52010001
push 2
mov ebx, 0x406e80
call fcn.004063e2
add esp, 0x1c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4048c9
push reloc.ODBC32.dll_SQLBindCol
push 0
push str.AliasSeq
push 0x80000301
push 0
push dword [0x4a77b8]
push 0x1002e
push 0x16010077
push 0x52010001
push 3
mov ebx, 0x406f90
call fcn.004063e2
add esp, 0x28
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
cmp ecx, reloc.ODBC32.dll_SQLBindCol
jne 0x4045c5
test eax, eax
jne 0x4045d6
mov eax, 0x48053f
jmp 0x4045d6
cmp ecx, reloc.ODBC32.dll_SQLCancel
jne 0x4045d6
test eax, eax
jne 0x4045d6
mov eax, 0x480594
push ecx
push edx
push eax
push 1
mov ebx, 0x406770
call fcn.004063e2
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
cmp ecx, reloc.ODBC32.dll_SQLBindCol
je 0x404605
cmp ecx, reloc.ODBC32.dll_SQLCancel
jne 0x404615
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x404615
push ebx
call fcn.004063d0
add esp, 4
mov ebx, 0xc
call fcn.00403741
push reloc.ODBC32.dll_SQLBindCol
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x404632
mov eax, 0x48053f
push eax
push 0
push 0
push 0
push 0x20004
push 0x16010012
push 0x52010001
push 7
mov eax, 1
mov ebx, 0x4500d0
call fcn.004063d6
add esp, 0x58
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x404672
push ebx
call fcn.004063d0
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
push reloc.ODBC32.dll_SQLBindCol
push 0
push str.UserAlias
push 0x80000301
push 0
push dword [0x4a77b8]
push 0x1002e
push 0x16010077
push 0x52010001
push 3
mov ebx, 0x406f90
call fcn.004063e2
add esp, 0x28
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
cmp ecx, reloc.ODBC32.dll_SQLBindCol
jne 0x4046d7
test eax, eax
jne 0x4046e8
mov eax, 0x48053f
jmp 0x4046e8
cmp ecx, reloc.ODBC32.dll_SQLCancel
jne 0x4046e8
test eax, eax
jne 0x4046e8
mov eax, 0x480594
push ecx
push edx
push eax
push 1
mov ebx, 0x406770
call fcn.004063e2
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
cmp ecx, reloc.ODBC32.dll_SQLBindCol
je 0x404717
cmp ecx, reloc.ODBC32.dll_SQLCancel
jne 0x404727
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x404727
push ebx
call fcn.004063d0
add esp, 4
push reloc.ODBC32.dll_SQLBindCol
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40473a
mov eax, 0x48053f
push eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 4]
push 0x20004
push 0x16010012
push 0x52010001
push 4
mov eax, 1
mov ebx, 0x4500b0
call fcn.004063d6
add esp, 0x34
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x404787
push ebx
call fcn.004063d0
add esp, 4
push reloc.ODBC32.dll_SQLBindCol
push 0
push str.Level
push 0x80000301
push 0
push dword [0x4a77b8]
push 0x1002e
push 0x16010077
push 0x52010001
push 3
mov ebx, 0x406f90
call fcn.004063e2
add esp, 0x28
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
cmp ecx, reloc.ODBC32.dll_SQLBindCol
jne 0x4047e6
test eax, eax
jne 0x4047f7
mov eax, 0x48053f
jmp 0x4047f7
cmp ecx, reloc.ODBC32.dll_SQLCancel
jne 0x4047f7
test eax, eax
jne 0x4047f7
mov eax, 0x480594
push ecx
push edx
push eax
push 1
mov ebx, 0x406770
call fcn.004063e2
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
cmp ecx, reloc.ODBC32.dll_SQLBindCol
je 0x404826
cmp ecx, reloc.ODBC32.dll_SQLCancel
jne 0x404836
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x404836
push ebx
call fcn.004063d0
add esp, 4
push reloc.ODBC32.dll_SQLBindCol
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x404849
mov eax, 0x48053f
push eax
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 4]
push 0x20004
push 0x16010012
push 0x52010001
push 4
mov eax, 1
mov ebx, 0x4500b0
call fcn.004063d6
add esp, 0x34
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x404896
push ebx
call fcn.004063d0
add esp, 4
push 0x80000301
push 0
push dword [0x4a77b8]
push 0x1002e
push 0x16010077
push 0x52010001
push 2
mov ebx, 0x406ec0
call fcn.004063e2
add esp, 0x1c
jmp 0x40452b
push 0x80000301
push 0
push dword [0x4a77b8]
push 0x1002e
push 0x16010077
push 0x52010001
push 2
mov ebx, 0x406e40
call fcn.004063e2
add esp, 0x1c
mov esp, ebp
pop ebp
ret