Function at 0x4e2ad3
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 4], 0
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], 0x6b45a4
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x6cdae0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00401a1d
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4e2b6d
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
je 0x4e2b8b
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 - 4]
test ebx, ebx
je 0x4e2b9c
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 4], eax
call fcn.0043ef8a
mov dword [ebp - 0x28], eax
push 1
push 1
lea eax, [ebp - 0x28]
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 ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4e2bd1
push ebx
call fcn.005dc820
add esp, 4
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, 0x6b9b0e
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 8]
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 0x4e2c16
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4e2c26
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov eax, 0x6b9b44
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x6b9b0e
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4e2c72
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4e2c82
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4e2c92
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4e2ca6
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0
je 0x4e3475
push 0x6b4435
push dword [ebp - 0x10]
call fcn.00402bee
add esp, 8
cmp eax, 0
je 0x4e3475
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov eax, 0x6b9b0a
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x6b9b0e
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4e2d13
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4e2d23
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4e2d33
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4e2d47
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x4e2d72
mov eax, 0x6b4435
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4e2d86
mov eax, 0x6b4435
push eax
push 4
mov ebx, 0x5dd550
call fcn.005dc82c
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x4e3475
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov eax, 0x6cbd79
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x6b9b0e
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
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 - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4e2deb
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4e2dfb
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4e2e0b
push ebx
call fcn.005dc820
add esp, 4
push 0x6cbd82
push dword [ebp - 0x34]
call fcn.00402bee
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4e2e39
push ebx
call fcn.005dc820
add esp, 4
cmp dword [ebp - 0x38], 0
je 0x4e2f23
push 0x6b4d58
push dword [0x84b794]
push 0x6b5a60
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0x6b62ba
mov ecx, 5
call fcn.0040108c
add esp, 0x14
mov dword [ebp - 0x28], eax
push 1
lea eax, [ebp - 0x28]
push eax
mov eax, str.register_order
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4e2ea1
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4e2eb1
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x6cbd8b
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x6b9b0e
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
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 - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4e2efb
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4e2f0b
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x34], eax
jle 0x4e2f1e
mov dword [ebp - 0x1c], 1
jmp 0x4e3177
push 0x6b4d58
push dword [0x84b794]
push 0x6b5a60
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push str.SELECT_zcg_number_FROM_member_WHERE_wxid
mov ecx, 5
call fcn.0040108c
add esp, 0x14
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push 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
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4e301d
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x4e302d
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x4e303d
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4e304d
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4e305d
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4e306d
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4e307d
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4e308d
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4e309d
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4e30ad
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4e30bd
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4e30cd
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4e30dd
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4e30ed
push ebx
call fcn.005dc820
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x6cbd94
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x6b9b0e
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
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 - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4e3131
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4e3141
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 0x4e3154
mov eax, 0x6b4435
push eax
push 1
mov ebx, 0x5dda00
call fcn.005dc82c
add esp, 0x10
cmp dword [ebp - 0x34], eax
jle 0x4e3177
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 1
jne 0x4e3475
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov eax, 0x6c1198
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x6b9b0e
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4e31c7
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4e31d7
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4e31e7
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4e31fb
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
push 0x6b5ad7
push dword [ebp - 0x24]
call fcn.00402bee
add esp, 8
cmp eax, 0
je 0x4e3252
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4e322b
mov eax, 0x6b4435
push eax
push 1
mov ebx, 0x5dcf40
call fcn.005dc82c
add esp, 0x10
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4e3252
mov eax, 1
jmp 0x4e3257
mov eax, 0
test eax, eax
je 0x4e3475
push 0x6b4d58
push dword [ebp - 0x24]
push str.SELECT_mb_data_FROM_template_WHERE_mb_name
mov ecx, 3
call fcn.0040108c
add esp, 0xc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push 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
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4e334f
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x4e335f
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x4e336f
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4e337f
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4e338f
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4e339f
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4e33af
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4e33bf
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4e33cf
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4e33df
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4e33ef
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4e33ff
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4e340f
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4e341f
push ebx
call fcn.005dc820
add esp, 4
cmp dword [ebp - 0x60], 0
jle 0x4e3475
push 0x6b4435
push dword [ebp - 4]
call fcn.00402bee
add esp, 8
cmp eax, 0
jne 0x4e3475
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
je 0x4e3460
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 - 4]
test ebx, ebx
je 0x4e3471
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov eax, dword [ebp - 4]
test eax, eax
je 0x4e349f
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]
jmp 0x4e34a4
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4e34b5
push ebx
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
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4e34d5
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4e34e5
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4e34f5
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4e3505
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10