Function at 0x5a6290
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5a656d
sub esp, 0x34
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
test ecx, ecx
je 0x5a62b5
add esp, 0x34
ret
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x28], ecx
lea edx, [0x6db200]
mov dword [esp], edx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
call fcn.0046c5c0
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov edx, dword [esp + 0xc]
test ecx, ecx
je 0x5a62eb
mov edx, eax
jmp 0x5a6457
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x5a6554
mov dword [esp + 0x30], edx
mov ecx, dword [eax + 0xc]
mov ebx, dword [esp + 0x3c]
add ecx, ebx
cmp ebx, ecx
jle 0x5a6358
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1b
lea ecx, [0x7256d4]
mov dword [eax], ecx
lea ecx, [0x78aa3c]
mov edx, dword [esp + 0x38]
mov dword [edx], ecx
mov ebx, dword [0x93f150]
test ebx, ebx
je 0x5a634b
call fcn.00471840
mov dword [edi], eax
mov ebx, dword [edx + 4]
mov dword [edi + 4], ebx
mov dword [edx + 4], eax
mov eax, edx
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x3c]
movzx ecx, byte [eax + 0x14]
test cl, cl
je 0x5a63b6
mov ecx, dword [eax + 0xc]
add ecx, ebx
cmp dword [eax + 0x10], ecx
jge 0x5a63b6
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x72fbd1]
mov dword [eax], ecx
lea ecx, [0x78aa3c]
mov edx, dword [esp + 0x38]
mov dword [edx], ecx
mov ecx, dword [0x93f150]
test ecx, ecx
je 0x5a63ae
call fcn.00471840
mov dword [edi], eax
mov ecx, dword [edx + 4]
mov dword [edi + 4], ecx
mov dword [edx + 4], eax
jmp 0x5a6457
mov ecx, dword [eax + 0x10]
mov ebp, dword [eax + 0xc]
lea esi, [ebx + ebp]
mov edi, dword [eax + 8]
cmp ecx, esi
jae 0x5a6400
mov dword [esp + 0x24], ebp
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
lea eax, [0x6db200]
mov dword [esp + 0x10], eax
call fcn.0046c670
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], edi
lea eax, [edi + ebp]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.004721c0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [ecx + 0x10], eax
mov eax, dword [0x93f150]
test eax, eax
jne 0x5a6441
mov eax, dword [esp + 0x2c]
jmp 0x5a6452
call fcn.00471840
mov eax, dword [esp + 0x2c]
mov dword [edi], eax
mov edx, dword [ecx + 8]
mov dword [edi + 4], edx
mov dword [ecx + 8], eax
mov edx, ecx
mov eax, dword [edx + 0x28]
test eax, eax
jne 0x5a6494
lea eax, [0x6db580]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [0x93f150]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x5a6480
mov eax, dword [esp + 0x38]
jmp 0x5a6491
call fcn.00471840
mov dword [edi], ecx
mov eax, dword [esp + 0x38]
mov edx, dword [eax + 0x28]
mov dword [edi + 4], edx
mov dword [eax + 0x28], ecx
lea eax, [0x705be0]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 0x10]
mov ebp, dword [ecx + 8]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov edx, dword [0x93f150]
test edx, edx
je 0x5a64ca
call fcn.00471830
mov dword [edi], ebp
mov dword [eax + 8], ebp
movzx edx, byte [ecx + 0x14]
mov byte [eax + 0x14], dl
mov edx, dword [esp + 0x28]
mov dword [eax + 0x1c], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 0x20], edx
movzx edx, byte [esp + 0x40]
mov byte [eax + 0x24], dl
mov edx, dword [0x93f150]
mov ebx, dword [ecx + 0x28]
test edx, edx
je 0x5a6507
call fcn.00471850
mov dword [edi], ebx
mov dword [edi + 4], eax
mov edx, dword [ecx + 0x18]
mov dword [edi + 8], edx
mov dword [eax + 0x28], ebx
mov dword [ecx + 0x18], eax
mov dword [esp], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.005a6160
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.005a6580
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x5a653c
add esp, 0x34
ret
lea eax, [0x6db180]
mov dword [esp], eax
lea eax, [0x78a758]
mov dword [esp + 4], eax
call fcn.0046a9e0
lea eax, [0x6db180]
mov dword [esp], eax
lea eax, [0x78a4f8]
mov dword [esp + 4], eax
call fcn.0046a9e0
nop
call fcn.00470430
jmp fcn.005a6290