Function at 0x402b54
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
push 0x10
call fcn.00418ba9
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x584725
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
xor eax, eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov ebx, dword [0x6e29fc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x402bb4
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x402bb0
imul eax, dword [ebx]
jmp 0x402ba5
mov ecx, eax
test ecx, ecx
je 0x402bd3
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x402bcc
push ebx
push eax
call fcn.00418bb5
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402bba
call fcn.00418bb5
add esp, 4
mov eax, 0x5847a6
mov dword [0x6e29fc], eax
push 0x5846f1
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040105b
add esp, 8
cmp eax, 0
jne 0x402d65
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push 1
mov eax, str.xs2
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
mov eax, str.qbxx
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push 0x6e29e8
push 0x6e29e4
push 0x6e29e0
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x402c7b
push ebx
call fcn.00418bb5
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x402c8b
push ebx
call fcn.00418bb5
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x402c9b
push ebx
call fcn.00418bb5
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x402caf
push ebx
call fcn.00418bb5
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, eax
call fcn.004026ec
pop eax
sub ebx, eax
push ecx
push ebx
push eax
shl ecx, 2
add ecx, ebx
push ecx
call fcn.00418ba9
add esp, 4
pop esi
mov edi, eax
pop ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
pop ecx
test ecx, ecx
je 0x402d0e
push eax
lodsd eax, dword [esi]
push esi
push edi
push ecx
test eax, eax
je 0x402d02
push eax
mov ebx, eax
call fcn.00401273
inc eax
push eax
call fcn.00418ba9
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop ecx
pop edi
pop esi
stosd dword es:[edi], eax
dec ecx
jne 0x402ce5
pop eax
push eax
mov ebx, dword [0x6e29fc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x402d30
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x402d2c
imul eax, dword [ebx]
jmp 0x402d21
mov ecx, eax
test ecx, ecx
je 0x402d4f
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x402d48
push ebx
push eax
call fcn.00418bb5
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402d36
call fcn.00418bb5
add esp, 4
pop eax
mov dword [0x6e29fc], eax
mov eax, dword [ebp - 0xc]
jmp 0x402e8e
push 0x5847f7
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.SELECT__q.id_AS_qbxx_id_q.xx_AS_qbxx_xx_z.xm_AS_zhxx_xm_q.rqsj_AS_qbxx_rqsj_q.xs_AS_qbxx_xs_z.id_AS_zhxx_id_FROM_qbxx_q_LEFT_JOIN_zhxx_z_ON_q.zhid__z.id_WHERE_q.xx_LIKE__
mov ecx, 3
call fcn.004012de
add esp, 0xc
mov dword [ebp - 0x14], eax
push 1
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x6e29e8
push 0x6e29e4
push 0x6e29e0
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 0x402dc4
push ebx
call fcn.00418bb5
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x402dd8
push ebx
call fcn.00418bb5
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, eax
call fcn.004026ec
pop eax
sub ebx, eax
push ecx
push ebx
push eax
shl ecx, 2
add ecx, ebx
push ecx
call fcn.00418ba9
add esp, 4
pop esi
mov edi, eax
pop ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
pop ecx
test ecx, ecx
je 0x402e37
push eax
lodsd eax, dword [esi]
push esi
push edi
push ecx
test eax, eax
je 0x402e2b
push eax
mov ebx, eax
call fcn.00401273
inc eax
push eax
call fcn.00418ba9
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop ecx
pop edi
pop esi
stosd dword es:[edi], eax
dec ecx
jne 0x402e0e
pop eax
push eax
mov ebx, dword [0x6e29fc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x402e59
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x402e55
imul eax, dword [ebx]
jmp 0x402e4a
mov ecx, eax
test ecx, ecx
je 0x402e78
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x402e71
push ebx
push eax
call fcn.00418bb5
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402e5f
call fcn.00418bb5
add esp, 4
pop eax
mov dword [0x6e29fc], eax
mov eax, dword [ebp - 0xc]
jmp 0x402e8e
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x402e9f
push ebx
call fcn.00418bb5
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x402ebd
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x402eb9
imul eax, dword [ebx]
jmp 0x402eae
mov ecx, eax
test ecx, ecx
je 0x402edc
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x402ed5
push ebx
push eax
call fcn.00418bb5
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402ec3
call fcn.00418bb5
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4