Function at 0x4047c9
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 0x10
call fcn.00423615
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0
mov ebx, 0x423ae0
call fcn.00423621
add esp, 4
mov dword [ebp - 0x20], eax
push str.user.mdb
push dword [ebp - 0x20]
mov ecx, 2
call fcn.004010c6
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x404866
push ebx
call fcn.0042361b
add esp, 4
mov ebx, 6
call fcn.004020c0
push reloc.ODBC32.dll_SQLBindCol
push 0
push 0x4cc053
push 0
push 0
push 0
push reloc.ODBC32.dll_SQLBindCol
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x404895
mov eax, 0x4cc053
push eax
push 0x1002e
push 0x1605b609
push 0x52010001
push 6
mov ebx, 0x4264d0
call fcn.00423621
add esp, 0x4c
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4048c7
push ebx
call fcn.0042361b
add esp, 4
mov eax, str.SELECT__FROM__user__WHERE__username_
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4048dd
push ebx
call fcn.0042361b
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.ODBC32.dll_SQLBindCol
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4048f4
mov eax, 0x4cc053
push eax
push 0x1002e
push 0x1605b609
push 0x52010001
push 2
mov ebx, 0x426640
call fcn.00423621
add esp, 0x1c
mov dword [ebp - 8], eax
push 0x80000301
push 0
push dword [ebp - 8]
push 0x1002e
push 0x1605b609
push 0x52010001
push 2
mov ebx, 0x4266e0
call fcn.00423621
add esp, 0x1c
push 0x80000301
push 0
push dword [ebp - 8]
push 0x1002e
push 0x1605b609
push 0x52010001
push 2
mov ebx, 0x4266c0
call fcn.00423621
add esp, 0x1c
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x404eb6
push reloc.ODBC32.dll_SQLBindCol
push 0
push 0x4cc283
push 0x80000301
push 0
push dword [ebp - 8]
push 0x1002e
push 0x1605b609
push 0x52010001
push 3
mov ebx, 0x4267d0
call fcn.00423621
add esp, 0x28
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
cmp ecx, reloc.ODBC32.dll_SQLBindCol
jne 0x4049d8
test eax, eax
jne 0x4049e9
mov eax, 0x4cc053
jmp 0x4049e9
cmp ecx, reloc.ODBC32.dll_SQLCancel
jne 0x4049e9
test eax, eax
jne 0x4049e9
mov eax, 0x4cc0ad
push ecx
push edx
push eax
push 1
mov ebx, 0x424f40
call fcn.00423621
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, reloc.ODBC32.dll_SQLBindCol
je 0x404a18
cmp ecx, reloc.ODBC32.dll_SQLCancel
jne 0x404a28
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x404a28
push ebx
call fcn.0042361b
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x404a3c
push ebx
call fcn.0042361b
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push reloc.ODBC32.dll_SQLBindCol
push 0
push 0x4cc28c
push 0x80000301
push 0
push dword [ebp - 8]
push 0x1002e
push 0x1605b609
push 0x52010001
push 3
mov ebx, 0x4267d0
call fcn.00423621
add esp, 0x28
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
cmp ecx, reloc.ODBC32.dll_SQLBindCol
jne 0x404a9c
test eax, eax
jne 0x404aad
mov eax, 0x4cc053
jmp 0x404aad
cmp ecx, reloc.ODBC32.dll_SQLCancel
jne 0x404aad
test eax, eax
jne 0x404aad
mov eax, 0x4cc0ad
push ecx
push edx
push eax
push 1
mov ebx, 0x424f40
call fcn.00423621
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, reloc.ODBC32.dll_SQLBindCol
je 0x404adc
cmp ecx, reloc.ODBC32.dll_SQLCancel
jne 0x404aec
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x404aec
push ebx
call fcn.0042361b
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x404b00
push ebx
call fcn.0042361b
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push reloc.ODBC32.dll_SQLBindCol
push 0
push str.nickname
push 0x80000301
push 0
push dword [ebp - 8]
push 0x1002e
push 0x1605b609
push 0x52010001
push 3
mov ebx, 0x4267d0
call fcn.00423621
add esp, 0x28
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
cmp ecx, reloc.ODBC32.dll_SQLBindCol
jne 0x404b60
test eax, eax
jne 0x404b71
mov eax, 0x4cc053
jmp 0x404b71
cmp ecx, reloc.ODBC32.dll_SQLCancel
jne 0x404b71
test eax, eax
jne 0x404b71
mov eax, 0x4cc0ad
push ecx
push edx
push eax
push 1
mov ebx, 0x424f40
call fcn.00423621
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, reloc.ODBC32.dll_SQLBindCol
je 0x404ba0
cmp ecx, reloc.ODBC32.dll_SQLCancel
jne 0x404bb0
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x404bb0
push ebx
call fcn.0042361b
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x404bc4
push ebx
call fcn.0042361b
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push reloc.ODBC32.dll_SQLBindCol
push 0
push str.savePath
push 0x80000301
push 0
push dword [ebp - 8]
push 0x1002e
push 0x1605b609
push 0x52010001
push 3
mov ebx, 0x4267d0
call fcn.00423621
add esp, 0x28
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
cmp ecx, reloc.ODBC32.dll_SQLBindCol
jne 0x404c24
test eax, eax
jne 0x404c35
mov eax, 0x4cc053
jmp 0x404c35
cmp ecx, reloc.ODBC32.dll_SQLCancel
jne 0x404c35
test eax, eax
jne 0x404c35
mov eax, 0x4cc0ad
push ecx
push edx
push eax
push 1
mov ebx, 0x424f40
call fcn.00423621
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, reloc.ODBC32.dll_SQLBindCol
je 0x404c64
cmp ecx, reloc.ODBC32.dll_SQLCancel
jne 0x404c74
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x404c74
push ebx
call fcn.0042361b
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x404c88
push ebx
call fcn.0042361b
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x404cae
push eax
mov ebx, eax
call fcn.0040105b
inc eax
push eax
call fcn.00423615
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x404cc1
push ebx
call fcn.0042361b
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x404cec
push eax
mov ebx, eax
call fcn.0040105b
inc eax
push eax
call fcn.00423615
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x404cff
push ebx
call fcn.0042361b
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x404d2a
push eax
mov ebx, eax
call fcn.0040105b
inc eax
push eax
call fcn.00423615
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x404d3d
push ebx
call fcn.0042361b
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x404d68
push eax
mov ebx, eax
call fcn.0040105b
inc eax
push eax
call fcn.00423615
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x404d7b
push ebx
call fcn.0042361b
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
push 0x5073d8
push 4
mov eax, 2
call fcn.00423603
add esp, 8
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov ebx, dword [0x5073d8]
mov dword [ebp - 0x24], ebx
call fcn.0040358b
mov dword [ebp - 0x28], ecx
mov edi, dword [ebp - 0x24]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x404dc8
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x28]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x24]
call fcn.00423627
add esp, 8
mov dword [0x5073d8], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x28]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x20]
push edi
push eax
push 0x10
call fcn.00423615
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x404e22
push eax
mov ebx, eax
call fcn.0040105b
inc eax
push eax
call fcn.00423615
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x404e41
push eax
mov ebx, eax
call fcn.0040105b
inc eax
push eax
call fcn.00423615
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x404e60
push eax
mov ebx, eax
call fcn.0040105b
inc eax
push eax
call fcn.00423615
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x404e7f
push eax
mov ebx, eax
call fcn.0040105b
inc eax
push eax
call fcn.00423615
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
pop eax
pop edi
mov dword [edi], eax
push 0x80000301
push 0
push dword [ebp - 8]
push 0x1002e
push 0x1605b609
push 0x52010001
push 2
mov ebx, 0x426700
call fcn.00423621
add esp, 0x1c
jmp 0x404944
push 0
push 0
push 0
push 0x1002e
push 0x1605b609
push 0x52010001
push 2
mov ebx, 0x426680
call fcn.00423621
add esp, 0x1c
push 0x1002e
push 0x1605b609
push 0x52010001
push 1
mov ebx, 0x426620
call fcn.00423621
add esp, 0x10
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x404f0e
push ebx
call fcn.0042361b
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x404f1e
push ebx
call fcn.0042361b
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x404f2e
push ebx
call fcn.0042361b
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x404f3e
push ebx
call fcn.0042361b
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x404f4e
push ebx
call fcn.0042361b
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x404f62
push ebx
call fcn.0042361b
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x404f76
push ebx
call fcn.0042361b
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x404f8a
push ebx
call fcn.0042361b
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x404f9e
push ebx
call fcn.0042361b
add esp, 4
pop ebx
call fcn.0042361b
add esp, 4
mov esp, ebp
pop ebp
ret