Function at 0x539fa0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
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
push 8
call fcn.005dc81a
add esp, 4
mov dword [ebp - 0xc], 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 - 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 0x3c
call fcn.005dc81a
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xf
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, 0x6d3179
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.00401a1d
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x53a06a
push ebx
call fcn.005dc820
add esp, 4
call fcn.0042075a
mov dword [ebp - 0x20], eax
push 1
push 1
lea eax, [ebp - 0x20]
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 - 0x20]
test ebx, ebx
je 0x53a09b
push ebx
call fcn.005dc820
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, 0x6b61b6
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, 0x6b51b8
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
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 - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x53a0e0
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x53a0f0
push ebx
call fcn.005dc820
add esp, 4
cmp dword [ebp - 0x2c], 0
jne 0x53a122
mov eax, 0x6d31a5
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x53a112
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov eax, 0
jmp 0x53a733
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 2
push dword [ebp + 8]
push 1
call fcn.00536b10
cmp dword [ebp - 8], 0
jne 0x53a173
mov eax, 0x6d31ce
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x53a163
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov eax, 0
jmp 0x53a733
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 + 0xc]
push dword [ebx]
push str.SELECT_wx_name_FROM_member_WHERE_wxid
mov ecx, 5
call fcn.0040108c
add esp, 0x14
mov dword [ebp - 0x20], 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
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
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x53a27f
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x53a28f
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x53a29f
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x53a2af
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x53a2bf
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x53a2cf
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x53a2df
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x53a2ef
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x53a2ff
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x53a30f
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x53a31f
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x53a32f
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x53a33f
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x53a34f
push ebx
call fcn.005dc820
add esp, 4
cmp dword [ebp - 0x58], 0
jne 0x53a390
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov eax, 0x6d308f
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x53a380
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov eax, 0
jmp 0x53a733
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov eax, dword [ebp - 8]
xor ecx, ecx
push eax
lea eax, [ebp - 0x14]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x53a4cf
mov ebx, dword [ebp - 0xc]
push ebx
mov eax, 6
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
dec eax
jns 0x53a3e2
push 0x3c6
push 0x4093328
push 4
call fcn.005dc826
add esp, 0xc
pop ebx
mov ecx, dword [ebx]
add ebx, 4
cmp ecx, 2
je 0x53a404
push 0x3c6
push 0x4093328
push 3
call fcn.005dc826
add esp, 0xc
xor edx, edx
cmp eax, dword [ebx]
jl 0x53a421
push 0x3c6
push 0x4093328
push 1
call fcn.005dc826
add esp, 0xc
add ebx, 4
dec ecx
je 0x53a432
call fcn.0041b0f6
mov eax, dword [ebp + ecx*4 - 0x24]
jmp 0x53a406
add eax, edx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x18]
push eax
push 4
mov eax, 2
call fcn.005dc814
add esp, 8
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ebx
call fcn.00401a51
mov dword [ebp - 0x30], ecx
mov edi, dword [ebp - 0x2c]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x53a481
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x30]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x2c]
call fcn.005dc838
add esp, 8
mov dword [ebp - 0x18], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x30]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x28]
push edi
test eax, eax
je 0x53a4c4
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]
pop edi
mov dword [edi], eax
pop eax
pop ebx
pop ecx
jmp 0x53a3ab
add esp, 0xc
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x53a4f0
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x53a4ec
imul eax, dword [ebx]
jmp 0x53a4e1
mov ecx, eax
test ecx, ecx
je 0x53a50f
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x53a508
push ebx
push eax
call fcn.005dc820
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x53a4f6
call fcn.005dc820
add esp, 4
mov eax, 0x6b42b5
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
push eax
call fcn.00531048
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0x1c]
add ebx, 0x1c
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x53a552
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 - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x53a565
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
add ebx, 0x24
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x53a592
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 - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x53a5a5
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
add ebx, 0x20
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x53a5d0
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 - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x53a5e3
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
push eax
lea eax, [ebp - 0x14]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x53a6bb
mov ebx, dword [ebp - 0x1c]
add ebx, 0x2c
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x18]
call fcn.00401a51
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x53a633
push 0x526
push 0x4093328
push 4
call fcn.005dc826
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x53a650
push 0x526
push 0x4093328
push 1
call fcn.005dc826
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 0x6d3219
push dword [0x84b794]
mov ecx, 3
call fcn.0040108c
add esp, 0xc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x53a68e
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
call fcn.0040332b
lea eax, [ebp - 0x1c]
push eax
call fcn.004dbad2
push 1
push 1
push 0xa
call fcn.004030ba
pop eax
pop ebx
pop ecx
jmp 0x53a5f5
add esp, 0xc
mov ebx, dword [ebp - 0x18]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x53a6dc
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x53a6d8
imul eax, dword [ebx]
jmp 0x53a6cd
mov ecx, eax
test ecx, ecx
je 0x53a6fb
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x53a6f4
push ebx
push eax
call fcn.005dc820
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x53a6e2
call fcn.005dc820
add esp, 4
mov eax, 0x6b42b5
mov dword [ebp - 0x18], eax
mov eax, 0x6d3222
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x53a723
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov eax, 1
jmp 0x53a733
push eax
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]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x53a762
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x53a75e
imul eax, dword [ebx]
jmp 0x53a753
mov ecx, eax
test ecx, ecx
je 0x53a781
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x53a77a
push ebx
push eax
call fcn.005dc820
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x53a768
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x53a799
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 0x53a7b7
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x53a7b3
imul eax, dword [ebx]
jmp 0x53a7a8
mov ecx, eax
test ecx, ecx
je 0x53a7d6
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x53a7cf
push ebx
push eax
call fcn.005dc820
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x53a7bd
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
add ebx, 0x18
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x53a7f5
push ebx
call fcn.005dc820
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x53a809
push ebx
call fcn.005dc820
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x53a81d
push ebx
call fcn.005dc820
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x53a831
push ebx
call fcn.005dc820
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x53a845
push ebx
call fcn.005dc820
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x53a859
push ebx
call fcn.005dc820
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x53a86d
push ebx
call fcn.005dc820
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x53a881
push ebx
call fcn.005dc820
add esp, 4
pop ebx
call fcn.005dc820
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc