Function at 0x4d56bc
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov eax, 0x6cd10f
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00401a1d
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4d5700
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 0x6b4d58
push dword [0x84b794]
push 0x6b5a60
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0x6b62ba
mov ecx, 5
call fcn.0040108c
add esp, 0x14
mov dword [ebp - 0xc], eax
push 1
lea eax, [ebp - 0xc]
push eax
mov eax, str.member
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4d576d
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4d577d
push ebx
call fcn.005dc820
add esp, 4
cmp dword [ebp - 0x14], 0
jne 0x4d5c20
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x4d579c
mov eax, 0x6b4435
push eax
push 1
mov ebx, 0x5dcf40
call fcn.005dc82c
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4d5b5b
push 0x6b4d58
push dword [0x84b794]
push 0x6b5a60
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.SELECT_wx_name_FROM_friend_WHERE_wxid
mov ecx, 5
call fcn.0040108c
add esp, 0x14
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push 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
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4d58b8
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4d58c8
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4d58d8
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4d58e8
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4d58f8
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4d5908
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4d5918
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4d5928
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4d5938
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4d5948
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4d5958
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4d5968
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4d5978
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4d5988
push ebx
call fcn.005dc820
add esp, 4
cmp dword [ebp - 0x44], 0
jne 0x4d5b5b
push 0x6b4d58
push dword [0x84b794]
push 0x6b5a60
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.SELECT_wx_name_FROM_group_member_WHERE_wxid
mov ecx, 5
call fcn.0040108c
add esp, 0x14
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push 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
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4d5a8b
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4d5a9b
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4d5aab
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4d5abb
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4d5acb
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4d5adb
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4d5aeb
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4d5afb
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4d5b0b
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4d5b1b
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4d5b2b
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4d5b3b
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4d5b4b
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4d5b5b
push ebx
call fcn.005dc820
add esp, 4
mov eax, str._HH:mm:ss
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, str.yyyy_MM_dd
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.00403385
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4d5ba1
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4d5bb1
push ebx
call fcn.005dc820
add esp, 4
push 0x6b67f7
push dword [0x84b794]
push str._0_0__jl_:_sj_:_____
push dword [ebp - 0x1c]
push str.____0_0_0_0_0_0_0_0_0_0_0_0_0_0_
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push 0x6b71e2
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.INSERT_INTO_member_VALUES__0_
mov ecx, 9
call fcn.0040108c
add esp, 0x24
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4d5bfd
push ebx
call fcn.005dc820
add esp, 4
lea eax, [ebp - 0x20]
push eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4d5c20
push ebx
call fcn.005dc820
add esp, 4
push 0x6b4d58
push dword [0x84b794]
push 0x6b5a60
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.SELECT_id_FROM_member_WHERE_wxid
mov ecx, 5
call fcn.0040108c
add esp, 0x14
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push 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
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4d5d1a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4d5d2a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4d5d3a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4d5d4a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4d5d5a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4d5d6a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4d5d7a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4d5d8a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4d5d9a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4d5daa
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4d5dba
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4d5dca
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4d5dda
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4d5dea
push ebx
call fcn.005dc820
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4d5dfd
mov eax, 0x6b4435
push eax
push 1
mov ebx, 0x5dda00
call fcn.005dc82c
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jg 0x4d60a5
push 0x6b4d58
push dword [0x84b794]
push str.SELECT_MAX_id__FROM_member_WHERE_my_user
mov ecx, 3
call fcn.0040108c
add esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push 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
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4d5f0d
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4d5f1d
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4d5f2d
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4d5f3d
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4d5f4d
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4d5f5d
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4d5f6d
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4d5f7d
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4d5f8d
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4d5f9d
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4d5fad
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4d5fbd
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4d5fcd
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4d5fdd
push ebx
call fcn.005dc820
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4d5ff0
mov eax, 0x6b4435
push eax
push 1
mov ebx, 0x5dda00
call fcn.005dc82c
add esp, 0x10
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fadd qword [0x6b43f1]
fstp qword [ebp - 0x1c]
push 0x80000601
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 1
mov ebx, 0x5ded50
call fcn.005dc82c
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4d604c
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x6b4d58
push dword [0x84b794]
push 0x6b5a60
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0x6b6834
push dword [ebp - 4]
push str.UPDATE_member_SET_id
mov ecx, 7
call fcn.0040108c
add esp, 0x1c
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4d60a5
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]
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4d60c7
mov eax, 0x6b4435
push eax
push 1
mov ebx, 0x5dda00
call fcn.005dc82c
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x5ded50
call fcn.005dc82c
add esp, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
push 0x6cd215
mov ecx, 2
call fcn.0040108c
add esp, 8
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4d611f
push ebx
call fcn.005dc820
add esp, 4
push 0x80000301
push 0
push 6
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4d613e
mov eax, 0x6b4435
push eax
push 2
mov ebx, 0x5dd310
call fcn.005dc82c
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4d6164
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4d6178
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x4d6198
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 0x4d619d
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4d61ae
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4d61be
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8