Function at 0x4bd97a
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, 0x6cb935
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00401a1d
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4bd9be
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
add ebx, 0x24
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
push eax
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call fcn.00402bee
add esp, 8
cmp eax, 0
je 0x4bda0e
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
add ebx, 0x38
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 1
jne 0x4bda0e
mov eax, 1
jmp 0x4bda13
mov eax, 0
test eax, eax
je 0x4bdbdd
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
add ebx, 0x24
mov dword [ebp - 0xc], ebx
push 0x6b4d58
push dword [0x84b794]
push 0x6b5a60
mov ebx, dword [ebp - 0xc]
push dword [ebx]
push str.SELECT_g_pid_g_rebate_type_FROM_wxgroup_WHERE_g_wxid__
mov ecx, 5
call fcn.0040108c
add esp, 0x14
mov dword [ebp - 0x10], 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 1
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4bdb18
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4bdb28
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4bdb38
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4bdb48
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4bdb58
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4bdb68
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4bdb78
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4bdb88
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4bdb98
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4bdba8
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4bdbb8
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4bdbc8
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4bdbd8
push ebx
call fcn.005dc820
add esp, 4
jmp 0x4bdd9a
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0xc], ebx
push 0x6b4d58
push dword [0x84b794]
push 0x6b5a60
mov ebx, dword [ebp - 0xc]
push dword [ebx]
push str.SELECT_pid_rebate_type_FROM_member_WHERE_wxid__
mov ecx, 5
call fcn.0040108c
add esp, 0x14
mov dword [ebp - 0x10], 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 1
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4bdcda
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4bdcea
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4bdcfa
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4bdd0a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4bdd1a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4bdd2a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4bdd3a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4bdd4a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4bdd5a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4bdd6a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4bdd7a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4bdd8a
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4bdd9a
push ebx
call fcn.005dc820
add esp, 4
push 0x6b5ad7
push dword [ebp - 4]
call fcn.00402bee
add esp, 8
cmp eax, 0
je 0x4bddd0
push 0x6b4435
push dword [ebp - 4]
call fcn.00402bee
add esp, 8
cmp eax, 0
je 0x4bddd0
xor eax, eax
jmp 0x4bddd5
mov eax, 1
test eax, eax
je 0x4bdf41
push 0x6b4435
mov ebx, dword [ebp + 0x18]
push dword [ebx]
call fcn.00402bee
add esp, 8
cmp eax, 0
je 0x4bde30
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebx]
test eax, eax
je 0x4bde16
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 - 8]
test ebx, ebx
je 0x4bde27
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x4bdf0a
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, 0x6b720e
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, 0x6b7217
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
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 - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4bde75
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4bde85
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4bde95
push ebx
call fcn.005dc820
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, 0x6b7217
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
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 - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4bded2
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4bdee2
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4bdef2
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4bdf06
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0xc], ebx
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
call fcn.004be386
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4bdf38
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x4be33d
push 0x6b4d58
push dword [ebp - 4]
push str.SELECT_mb_data_FROM_template_WHERE_mb_name__
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 dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4be031
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4be041
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4be051
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4be061
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4be071
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4be081
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4be091
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4be0a1
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4be0b1
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4be0c1
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4be0d1
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4be0e1
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4be0f1
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4be101
push ebx
call fcn.005dc820
add esp, 4
cmp dword [ebp - 0x44], 0
jne 0x4be2b6
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
add ebx, 0x20
mov dword [ebp - 0xc], ebx
push 0x6cb9ea
push dword [ebp - 4]
push 0x6cba28
mov ebx, dword [ebp - 0xc]
push dword [ebx]
push 0x6c8876
mov ecx, 5
call fcn.0040108c
add esp, 0x14
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, 0x6c1198
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 1
call fcn.00402c8b
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4be167
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4be177
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
add ebx, 0x20
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x10], ebx
push 0x6cb9ea
push dword [ebp - 4]
push 0x6cba28
mov ebx, dword [ebp - 0x10]
push dword [ebx]
push 0x6c8466
mov ebx, dword [ebp - 0xc]
push dword [ebx]
push 0x6cba3b
mov ecx, 7
call fcn.0040108c
add esp, 0x1c
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00442d16
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4be1d7
push ebx
call fcn.005dc820
add esp, 4
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, 0x6b720e
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, 0x6b7217
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
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 - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4be21c
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4be22c
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4be23c
push ebx
call fcn.005dc820
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, 0x6b7217
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
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 - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4be279
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4be289
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4be299
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4be2ad
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x4be33d
push dword [ebp - 4]
push 0x6cba55
mov ecx, 2
call fcn.0040108c
add esp, 8
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, 0x6cba5e
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 5
call fcn.00402c8b
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4be2f8
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4be308
push ebx
call fcn.005dc820
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x4be324
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 + 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4be337
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov ebx, dword [ebp + 0x18]
mov dword [ebx], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x4be359
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 0x4be35e
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4be36f
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4be37f
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x18