Function at 0x567928
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push 0xc
call fcn.005dc81a
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x6b43a9
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 8
call fcn.005dc81a
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x6b42b5
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0xc
call fcn.005dc81a
add esp, 4
mov dword [ebp - 0x20], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x6d6af3
push 8
call fcn.005dc81a
add esp, 4
mov dword [ebp - 0x24], eax
mov edi, eax
mov esi, 0x6b42b5
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov eax, str._condition
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x567a46
push ebx
call fcn.005dc820
add esp, 4
push 0x6b4d58
push dword [0x84b794]
push str._my_user
push dword [ebp - 0x38]
mov ecx, 4
call fcn.0040108c
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x567a79
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x567a8d
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov eax, str._handle
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x567aca
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
push 1
lea eax, [ebp - 8]
push eax
mov eax, str.income
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x567b13
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
cmp dword [ebp - 0x10], 0
jg 0x567b7c
push 0x10001
push 0x6010000
push 0x52010001
push reloc.WS2_32.dll_connect
push 0
push 0x6ba395
push 0x80000301
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x6d6ccd
push 4
mov ebx, 0x5e0a10
call fcn.005dc82c
add esp, 0x34
jmp 0x5682cb
push 0x10001
push 0x6010000
push 0x52010001
push 0x80000301
push 0
push 4
push reloc.WS2_32.dll_connect
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x6ba395
push reloc.WS2_32.dll_connect
push 0
push 0x6d6ce6
push 6
mov ebx, 0x5e0770
call fcn.005dc82c
add esp, 0x4c
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jne 0x5682c6
mov eax, dword [0x84b8e8]
push eax
push dword [ebp - 0x14]
call fcn.00402bee
add esp, 8
cmp eax, 0
jne 0x568281
push dword [ebp - 8]
push str.SELECT__FROM_income_WHERE
mov ecx, 2
call fcn.0040108c
add esp, 8
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x567c25
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0xf
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x28]
mov dword [ebp - 0x10], eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
push 0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, 0x6d6d22
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x567ca3
push ebx
call fcn.005dc820
add esp, 4
push 0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov eax, 0x6d6d59
push eax
mov ebx, eax
call fcn.00401a51
pop eax
sub ebx, eax
push ecx
push ebx
push eax
shl ecx, 2
add ecx, ebx
push ecx
call fcn.005dc81a
add esp, 4
pop esi
mov edi, eax
pop ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
pop ecx
test ecx, ecx
je 0x567d13
push eax
lodsd eax, dword [esi]
push esi
push edi
push ecx
test eax, eax
je 0x567d07
push eax
mov ebx, eax
call fcn.00401021
inc eax
push eax
call fcn.005dc81a
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop ecx
pop edi
pop esi
stosd dword es:[edi], eax
dec ecx
jne 0x567cea
pop eax
push eax
mov ebx, dword [ebp - 0x24]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x567d32
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x567d2e
imul eax, dword [ebx]
jmp 0x567d23
mov ecx, eax
test ecx, ecx
je 0x567d51
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x567d4a
push ebx
push eax
call fcn.005dc820
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x567d38
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x24]
call fcn.0040294f
xor ecx, ecx
push eax
lea eax, [ebp - 0x28]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x567e01
fild dword [ebp - 0x28]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x6b43f1]
fstp qword [ebp - 0x3c]
mov ebx, dword [ebp - 0x24]
call fcn.00401a51
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x567db5
push 0x4f0
push 0x4125e28
push 4
call fcn.005dc826
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x567dd2
push 0x4f0
push 0x4125e28
push 1
call fcn.005dc826
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x40], ebx
push dword [ebp - 0x40]
fld qword [ebp - 0x3c]
call fcn.004019f6
push eax
push 0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x28]
pop eax
pop ebx
pop ecx
jmp 0x567d6e
add esp, 0xc
mov ebx, dword [ebp - 0x24]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x567e22
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x567e1e
imul eax, dword [ebx]
jmp 0x567e13
mov ecx, eax
test ecx, ecx
je 0x567e41
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x567e3a
push ebx
push eax
call fcn.005dc820
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x567e28
call fcn.005dc820
add esp, 4
mov eax, 0x6b42b5
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
xor ecx, ecx
push eax
lea eax, [ebp - 0x28]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x567f5c
xor ecx, ecx
lea eax, [ebp - 0x2c]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0xf
jg 0x567f51
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x6b43f1]
fstp qword [ebp - 0x3c]
mov ebx, dword [ebp - 0x1c]
push ebx
mov eax, dword [ebp - 0x2c]
dec eax
jns 0x567eb3
push 0x5b2
push 0x4125e28
push 4
call fcn.005dc826
add esp, 0xc
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x28]
dec eax
jns 0x567ed3
push 0x5b2
push 0x4125e28
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x567ef5
push 0x5b2
push 0x4125e28
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x567f12
push 0x5b2
push 0x4125e28
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x567f23
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x44]
jmp 0x567ef7
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x44], ebx
push dword [ebp - 0x44]
fld qword [ebp - 0x3c]
call fcn.004019f6
push eax
push dword [ebp - 0x28]
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x28]
pop ebx
pop ecx
jmp 0x567e72
add esp, 8
pop eax
pop ebx
pop ecx
jmp 0x567e5d
add esp, 0xc
push 0
mov ebx, 0x5df7e0
call fcn.005dc82c
add esp, 4
push reloc.WS2_32.dll_closesocket
push edx
push eax
push 1
mov ebx, 0x5ded50
call fcn.005dc82c
add esp, 0x10
mov dword [ebp - 0x38], eax
push 0x6d6d9d
push dword [ebp - 0x38]
push 0x6b575b
push dword [0x84b7b0]
mov ecx, 4
call fcn.0040108c
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x567fc0
push ebx
call fcn.005dc820
add esp, 4
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x567fe2
push ebx
call fcn.005dc820
add esp, 4
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
cmp dword [ebp - 0xc], 0
je 0x568196
mov eax, dword [ebp - 0x10]
xor ecx, ecx
push eax
lea eax, [ebp - 0x28]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x568193
mov ebx, dword [ebp - 0x1c]
push ebx
mov eax, 0xa
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
dec eax
jns 0x56803d
push 0x6ea
push 0x4125e28
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x56805f
push 0x6ea
push 0x4125e28
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x56807c
push 0x6ea
push 0x4125e28
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x56808d
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x34]
jmp 0x568061
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x34], ebx
push 0x6d3a26
mov ebx, dword [ebp - 0x34]
push dword [ebx]
call fcn.00402bee
add esp, 8
cmp eax, 0
je 0x5680b7
jmp 0x56818b
mov ebx, dword [ebp - 0x1c]
push ebx
mov eax, 0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
dec eax
jns 0x5680e0
push 0x735
push 0x4125e28
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x568102
push 0x735
push 0x4125e28
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x56811f
push 0x735
push 0x4125e28
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x568130
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x34]
jmp 0x568104
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x34], ebx
mov eax, 0x6d6dab
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov eax, 0x6d6db4
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x34]
call fcn.00443434
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x56816a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x56817a
push ebx
call fcn.005dc820
add esp, 4
push 1
push 1
push 0x3c
call fcn.004030ba
pop eax
pop ebx
pop ecx
jmp 0x568006
add esp, 0xc
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x5681b4
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x5681b0
imul eax, dword [ebx]
jmp 0x5681a5
mov ecx, eax
test ecx, ecx
je 0x5681d3
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x5681cc
push ebx
push eax
call fcn.005dc820
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x5681ba
call fcn.005dc820
add esp, 4
mov eax, 0x6b42b5
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0xc], 0
je 0x568237
push 0x10001
push 0x6010000
push 0x52010001
push reloc.WS2_32.dll_connect
push 0
push 0x6ba395
push 0x80000301
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x6d6dbd
push 4
mov ebx, 0x5e0a10
call fcn.005dc82c
add esp, 0x34
jmp 0x56827c
push 0x10001
push 0x6010000
push 0x52010001
push reloc.WS2_32.dll_connect
push 0
push 0x6ba395
push 0x80000301
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x6d6e02
push 4
mov ebx, 0x5e0a10
call fcn.005dc82c
add esp, 0x34
jmp 0x5682c6
push 0x10001
push 0x6010000
push 0x52010001
push reloc.WS2_32.dll_connect
push 0
push 0x6ba395
push 0x80000301
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x6d6e2a
push 4
mov ebx, 0x5e0a10
call fcn.005dc82c
add esp, 0x34
jmp 0x5682cb
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x5682eb
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x5682fb
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x56830b
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x568329
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x568325
imul eax, dword [ebx]
jmp 0x56831a
mov ecx, eax
test ecx, ecx
je 0x568348
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x568341
push ebx
push eax
call fcn.005dc820
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x56832f
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x20]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x56837e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x56837a
imul eax, dword [ebx]
jmp 0x56836f
mov ecx, eax
test ecx, ecx
je 0x56839d
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x568396
push ebx
push eax
call fcn.005dc820
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x568384
call fcn.005dc820
add esp, 4
mov esp, ebp
pop ebp
ret 4