Function at 0x4bfbcf
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
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
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0xc
call fcn.005dc81a
add esp, 4
mov dword [ebp - 0x14], 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 - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
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]
mov eax, 0x6cbd58
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.00401a1d
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4bfcb0
push ebx
call fcn.005dc820
add esp, 4
call fcn.0043ef8a
mov dword [ebp - 0x30], eax
push 1
push 1
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 + 0x10]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4bfce1
push ebx
call fcn.005dc820
add esp, 4
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov eax, 0x6b7e10
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, 0x6b9b0e
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
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 - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4bfd26
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4bfd36
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov eax, 0x6b9b44
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, 0x6b9b0e
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
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 - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4bfd82
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4bfd92
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4bfda2
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4bfdb6
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], 0
je 0x4c0a70
push 0x6b4435
push dword [ebp - 0xc]
call fcn.00402bee
add esp, 8
cmp eax, 0
je 0x4c0a70
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
add ebx, 0x50
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov eax, 0x6b9b0a
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov eax, 0x6b9b0e
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
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 - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4bfe2e
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4bfe3e
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4bfe4e
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x30]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4bfe64
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
add ebx, 0x50
mov dword [ebp - 0x30], ebx
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx]
test eax, eax
jne 0x4bfe8a
mov eax, 0x6b4435
push eax
push 1
mov ebx, 0x5dcf40
call fcn.005dc82c
add esp, 0x10
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x4c0a70
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov eax, 0x6c1191
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, 0x6b9b0e
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
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 - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4bfef0
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4bff00
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4bff10
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4bff24
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4bff3b
mov eax, 0x6b4435
push eax
push 1
mov ebx, 0x5dcf40
call fcn.005dc82c
add esp, 0x10
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x4c0a70
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
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._sqm_1
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x14]
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 0x4bffb2
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4bffc6
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4bffdd
mov eax, 0x6b4435
push eax
push 1
mov ebx, 0x5dcf40
call fcn.005dc82c
add esp, 0x10
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x4c0a70
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov eax, 0x6cbd79
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, 0x6b9b0e
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 8]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4c0042
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4c0052
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4c0062
push ebx
call fcn.005dc820
add esp, 4
push 0x6cbd82
push dword [ebp - 0x3c]
call fcn.00402bee
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4c0090
push ebx
call fcn.005dc820
add esp, 4
cmp dword [ebp - 0x40], 0
je 0x4c01a3
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x30], ebx
push 0x6b4d58
push dword [0x84b794]
push 0x6b5a60
mov ebx, dword [ebp - 0x30]
push dword [ebx]
push 0x6b62ba
mov ecx, 5
call fcn.0040108c
add esp, 0x14
mov dword [ebp - 0x34], eax
push 1
lea eax, [ebp - 0x34]
push eax
mov eax, str.register_order
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4c0112
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4c0122
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov eax, 0x6cbd8b
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, 0x6b9b0e
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 8]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4c017b
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4c018b
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x3c], eax
jle 0x4c019e
mov dword [ebp - 0x1c], 1
jmp 0x4c0420
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x30], ebx
push 0x6b4d58
push dword [0x84b794]
push 0x6b5a60
mov ebx, dword [ebp - 0x30]
push dword [ebx]
push str.SELECT_zcg_number_FROM_member_WHERE_wxid
mov ecx, 5
call fcn.0040108c
add esp, 0x14
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push 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
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x34]
push eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4c02b7
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x4c02c7
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x4c02d7
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x4c02e7
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x4c02f7
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x4c0307
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4c0317
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4c0327
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4c0337
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4c0347
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4c0357
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4c0367
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4c0377
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4c0387
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 + 0x14]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov eax, 0x6cbd94
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, 0x6b9b0e
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 8]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4c03da
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4c03ea
push ebx
call fcn.005dc820
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4c03fd
mov eax, 0x6b4435
push eax
push 1
mov ebx, 0x5dda00
call fcn.005dc82c
add esp, 0x10
cmp dword [ebp - 0x3c], eax
jle 0x4c0420
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 1
jne 0x4c0a70
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
add ebx, 0x50
mov dword [ebp - 0x30], ebx
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x6b67fe
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx]
test eax, eax
jne 0x4c045c
mov eax, 0x6b4435
push eax
push 3
mov ebx, 0x5de160
call fcn.005dc82c
add esp, 0x28
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x24]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4c0494
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4c0490
imul eax, dword [ebx]
jmp 0x4c0485
mov ecx, eax
test ecx, ecx
je 0x4c04b3
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4c04ac
push ebx
push eax
call fcn.005dc820
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4c049a
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x24]
call fcn.0040294f
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 4
jne 0x4c0a70
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
add ebx, 0x54
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x24]
call fcn.00401a51
mov eax, 2
cmp eax, ecx
jl 0x4c0507
push 0x736
push 0x4047a62
push 1
call fcn.005dc826
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebx]
test eax, eax
je 0x4c052d
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]
push eax
mov ebx, dword [ebp - 0x30]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4c0540
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
add ebx, 0x58
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x24]
call fcn.00401a51
mov eax, 3
cmp eax, ecx
jl 0x4c0579
push 0x766
push 0x4047a62
push 1
call fcn.005dc826
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebx]
test eax, eax
je 0x4c059f
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]
push eax
mov ebx, dword [ebp - 0x30]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4c05b2
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
add ebx, 0x5c
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x24]
call fcn.00401a51
mov eax, 1
cmp eax, ecx
jl 0x4c05eb
push 0x796
push 0x4047a62
push 1
call fcn.005dc826
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebx]
test eax, eax
je 0x4c0611
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]
push eax
mov ebx, dword [ebp - 0x30]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4c0624
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
add ebx, 0x68
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4c0651
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]
push eax
mov ebx, dword [ebp - 0x30]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4c0664
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x24]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4c0688
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4c0684
imul eax, dword [ebx]
jmp 0x4c0679
mov ecx, eax
test ecx, ecx
je 0x4c06a7
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4c06a0
push ebx
push eax
call fcn.005dc820
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4c068e
call fcn.005dc820
add esp, 4
mov eax, 0x6b42b5
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov eax, 0x6c1198
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, 0x6b9b0e
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
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 - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4c06fd
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4c070d
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4c071d
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4c0731
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
push 0x6b5ad7
push dword [ebp - 0x28]
call fcn.00402bee
add esp, 8
cmp eax, 0
je 0x4c0788
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4c0761
mov eax, 0x6b4435
push eax
push 1
mov ebx, 0x5dcf40
call fcn.005dc82c
add esp, 0x10
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x4c0788
mov eax, 1
jmp 0x4c078d
mov eax, 0
test eax, eax
je 0x4c0a6b
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
push 0x6b4d58
push dword [ebp - 0x28]
push str.SELECT_mb_data_FROM_template_WHERE_mb_name
mov ecx, 3
call fcn.0040108c
add esp, 0xc
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push 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
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4c0894
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x4c08a4
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x4c08b4
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x4c08c4
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x4c08d4
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4c08e4
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4c08f4
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4c0904
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4c0914
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4c0924
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4c0934
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4c0944
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4c0954
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4c0964
push ebx
call fcn.005dc820
add esp, 4
cmp dword [ebp - 0x68], 0
jle 0x4c0a05
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
add ebx, 0x34
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4c0995
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]
push eax
mov ebx, dword [ebp - 0x30]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4c09a8
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
push dword [ebp - 0x28]
push 0x6cba55
mov ecx, 2
call fcn.0040108c
add esp, 8
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0x6cba5e
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push 5
call fcn.00402c8b
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4c09f0
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4c0a00
push ebx
call fcn.005dc820
add esp, 4
jmp 0x4c0a5c
push 0x6cb9ea
push dword [ebp - 0x28]
push 0x6cbd9d
mov ecx, 3
call fcn.0040108c
add esp, 0xc
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0x6c1198
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push 1
call fcn.00402c8b
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4c0a4c
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4c0a5c
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 + 0x14]
jmp 0x4c0e61
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
add ebx, 0x6c
mov dword [ebp - 0x30], ebx
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx]
test eax, eax
jne 0x4c0a9e
mov eax, 0x6b4435
push eax
push 1
mov ebx, 0x5dcf40
call fcn.005dc82c
add esp, 0x10
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xa
jle 0x4c0c61
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
add ebx, 0x6c
mov dword [ebp - 0x30], ebx
push 1
push 1
push dword [ebp - 0x30]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
add ebx, 0x50
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, str._pid_tb
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4c0b25
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x30]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4c0b3b
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
add ebx, 0x54
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, str._pid_tb_channelid
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4c0b85
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x30]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4c0b9b
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
add ebx, 0x58
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, str._pid_tb_tgwid
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4c0be5
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x30]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4c0bfb
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
add ebx, 0x5c
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, str._pid_tb_userid
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4c0c45
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x30]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4c0c5b
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
add ebx, 0x5c
mov dword [ebp - 0x30], ebx
push 0x6b4435
mov ebx, dword [ebp - 0x30]
push dword [ebx]
call fcn.00402bee
add esp, 8
cmp eax, 0
je 0x4c0ce1
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
add ebx, 0x5c
mov dword [ebp - 0x38], ebx
push 0x84b770
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x38]
push dword [ebx]
call fcn.00402bee
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4c0cd3
push ebx
call fcn.005dc820
add esp, 4
cmp dword [ebp - 0x40], 0
jne 0x4c0ce1
xor eax, eax
jmp 0x4c0ce6
mov eax, 1
test eax, eax
je 0x4c0e5c
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
add ebx, 0x5c
mov dword [ebp - 0x30], ebx
push 0x6b4435
mov ebx, dword [ebp - 0x30]
push dword [ebx]
call fcn.00402bee
add esp, 8
cmp eax, 0
je 0x4c0d78
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
add ebx, 0x24
mov dword [ebp - 0x30], ebx
push 0x6cbdde
mov ebx, dword [ebp - 0x30]
push dword [ebx]
push 0x6b97d8
mov ecx, 3
call fcn.0040108c
add esp, 0xc
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, 0x6cbe00
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push 1
call fcn.00402c8b
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4c0d68
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4c0d78
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
add ebx, 0x50
mov dword [ebp - 0x30], ebx
push 0x84b770
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x30]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4c0dab
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
add ebx, 0x54
mov dword [ebp - 0x30], ebx
push 0x84b770
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x30]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4c0de4
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
add ebx, 0x58
mov dword [ebp - 0x30], ebx
push 0x84b770
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x30]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4c0e1d
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
add ebx, 0x5c
mov dword [ebp - 0x30], ebx
push 0x84b770
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x30]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4c0e56
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
jmp 0x4c0e61
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4c0e81
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4c0e91
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4c0eb1
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4c0ecf
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4c0ecb
imul eax, dword [ebx]
jmp 0x4c0ec0
mov ecx, eax
test ecx, ecx
je 0x4c0eee
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4c0ee7
push ebx
push eax
call fcn.005dc820
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4c0ed5
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4c0f06
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4c0f16
push ebx
call fcn.005dc820
add esp, 4
mov esp, ebp
pop ebp
ret 0xc