Function at 0x5f0070
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x78]
cmp eax, dword [ecx + 8]
jbe 0x5f0923
sub esp, 0xf8
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov eax, dword [esp + 0xfc]
test byte [eax], al
lea ecx, [eax + 0x14]
mov dword [esp + 0xa4], ecx
mov dword [esp], ecx
call fcn.00476060
mov eax, dword [esp + 4]
test eax, eax
jne 0x5f08e8
mov eax, dword [esp + 0x100]
mov dword [esp], eax
mov ecx, dword [esp + 0x104]
mov dword [esp + 4], ecx
call fcn.004ed1e0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x7c], eax
lea ebx, [esp + 0x70]
mov dword [esp], ebx
call fcn.00435390
test eax, eax
jne 0x5f08dc
mov eax, dword [esp + 0xfc]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x5f01a6
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x8c]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0xfc]
mov ecx, dword [eax + 0x10]
test byte [ecx], al
mov edx, dword [0x93f150]
mov ebx, dword [esp + 4]
test edx, edx
je 0x5f0166
call fcn.00471840
mov dword [edi], ebx
mov edx, dword [ecx + 0xfc]
mov dword [edi + 4], edx
mov dword [ecx + 0xfc], ebx
mov ecx, dword [eax + 0x10]
test byte [ecx], al
mov edx, dword [0x93f150]
test edx, edx
jne 0x5f0184
mov edx, dword [esp + 0x94]
jmp 0x5f019b
call fcn.00471840
mov edx, dword [esp + 0x94]
mov dword [edi], edx
mov ebx, dword [ecx + 0x100]
mov dword [edi + 4], ebx
mov dword [ecx + 0x100], edx
jmp 0x5f02f4
mov eax, dword [esp + 0x100]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x104]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
test eax, eax
je 0x5f02ed
lea eax, [0x6d49e0]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00405070
mov eax, dword [esp + 8]
mov dword [esp + 0x90], eax
lea ecx, [0x6d4920]
mov dword [esp], ecx
mov dword [esp + 4], 1
call fcn.00405070
mov eax, dword [esp + 8]
mov dword [esp + 0x88], eax
mov dword [esp + 0xe0], 0
lea ecx, [0x5f0ad0]
mov dword [esp + 0xd4], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], eax
lea edx, [esp + 0x108]
mov dword [esp + 0xe0], edx
lea edx, [esp + 0xd4]
mov dword [esp + 0x64], edx
lea edx, [esp + 0x58]
mov dword [esp], edx
call fcn.00435390
test eax, eax
jne 0x5f08d0
lea eax, [0x6f8c40]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
lea ecx, [0x5f09b0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov edx, dword [0x93f150]
test edx, edx
jne 0x5f02ad
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0xfc]
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x90]
jmp 0x5f02d9
call fcn.00471860
mov edx, dword [esp + 0x8c]
mov dword [edi], edx
mov ebx, dword [esp + 0xfc]
mov dword [edi + 4], ebx
mov ebp, dword [esp + 0x88]
mov dword [edi + 8], ebp
mov esi, dword [esp + 0x90]
mov dword [edi + 0xc], esi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebp
mov dword [eax + 0x14], esi
mov dword [esp], eax
call fcn.00442120
mov eax, dword [esp + 0xfc]
lea ecx, [eax + 0x18]
mov dword [esp + 0xa0], ecx
mov dword [esp], ecx
call fcn.004868a0
lea eax, [0x5f0970]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xd0], eax
lea eax, [esp + 0xcc]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x40]
mov dword [esp], eax
call fcn.00435390
test eax, eax
jne 0x5f08c4
mov eax, dword [esp + 0xfc]
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x5f08a7
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
call fcn.00476060
mov eax, dword [esp + 4]
test eax, eax
jne 0x5f0885
mov eax, dword [esp + 0xfc]
lea ecx, [eax + 0xd4]
mov dword [esp + 0xa0], ecx
mov dword [esp], ecx
call fcn.004868a0
lea eax, [0x5f0930]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xc8], eax
lea eax, [esp + 0xc4]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.00435390
test eax, eax
jne 0x5f0879
mov eax, dword [esp + 0xfc]
mov edx, dword [eax + 0xc]
mov ecx, dword [edx]
mov ebx, dword [esp + 0x24]
mov dword [esp], ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 4], ebx
call ecx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0xfc]
mov dword [ebx + 0x20], eax
mov ebp, dword [0x93f150]
test ebp, ebp
je 0x5f040c
call fcn.00471840
mov dword [edi], ecx
mov edx, dword [ebx + 0x24]
mov dword [edi + 4], edx
mov dword [ebx + 0x24], ecx
test eax, eax
jne 0x5f0418
inc dword [ebx + 0x30]
jmp 0x5f0427
mov dword [esp], ebx
call fcn.005ed160
mov ebx, dword [esp + 0xfc]
mov ecx, dword [ebx + 0x20]
test ecx, ecx
jne 0x5f049b
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
call fcn.00476060
mov eax, dword [esp + 4]
test eax, eax
je 0x5f044e
mov ebx, dword [esp + 0xfc]
jmp 0x5f049b
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x37
lea ecx, [0x72ffa5]
mov dword [eax], ecx
lea ecx, [0x78aa3c]
mov edx, dword [esp + 0xfc]
mov dword [edx + 0x20], ecx
mov ecx, dword [0x93f150]
test ecx, ecx
je 0x5f0496
call fcn.00471840
mov dword [edi], eax
mov ecx, dword [edx + 0x24]
mov dword [edi + 4], ecx
mov dword [edx + 0x24], eax
mov ebx, edx
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x5f04c4
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
call fcn.00476060
mov eax, dword [esp + 4]
test eax, eax
jne 0x5f090a
mov ebx, dword [esp + 0xfc]
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x5f0859
mov edx, dword [ebx + 0x20]
test edx, edx
jne 0x5f06ca
mov edx, dword [ecx + 8]
mov ebp, dword [ecx + 4]
inc ebp
nop
mov eax, dword [ecx]
cmp edx, ebp
jae 0x5f054c
mov dword [esp + 0x9c], ecx
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6ff260]
mov dword [esp + 0x10], eax
call fcn.0046c670
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x9c]
mov dword [ebx + 8], eax
mov eax, dword [0x93f150]
test eax, eax
je 0x5f053d
call fcn.00471840
mov dword [edi], ecx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], ecx
mov ebp, edx
mov eax, ecx
mov ecx, ebx
mov ebx, dword [esp + 0xfc]
mov dword [ecx + 4], ebp
mov ecx, dword [0x93f150]
imul edx, ebp, 0x1c
lea edi, [eax + edx - 0x1c]
test ecx, ecx
je 0x5f0591
mov dword [esp + 0x98], edi
lea eax, [0x6ff260]
mov dword [esp], eax
mov dword [esp + 4], edi
lea ecx, [0x78bd5c]
mov dword [esp + 8], ecx
call fcn.0040eb20
mov ebx, dword [esp + 0xfc]
mov edi, dword [esp + 0x98]
lea esi, [0x78bd5c]
call fcn.00471f9a
movzx ecx, word [ebx + 0x38]
mov word [esp + 0x22], cx
mov edx, dword [ebx + 0x124]
mov ebp, dword [ebx + 0x128]
mov eax, dword [ebx + 0x12c]
lea edi, [esp + 0xa8]
mov esi, eax
xor eax, eax
call fcn.00471ac9
mov dword [esp + 0xa8], 1
mov dword [esp + 0xac], 3
movzx ecx, word [esp + 0x22]
mov word [esp + 0xbc], cx
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb8], esi
mov ecx, dword [ebx + 0x10]
mov edx, dword [ecx + 8]
mov ebp, dword [ecx + 4]
inc ebp
mov eax, dword [ecx]
cmp edx, ebp
jae 0x5f0673
mov dword [esp + 0x9c], ecx
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6ff260]
mov dword [esp + 0x10], eax
call fcn.0046c670
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x9c]
mov dword [ebx + 8], eax
mov eax, dword [0x93f150]
test eax, eax
je 0x5f0664
call fcn.00471840
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov ebp, edx
mov eax, ecx
mov ecx, ebx
mov ebx, dword [esp + 0xfc]
mov dword [ecx + 4], ebp
mov ecx, dword [0x93f150]
imul edx, ebp, 0x1c
lea edi, [eax + edx - 0x1c]
test ecx, ecx
je 0x5f06b9
mov dword [esp + 0x98], edi
lea eax, [0x6ff260]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xa8]
mov dword [esp + 8], eax
call fcn.0040eb20
mov ebx, dword [esp + 0xfc]
mov edi, dword [esp + 0x98]
lea esi, [esp + 0xa8]
call fcn.00471f9a
jmp 0x5f0829
lea eax, [0x6e8be0]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [esp + 0xf4], eax
mov ecx, dword [esp + 0xfc]
lea edx, [ecx + 0x130]
mov dword [esp + 0xa0], edx
mov dword [esp], edx
call fcn.004868a0
mov eax, dword [esp + 0xfc]
mov ecx, dword [eax + 0x138]
mov edx, dword [eax + 0x13c]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea ecx, [0x6eace0]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0xf4]
mov dword [esp + 0xc], ecx
call fcn.00479cf0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x5f0746
mov eax, dword [esp + 0xf4]
mov byte [eax], 0x50
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call fcn.00486c20
mov eax, dword [esp + 0xf4]
movzx eax, byte [eax]
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov ecx, dword [esp + 0xfc]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x5f079c
mov edx, dword [edx + 4]
mov ebx, dword [ecx + 0x24]
mov dword [esp + 0xe4], edx
mov dword [esp + 0xe8], ebx
lea edx, [0x6e0380]
mov dword [esp + 0xec], edx
lea edx, [0x8f4440]
lea eax, [edx + eax*8]
mov dword [esp + 0xf0], eax
lea eax, [0x71b9f4]
mov dword [esp], eax
mov dword [esp + 4], 6
lea eax, [esp + 0xe4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c2050
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xfc]
mov dword [edx + 0x20], eax
mov eax, dword [0x93f150]
test eax, eax
je 0x5f0824
call fcn.00471840
mov dword [edi], ecx
mov eax, dword [edx + 0x24]
mov dword [edi + 4], eax
mov dword [edx + 0x24], ecx
mov ebx, edx
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0xf8]
mov dword [esp], eax
call fcn.00405a70
mov eax, dword [esp + 0xfc]
mov ecx, dword [eax + 0x10]
mov ecx, dword [ecx + 0xf4]
mov dword [esp], ecx
call fcn.00405a70
mov ebx, dword [esp + 0xfc]
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x24]
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], ecx
call fcn.004358b0
add esp, 0xf8
ret
call fcn.004358b0
add esp, 0xf8
ret
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
call fcn.004358b0
add esp, 0xf8
ret
mov eax, dword [eax + 0x24]
mov dword [esp + 0x108], ecx
mov dword [esp + 0x10c], eax
call fcn.004358b0
add esp, 0xf8
ret
call fcn.004358b0
add esp, 0xf8
ret
call fcn.004358b0
add esp, 0xf8
ret
call fcn.004358b0
add esp, 0xf8
ret
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
call fcn.004358b0
add esp, 0xf8
ret
lea eax, [0x6db180]
mov dword [esp], eax
lea eax, [0x78a4f0]
mov dword [esp + 4], eax
call fcn.0046a9e0
nop
call fcn.00470430
jmp fcn.005f0070