Function at 0x4a1abc
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
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], 0x6b45a4
push 0xc
call fcn.005dc81a
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x6b6b66
push ebx
mov eax, esp
push eax
call fcn.0042476f
pop ebx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov eax, 0x6c9d75
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.00401a1d
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4a1b62
push ebx
call fcn.005dc820
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4a1b77
mov eax, 0x6b4435
push eax
push 1
mov ebx, 0x5dcf40
call fcn.005dc82c
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4a1ba1
mov eax, 0
jmp 0x4a21bd
call fcn.004571e8
mov dword [ebp - 0x14], eax
push 1
push 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4a1bd2
push ebx
call fcn.005dc820
add esp, 4
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov eax, 0x6b9761
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, 0x6b51b8
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
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 - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4a1c17
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4a1c27
push ebx
call fcn.005dc820
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x4a1c94
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x6b7e10
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x6c9d90
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
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 - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4a1c76
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4a1c86
push ebx
call fcn.005dc820
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x4a1c94
xor eax, eax
jmp 0x4a1c99
mov eax, 1
test eax, eax
je 0x4a1cab
mov eax, 0
jmp 0x4a21bd
push 0x84b95c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
push 0x6c9d95
push dword [0x84b7b0]
mov ecx, 2
call fcn.0040108c
add esp, 8
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4a1d13
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4a1d23
push ebx
call fcn.005dc820
add esp, 4
cmp dword [ebp - 0x20], 0
jne 0x4a1d46
push 0x84b95c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov eax, 0
jmp 0x4a21bd
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x4a1d5b
mov eax, 0x6b4435
push eax
push 1
mov ebx, 0x5dcf40
call fcn.005dc82c
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4a1de0
push 0x6b4d58
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push str._OR_name
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.SELECT_COUNT___FROM_black_shops_WHERE_seller_nick
mov ecx, 5
call fcn.0040108c
add esp, 0x14
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4a1dd5
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
jmp 0x4a1e36
push 0x6b4d58
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.SELECT_COUNT___FROM_black_shops_WHERE_seller_nick
mov ecx, 3
call fcn.0040108c
add esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4a1e30
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4a1e67
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
push 0x84b95c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov eax, 0
jmp 0x4a21bd
push dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
push 0
push dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x30]
mov dword [ebp - 0x10], eax
push dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x34]
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
push 0x84b95c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
cmp dword [ebp - 0x10], 0
jle 0x4a2056
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, 0x6c9df6
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, 0x6b7285
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4a1f0f
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4a1f1f
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4a1f2f
push ebx
call fcn.005dc820
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, 0x6c9e05
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, 0x6b7285
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
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 - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4a1f74
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4a1f84
push ebx
call fcn.005dc820
add esp, 4
push 0
push dword [ebp - 0x30]
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0x14]
call fcn.0040e473
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4a1fab
push ebx
call fcn.005dc820
add esp, 4
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov eax, 0x6c9e18
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, 0x6c9d90
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
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 - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4a1ff0
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4a2000
push ebx
call fcn.005dc820
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x4a204c
push 0x6c9e25
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0x6c9d30
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0x6c9e71
mov ecx, 5
call fcn.0040108c
add esp, 0x14
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00442d16
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4a204c
push ebx
call fcn.005dc820
add esp, 4
mov eax, 1
jmp 0x4a21bd
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov eax, 0x6c9e8a
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, 0x6c9d90
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
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 - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4a209b
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4a20ab
push ebx
call fcn.005dc820
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x4a21b3
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
push 1
mov eax, 0x6b5621
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call fcn.004a21e5
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4a20ee
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4a20fe
push ebx
call fcn.005dc820
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x4a21b3
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov eax, 0x6c9e18
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, 0x6c9d90
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
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 - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4a214d
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4a215d
push ebx
call fcn.005dc820
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x4a21a9
push 0x6c9e99
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0x6c9d30
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0x6c9e71
mov ecx, 5
call fcn.0040108c
add esp, 0x14
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00442d16
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4a21a9
push ebx
call fcn.005dc820
add esp, 4
mov eax, 1
jmp 0x4a21bd
mov eax, 0
jmp 0x4a21bd
push eax
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]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.005dc820
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10