Function at 0x565e91
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
push 8
call fcn.005dc81a
add esp, 4
mov dword [ebp - 8], 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 - 0xc], 0
push 8
call fcn.005dc81a
add esp, 4
mov dword [ebp - 0x10], 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 - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0x6d679b
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.00401a1d
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x565f19
push ebx
call fcn.005dc820
add esp, 4
mov eax, 0x6d67bd
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x6d67cf
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 2
call fcn.00402c8b
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x565f4b
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x565f5b
push ebx
call fcn.005dc820
add esp, 4
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
push str._GROUP_BY_seller_nick_HAVING_COUNT____1
push dword [0x84b794]
push str.SELECT_seller_nick_FROM_register_order_WHERE_seller_nick_AND_my_user
mov ecx, 3
call fcn.0040108c
add esp, 0xc
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x28]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x565fb9
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
cmp dword [ebp - 4], 0
jne 0x56601f
mov eax, 0x6d684c
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x6d67cf
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 2
call fcn.00402c8b
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x56600a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x56601a
push ebx
call fcn.005dc820
add esp, 4
jmp 0x56642a
mov eax, dword [ebp - 4]
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x56614f
mov ebx, dword [ebp - 8]
push ebx
mov eax, 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
dec eax
jns 0x566062
push 0x265
push 0x4059862
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x566084
push 0x265
push 0x4059862
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x5660a1
push 0x265
push 0x4059862
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x5660b2
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x20]
jmp 0x566086
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x10]
push eax
push 4
mov eax, 2
call fcn.005dc814
add esp, 8
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x28], ebx
call fcn.00401a51
mov dword [ebp - 0x2c], ecx
mov edi, dword [ebp - 0x28]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x566101
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x2c]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x28]
call fcn.005dc838
add esp, 8
mov dword [ebp - 0x10], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x2c]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x24]
push edi
test eax, eax
je 0x566144
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 edi
mov dword [edi], eax
pop eax
pop ebx
pop ecx
jmp 0x56602b
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
call fcn.00531048
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x56617c
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x566178
imul eax, dword [ebx]
jmp 0x56616d
mov ecx, eax
test ecx, ecx
je 0x56619b
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x566194
push ebx
push eax
call fcn.005dc820
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x566182
call fcn.005dc820
add esp, 4
mov eax, 0x6b42b5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x5662ef
mov ebx, dword [ebp - 0x10]
call fcn.00401a51
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x5661ec
push 0x33a
push 0x4059862
push 4
call fcn.005dc826
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x566209
push 0x33a
push 0x4059862
push 1
call fcn.005dc826
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
push 1
lea eax, [ebp - 0x14]
push eax
push 1
mov eax, 0x6b5621
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
call fcn.004a21e5
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x566243
push ebx
call fcn.005dc820
add esp, 4
cmp dword [ebp - 0x24], 1
jne 0x5662d6
mov ebx, dword [ebp - 0x10]
call fcn.00401a51
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x566274
push 0x390
push 0x4059862
push 4
call fcn.005dc826
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x566291
push 0x390
push 0x4059862
push 1
call fcn.005dc826
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
push 0x6b4b16
push dword [ebp - 0x14]
push 0x6ba201
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
push dword [ebp - 0x18]
mov ecx, 5
call fcn.0040108c
add esp, 0x14
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x5662d2
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 1
push 1
push 0x64
call fcn.004030ba
pop eax
pop ebx
pop ecx
jmp 0x5661b7
add esp, 0xc
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x566310
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x56630c
imul eax, dword [ebx]
jmp 0x566301
mov ecx, eax
test ecx, ecx
je 0x56632f
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x566328
push ebx
push eax
call fcn.005dc820
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x566316
call fcn.005dc820
add esp, 4
mov eax, 0x6b42b5
mov dword [ebp - 0x10], eax
push 0x6b4435
push dword [ebp - 0x18]
call fcn.00402bee
add esp, 8
cmp eax, 0
jne 0x566372
mov eax, 0x6d687d
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x56636e
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x6d689f
push dword [0x84b7b0]
mov ecx, 2
call fcn.0040108c
add esp, 8
mov dword [ebp - 0x1c], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x5663a0
mov eax, 0x6b4435
push eax
push 1
mov ebx, 0x5de2f0
call fcn.005dc82c
add esp, 0x10
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00411f39
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x5663d3
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x5663e3
push ebx
call fcn.005dc820
add esp, 4
mov eax, 0x6d68af
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x6d67cf
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 2
call fcn.00402c8b
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x566415
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x566425
push ebx
call fcn.005dc820
add esp, 4
jmp 0x56642a
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x566448
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x566444
imul eax, dword [ebx]
jmp 0x566439
mov ecx, eax
test ecx, ecx
je 0x566467
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x566460
push ebx
push eax
call fcn.005dc820
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x56644e
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x56648d
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x566489
imul eax, dword [ebx]
jmp 0x56647e
mov ecx, eax
test ecx, ecx
je 0x5664ac
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x5664a5
push ebx
push eax
call fcn.005dc820
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x566493
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x5664c4
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x5664d4
push ebx
call fcn.005dc820
add esp, 4
mov esp, ebp
pop ebp
ret