Function at 0x407fb0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push dword [ebp + 0x10]
call fcn.0040181c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x407fe6
mov eax, 0
jmp 0x408356
push dword [ebp + 0x14]
call fcn.0040181c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x408005
mov eax, 0
jmp 0x408356
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x410330
call fcn.0040f22f
add esp, 0x10
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push dword [ebp + 0xc]
push 1
mov ebx, 0x410330
call fcn.0040f22f
add esp, 0x10
mov dword [ebp - 0x10], eax
push 0x4901df
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push str._and_user
push dword [ebp - 0x10]
push 0x490685
push dword [ebp - 0xc]
push str.SELECT_COUNT___FROM__wyuser__WHERE_pid
mov ecx, 7
call fcn.004010a8
add esp, 0x1c
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x408082
push ebx
call fcn.0040f229
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x408092
push ebx
call fcn.0040f229
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4080a6
push ebx
call fcn.0040f229
add esp, 4
pop eax
mov dword [ebp - 4], eax
push getpeername
push 0
lea eax, [ebp - 8]
push eax
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4080c8
mov eax, 0x490179
push eax
push 0x80000301
push 0
push 0xb1
push 3
mov eax, 1
mov ebx, 0x45ee00
call fcn.0040f23b
add esp, 0x28
test eax, eax
je 0x408161
push getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x408107
mov eax, 0x490179
push eax
push 1
mov ebx, 0x40f9c0
call fcn.0040f22f
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x408161
push 0
push 0
push 0
push 0x80000301
push 0
push 0x10
push getpeername
push 0
push 0x4909ad
push 3
mov ebx, 0x410820
call fcn.0040f22f
add esp, 0x28
mov eax, 0
jmp 0x408356
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x410330
call fcn.0040f22f
add esp, 0x10
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push dword [ebp + 0xc]
push 1
mov ebx, 0x410330
call fcn.0040f22f
add esp, 0x10
mov dword [ebp - 0x10], eax
push 0
mov ebx, 0x410750
call fcn.0040f22f
add esp, 4
push edx
push eax
call fcn.00407f2b
push 0x80000401
push edx
push eax
push 1
mov ebx, 0x410330
call fcn.0040f22f
add esp, 0x10
mov dword [ebp - 0x24], eax
push 0x80000401
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push 1
mov ebx, 0x410330
call fcn.0040f22f
add esp, 0x10
mov dword [ebp - 0x28], eax
push 0x4902ea
mov ebx, dword [ebp + 0x20]
push dword [ebx]
push str._1_
push dword [ebp - 0x28]
push 0x4907ea
push dword [ebp - 0x24]
push 0x4907ea
mov ebx, dword [ebp + 0x14]
push dword [ebx]
push 0x4907ea
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0x4907ea
push dword [ebp - 0x10]
push 0x4907ea
push dword [ebp - 0xc]
push str.INSERT_INTO__wyuser____uid___pid___sid___user___pass___date1___date2___paysum___text___VALUES__NULL_
mov ecx, 0xf
call fcn.004010a8
add esp, 0x3c
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x408257
push ebx
call fcn.0040f229
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x408267
push ebx
call fcn.0040f229
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x408277
push ebx
call fcn.0040f229
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x408287
push ebx
call fcn.0040f229
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40829b
push ebx
call fcn.0040f229
add esp, 4
pop eax
mov dword [ebp - 4], eax
push getpeername
push 0
lea eax, [ebp - 8]
push eax
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4082bd
mov eax, 0x490179
push eax
push 0x80000301
push 0
push 0xb3
push 3
mov eax, 1
mov ebx, 0x45ee00
call fcn.0040f23b
add esp, 0x28
test eax, eax
je 0x408314
push getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4082fc
mov eax, 0x490179
push eax
push 1
mov ebx, 0x40f9c0
call fcn.0040f22f
add esp, 0x10
jmp 0x408356
push 0
push 0
push 0
push 0x80000301
push 0
push 0x10
push getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x408339
mov eax, 0x490179
push eax
push 3
mov ebx, 0x410820
call fcn.0040f22f
add esp, 0x28
mov eax, 0
jmp 0x408356
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x408367
push ebx
call fcn.0040f229
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x408377
push ebx
call fcn.0040f229
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x1c