Function at 0x4b4efa
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
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
push 8
call fcn.005dc81a
add esp, 4
mov dword [ebp - 0x18], 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 - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x6b45a4
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
push 8
call fcn.005dc81a
add esp, 4
mov dword [ebp - 0x28], 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 - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov eax, 0x6cb091
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
call fcn.00401a1d
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4b4fe6
push ebx
call fcn.005dc820
add esp, 4
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0043e7b7
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x4b5022
mov eax, 0
jmp 0x4b643f
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
push 0x6b4d58
push dword [0x84b794]
push 0x6b5a60
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.SELECT__FROM_income_WHERE_order_main
mov ecx, 5
call fcn.0040108c
add esp, 0x14
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x40]
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 - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4b508a
push ebx
call fcn.005dc820
add esp, 4
cmp dword [ebp - 0x44], 1
je 0x4b50ef
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov eax, 0x6cb0bd
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
mov eax, 0x6b8554
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
push 2
call fcn.00402c8b
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4b50d5
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4b50e5
push ebx
call fcn.005dc820
add esp, 4
mov eax, 0
jmp 0x4b643f
call fcn.00438c6d
mov dword [ebp - 0x40], eax
push 1
push 1
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4b5120
push ebx
call fcn.005dc820
add esp, 4
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov eax, 0x6cb0e5
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
mov eax, 0x6b8554
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4b5165
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4b5175
push ebx
call fcn.005dc820
add esp, 4
cmp dword [ebp - 0x4c], 0
je 0x4b5279
mov ebx, dword [ebp - 0x18]
mov eax, 3
mov dword [ebp - 0x40], eax
mov eax, 0
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x4b51b0
push 0x2f6
push 0x405d83c
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x4b51cd
push 0x2f6
push 0x405d83c
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x4b51de
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x44]
jmp 0x4b51b2
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x44], ebx
push 0x6cb0fa
push dword [0x84b794]
push 0x6b5a60
mov ebx, dword [ebp - 0x44]
push dword [ebx]
push 0x6b62ba
mov ecx, 5
call fcn.0040108c
add esp, 0x14
mov dword [ebp - 0x48], eax
push 1
lea eax, [ebp - 0x48]
push eax
mov eax, str.income
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4b5246
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4b5256
push ebx
call fcn.005dc820
add esp, 4
cmp dword [ebp - 0x50], 0
jne 0x4b5279
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov eax, 0
jmp 0x4b643f
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov eax, 0x6cb13d
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
mov eax, 0x6b8554
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4b52be
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4b52ce
push ebx
call fcn.005dc820
add esp, 4
fild dword [ebp - 0x4c]
fstp qword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
mov ebx, dword [ebp - 0x18]
mov eax, 9
mov dword [ebp - 0x40], eax
mov eax, 0
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x4b5311
push 0x46d
push 0x405d83c
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x4b532e
push 0x46d
push 0x405d83c
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x4b533f
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x44]
jmp 0x4b5313
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x44], ebx
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x44]
mov eax, dword [ebx]
test eax, eax
jne 0x4b535e
mov eax, 0x6b4435
push eax
push 1
mov ebx, 0x5dd7a0
call fcn.005dc82c
add esp, 0x10
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
fld qword [ebp - 0x24]
fsub qword [ebp - 0x54]
fcomp qword [0x6b4769]
fnstsw ax
test ah, 1
je 0x4b53a9
fld qword [ebp - 0x24]
fcomp qword [0x6b5816]
fnstsw ax
test ah, 0x41
jne 0x4b53a9
mov eax, 1
jmp 0x4b53ae
mov eax, 0
test eax, eax
je 0x4b547d
mov ebx, dword [ebp - 0x18]
mov eax, 5
mov dword [ebp - 0x40], eax
mov eax, 0
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x4b53e7
push 0x4de
push 0x405d83c
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x4b5404
push 0x4de
push 0x405d83c
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x4b5415
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x44]
jmp 0x4b53e9
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x44], ebx
push 0x6cb14a
mov ebx, dword [ebp - 0x44]
push dword [ebx]
push 0x6cb184
mov ecx, 3
call fcn.0040108c
add esp, 0xc
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
mov eax, 0x6b8554
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 2
call fcn.00402c8b
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4b5468
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4b5478
push ebx
call fcn.005dc820
add esp, 4
jmp 0x4b638c
mov ebx, dword [ebp - 0x18]
mov eax, 3
mov dword [ebp - 0x40], eax
mov eax, 0
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x4b54ae
push 0x5a5
push 0x405d83c
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x4b54cb
push 0x5a5
push 0x405d83c
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x4b54dc
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x44]
jmp 0x4b54b0
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x44], ebx
push 0x6b4d58
push dword [0x84b794]
push 0x6b5a60
mov ebx, dword [ebp - 0x44]
push dword [ebx]
push str.SELECT__FROM_member_WHERE_wxid
mov ecx, 5
call fcn.0040108c
add esp, 0x14
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x48]
push eax
push 0x20
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x28]
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4b553f
push ebx
call fcn.005dc820
add esp, 4
cmp dword [ebp - 0x4c], 0
jne 0x4b5590
mov eax, 0x6cb19b
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
mov eax, 0x6b8554
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
push 2
call fcn.00402c8b
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4b557b
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4b558b
push ebx
call fcn.005dc820
add esp, 4
jmp 0x4b638c
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov eax, 0x6cb1bf
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
mov eax, 0x6b8554
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4b55d5
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4b55e5
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
mov eax, 0xc
mov dword [ebp - 0x40], eax
mov eax, 0
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x4b561c
push 0x72b
push 0x405d83c
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x4b5639
push 0x72b
push 0x405d83c
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x4b564a
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x44]
jmp 0x4b561e
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x44], ebx
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x44]
mov eax, dword [ebx]
test eax, eax
jne 0x4b5669
mov eax, 0x6b4435
push eax
push 1
mov ebx, 0x5dd7a0
call fcn.005dc82c
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fsub qword [ebp - 0x4c]
fcomp qword [0x6b5816]
fnstsw ax
test ah, 0x41
jne 0x4b56b0
cmp dword [ebp - 0x2c], 0
jle 0x4b56b0
mov eax, 1
jmp 0x4b56b5
mov eax, 0
test eax, eax
je 0x4b5784
mov ebx, dword [ebp - 0x28]
mov eax, 4
mov dword [ebp - 0x40], eax
mov eax, 0
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x4b56ee
push 0x79c
push 0x405d83c
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x4b570b
push 0x79c
push 0x405d83c
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x4b571c
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x44]
jmp 0x4b56f0
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x44], ebx
push 0x6cb1cc
mov ebx, dword [ebp - 0x44]
push dword [ebx]
push 0x6cb184
mov ecx, 3
call fcn.0040108c
add esp, 0xc
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
mov eax, 0x6b8554
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 2
call fcn.00402c8b
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4b576f
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4b577f
push ebx
call fcn.005dc820
add esp, 4
jmp 0x4b638c
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov eax, 0x6cb204
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
mov eax, 0x6b8554
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4b57c9
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4b57d9
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x28]
mov eax, 3
mov dword [ebp - 0x40], eax
mov eax, 0
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x4b5810
push 0x8ad
push 0x405d83c
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x4b582d
push 0x8ad
push 0x405d83c
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x4b583e
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x44]
jmp 0x4b5812
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x44], ebx
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x44]
mov eax, dword [ebx]
test eax, eax
jne 0x4b585d
mov eax, 0x6b4435
push eax
push 1
mov ebx, 0x5dd7a0
call fcn.005dc82c
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
fild dword [ebp - 0x30]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fsub qword [ebp - 0x4c]
fcomp qword [0x6b5816]
fnstsw ax
test ah, 0x41
jne 0x4b58a4
cmp dword [ebp - 0x30], 0
jle 0x4b58a4
mov eax, 1
jmp 0x4b58a9
mov eax, 0
test eax, eax
je 0x4b5978
mov ebx, dword [ebp - 0x28]
mov eax, 4
mov dword [ebp - 0x40], eax
mov eax, 0
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x4b58e2
push 0x91e
push 0x405d83c
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x4b58ff
push 0x91e
push 0x405d83c
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x4b5910
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x44]
jmp 0x4b58e4
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x44], ebx
push 0x6cb211
mov ebx, dword [ebp - 0x44]
push dword [ebx]
push 0x6cb184
mov ecx, 3
call fcn.0040108c
add esp, 0xc
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
mov eax, 0x6b8554
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 2
call fcn.00402c8b
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4b5963
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4b5973
push ebx
call fcn.005dc820
add esp, 4
jmp 0x4b638c
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov eax, 0x6cb247
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
mov eax, 0x6b8554
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4b59be
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4b59ce
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4b59de
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4b59f2
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 0x34], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x4b5a09
mov eax, 0x6b4435
push eax
push 1
mov ebx, 0x5dcf40
call fcn.005dc82c
add esp, 0x10
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x4b5af4
mov ebx, dword [ebp - 0x28]
mov eax, 5
mov dword [ebp - 0x4c], eax
mov eax, 0
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x4b5a5a
push 0xa5e
push 0x405d83c
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x4b5a77
push 0xa5e
push 0x405d83c
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x4b5a88
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x50]
jmp 0x4b5a5c
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x50], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x4b5ab7
mov eax, 0x6b4435
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x50]
mov eax, dword [ebx]
test eax, eax
jne 0x4b5acd
mov eax, 0x6b4435
push eax
push 4
mov ebx, 0x5dd550
call fcn.005dc82c
add esp, 0x34
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xffffffff
jne 0x4b5af4
mov eax, 1
jmp 0x4b5af9
mov eax, 0
test eax, eax
je 0x4b5bc8
mov ebx, dword [ebp - 0x28]
mov eax, 4
mov dword [ebp - 0x40], eax
mov eax, 0
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x4b5b32
push 0xac0
push 0x405d83c
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x4b5b4f
push 0xac0
push 0x405d83c
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x4b5b60
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x44]
jmp 0x4b5b34
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x44], ebx
push 0x6cb256
mov ebx, dword [ebp - 0x44]
push dword [ebx]
push 0x6cb184
mov ecx, 3
call fcn.0040108c
add esp, 0xc
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
mov eax, 0x6b8554
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 2
call fcn.00402c8b
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4b5bb3
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4b5bc3
push ebx
call fcn.005dc820
add esp, 4
jmp 0x4b638c
mov ebx, dword [ebp - 0x18]
mov eax, 3
mov dword [ebp - 0x40], eax
mov eax, 0
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x4b5bf9
push 0xb7a
push 0x405d83c
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x4b5c16
push 0xb7a
push 0x405d83c
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x4b5c27
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x44]
jmp 0x4b5bfb
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x44], ebx
push 0x6b4d58
push dword [0x84b794]
push 0x6b5a60
mov ebx, dword [ebp - 0x44]
push dword [ebx]
push str.SELECT_adding_time_FROM_friend_WHERE_wxid
mov ecx, 5
call fcn.0040108c
add esp, 0x14
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x64], 0
push 0
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x68], 0
push 0
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x6c], 0
push 0
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x70], 0
push 0
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x74], 0
push 0
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x78], 0
push 0
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x7c], 0
push 0
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x48]
push eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x80], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4b5d2e
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x7c]
test ebx, ebx
je 0x4b5d3e
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x78]
test ebx, ebx
je 0x4b5d4e
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x4b5d5e
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x4b5d6e
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x4b5d7e
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x4b5d8e
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x4b5d9e
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x4b5dae
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x4b5dbe
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x4b5dce
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4b5dde
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4b5dee
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4b5dfe
push ebx
call fcn.005dc820
add esp, 4
cmp dword [ebp - 0x80], 0
jne 0x4b5ecf
mov ebx, dword [ebp - 0x28]
mov eax, 4
mov dword [ebp - 0x40], eax
mov eax, 0
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x4b5e39
push 0xc2c
push 0x405d83c
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x4b5e56
push 0xc2c
push 0x405d83c
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x4b5e67
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x44]
jmp 0x4b5e3b
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x44], ebx
push 0x6cb2b8
mov ebx, dword [ebp - 0x44]
push dword [ebx]
push 0x6cb184
mov ecx, 3
call fcn.0040108c
add esp, 0xc
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
mov eax, 0x6b8554
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 2
call fcn.00402c8b
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4b5eba
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4b5eca
push ebx
call fcn.005dc820
add esp, 4
jmp 0x4b638c
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov eax, 0x6cb2e8
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
mov eax, 0x6b8554
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4b5f14
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4b5f24
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jle 0x4b6006
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x4b5f47
mov eax, 0x6b4435
push eax
push 1
mov ebx, 0x5dd740
call fcn.005dc82c
add esp, 0x10
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
push 0x80000301
push 0
push dword [ebp - 0x3c]
push 0x80000301
push 0
push 5
push reloc.WS2_32.dll_closesocket
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push 3
mov ebx, 0x5dee90
call fcn.005dc82c
add esp, 0x28
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
push 0
mov ebx, 0x5df7e0
call fcn.005dc82c
add esp, 4
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
push 0x80000301
push 0
push 5
push reloc.WS2_32.dll_closesocket
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push reloc.WS2_32.dll_closesocket
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push 3
mov ebx, 0x5df240
call fcn.005dc82c
add esp, 0x28
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
fld qword [ebp - 0x68]
fcomp qword [0x6b4769]
fnstsw ax
test ah, 1
jne 0x4b6006
mov eax, 1
jmp 0x4b600b
mov eax, 0
test eax, eax
je 0x4b60da
mov ebx, dword [ebp - 0x28]
mov eax, 4
mov dword [ebp - 0x40], eax
mov eax, 0
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x4b6044
push 0xdee
push 0x405d83c
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x4b6061
push 0xdee
push 0x405d83c
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x4b6072
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x44]
jmp 0x4b6046
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x44], ebx
push 0x6cb2f5
mov ebx, dword [ebp - 0x44]
push dword [ebx]
push 0x6cb184
mov ecx, 3
call fcn.0040108c
add esp, 0xc
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
mov eax, 0x6b8554
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push 2
call fcn.00402c8b
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4b60c5
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4b60d5
push ebx
call fcn.005dc820
add esp, 4
jmp 0x4b638c
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
cmp dword [ebp - 0x10], 1
jne 0x4b61ed
mov ebx, dword [ebp - 0x18]
mov eax, 9
mov dword [ebp - 0x40], eax
mov eax, 0
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x4b6124
push 0xebc
push 0x405d83c
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x4b6141
push 0xebc
push 0x405d83c
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x4b6152
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x44]
jmp 0x4b6126
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x44], ebx
mov ebx, dword [ebp - 0x18]
mov eax, 3
mov dword [ebp - 0x48], eax
mov eax, 0
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x4b618d
push 0xebc
push 0x405d83c
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x4b61aa
push 0xebc
push 0x405d83c
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x4b61bb
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x4c]
jmp 0x4b618f
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x4c], ebx
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x4c]
push dword [ebp + 8]
push dword [ebp - 0x44]
call fcn.0043f04f
jmp 0x4b62e8
cmp dword [ebp - 0x10], 2
jne 0x4b62e8
mov ebx, dword [ebp - 0x18]
mov eax, 9
mov dword [ebp - 0x40], eax
mov eax, 0
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x4b6228
push 0xf50
push 0x405d83c
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x4b6245
push 0xf50
push 0x405d83c
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x4b6256
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x44]
jmp 0x4b622a
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x44], ebx
mov ebx, dword [ebp - 0x18]
mov eax, 3
mov dword [ebp - 0x48], eax
mov eax, 0
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x4b6291
push 0xf50
push 0x405d83c
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x4b62ae
push 0xf50
push 0x405d83c
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x4b62bf
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x4c]
jmp 0x4b6293
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x4c], ebx
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x4c]
push dword [ebp + 8]
push dword [ebp - 0x44]
call fcn.00448ffa
mov ebx, dword [ebp - 0x18]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4b6306
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4b6302
imul eax, dword [ebx]
jmp 0x4b62f7
mov ecx, eax
test ecx, ecx
je 0x4b6325
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4b631e
push ebx
push eax
call fcn.005dc820
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4b630c
call fcn.005dc820
add esp, 4
mov eax, 0x6b42b5
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x28]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4b6353
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4b634f
imul eax, dword [ebx]
jmp 0x4b6344
mov ecx, eax
test ecx, ecx
je 0x4b6372
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4b636b
push ebx
push eax
call fcn.005dc820
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4b6359
call fcn.005dc820
add esp, 4
mov eax, 0x6b42b5
mov dword [ebp - 0x28], eax
mov eax, 1
jmp 0x4b643f
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov ebx, dword [ebp - 0x18]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4b63b9
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4b63b5
imul eax, dword [ebx]
jmp 0x4b63aa
mov ecx, eax
test ecx, ecx
je 0x4b63d8
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4b63d1
push ebx
push eax
call fcn.005dc820
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4b63bf
call fcn.005dc820
add esp, 4
mov eax, 0x6b42b5
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x28]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4b6406
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4b6402
imul eax, dword [ebx]
jmp 0x4b63f7
mov ecx, eax
test ecx, ecx
je 0x4b6425
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4b641e
push ebx
push eax
call fcn.005dc820
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4b640c
call fcn.005dc820
add esp, 4
mov eax, 0x6b42b5
mov dword [ebp - 0x28], eax
mov eax, 0
jmp 0x4b643f
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4b6450
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4b6460
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4b6470
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4b6480
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4b649e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4b649a
imul eax, dword [ebx]
jmp 0x4b648f
mov ecx, eax
test ecx, ecx
je 0x4b64bd
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4b64b6
push ebx
push eax
call fcn.005dc820
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4b64a4
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4b64f3
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4b64ef
imul eax, dword [ebx]
jmp 0x4b64e4
mov ecx, eax
test ecx, ecx
je 0x4b6512
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4b650b
push ebx
push eax
call fcn.005dc820
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4b64f9
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4b652a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4b653a
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4