Function at 0x4fcf90
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x1ec]
cmp eax, dword [ecx + 8]
jbe 0x4fd4a4
sub esp, 0x26c
nop
call fcn.0046b530
mov eax, dword [esp]
mov dword [esp + 0x244], eax
lea ecx, [0x6db200]
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 0x202
call fcn.0046c5c0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x126], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov ecx, dword [esp + 0x244]
shr ecx, 1
mov dword [esp + 0x240], ecx
mov word [esp + 0x126], cx
mov byte [esp + 0x12e], 1
movzx edx, byte [esp + 0x374]
mov byte [esp + 0x130], dl
mov dword [esp], eax
mov dword [esp + 4], 2
mov dword [esp + 8], 0x202
mov eax, dword [esp + 0x126]
mov dword [esp + 0xc], eax
lea edi, [esp + 0xe]
lea esi, [esp + 0x128]
call fcn.00471fc2
call fcn.004f2210
lea edi, [esp + 0x248]
lea esi, [esp + 0x1c]
call fcn.00471f86
movzx eax, byte [esp + 0x254]
test al, al
jne 0x4fd09b
mov eax, dword [0x913de0]
mov ecx, dword [0x913de4]
jmp 0x4fd0b2
cmp al, 2
jbe 0x4fd0ae
mov eax, dword [0x913de8]
mov ecx, dword [0x913dec]
jmp 0x4fd0b2
xor eax, eax
xor ecx, ecx
test eax, eax
jne 0x4fd0c2
mov byte [esp + 0x254], 2
xor eax, eax
xor ecx, ecx
test eax, eax
jne 0x4fd438
lea eax, [esp + 0x248]
mov dword [esp], eax
lea edi, [esp + 4]
lea esi, [esp + 0x270]
call fcn.00471d56
call fcn.004f23e0
mov eax, dword [esp + 0x108]
test eax, eax
jne 0x4fd3d0
mov eax, dword [0x913458]
mov dword [esp], eax
call fcn.0049c7f0
cmp dword [esp + 8], 1
jne 0x4fd129
mov ecx, dword [esp + 4]
cmp byte [ecx], 0x30
jne 0x4fd129
mov eax, dword [0x913458]
mov dword [esp], eax
call fcn.0049c620
jmp 0x4fd1f8
movzx ecx, byte [esp + 0x254]
test cl, cl
jne 0x4fd143
mov ecx, dword [0x913de0]
mov edx, dword [0x913de4]
jmp 0x4fd15a
cmp cl, 5
jbe 0x4fd156
mov ecx, dword [0x913de8]
mov edx, dword [0x913dec]
jmp 0x4fd15a
xor ecx, ecx
xor edx, edx
test ecx, ecx
jne 0x4fd16a
mov byte [esp + 0x254], 5
xor ecx, ecx
xor edx, edx
test ecx, ecx
jne 0x4fd36f
lea edi, [esp + 0x134]
xor eax, eax
call fcn.00471a8d
nop
lea edi, [esp + 0x134]
lea esi, [0x78d0a0]
call fcn.00471d60
mov dword [esp + 0x234], 0x4d00029
mov dword [esp + 0x238], 0
lea ecx, [esp + 0x248]
mov dword [esp], ecx
lea edi, [esp + 4]
lea esi, [esp + 0x134]
call fcn.00471d42
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
call fcn.004f25a0
mov ecx, dword [esp + 0x11c]
test ecx, ecx
jne 0x4fd307
lea eax, [esp + 0x248]
mov dword [esp], eax
call fcn.004f29e0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4fd2a2
mov ecx, dword [esp + 8]
cmp ecx, 2
jb 0x4fd499
mov eax, dword [esp + 4]
mov edx, dword [esp + 0xc]
lea ebx, [ecx - 2]
lea ebp, [edx - 2]
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 2
add ebp, eax
mov edi, ebx
sar ebx, 8
mov byte [eax], bl
xchg edi, ebx
mov byte [eax + 1], bl
xchg edi, ebx
mov ebx, dword [esp + 0x240]
mov word [esp + 0x378], bx
mov dword [esp + 0x37c], ebp
mov dword [esp + 0x380], edi
mov dword [esp + 0x384], esi
mov dword [esp + 0x388], eax
mov dword [esp + 0x38c], ecx
mov dword [esp + 0x390], edx
mov dword [esp + 0x394], 0
mov dword [esp + 0x398], 0
add esp, 0x26c
ret
mov ecx, dword [esp + 0x14]
mov word [esp + 0x378], 0
mov dword [esp + 0x37c], 0
mov dword [esp + 0x380], 0
mov dword [esp + 0x384], 0
mov dword [esp + 0x388], 0
mov dword [esp + 0x38c], 0
mov dword [esp + 0x390], 0
mov dword [esp + 0x394], eax
mov dword [esp + 0x398], ecx
add esp, 0x26c
ret
mov eax, dword [esp + 0x120]
mov word [esp + 0x378], 0
mov dword [esp + 0x37c], 0
mov dword [esp + 0x380], 0
mov dword [esp + 0x384], 0
mov dword [esp + 0x388], 0
mov dword [esp + 0x38c], 0
mov dword [esp + 0x390], 0
mov dword [esp + 0x394], ecx
mov dword [esp + 0x398], eax
add esp, 0x26c
ret
mov word [esp + 0x378], 0
mov dword [esp + 0x37c], 0
mov dword [esp + 0x380], 0
mov dword [esp + 0x384], 0
mov dword [esp + 0x388], 0
mov dword [esp + 0x38c], 0
mov dword [esp + 0x390], 0
mov dword [esp + 0x394], ecx
mov dword [esp + 0x398], edx
add esp, 0x26c
ret
mov ecx, dword [esp + 0x10c]
mov word [esp + 0x378], 0
mov dword [esp + 0x37c], 0
mov dword [esp + 0x380], 0
mov dword [esp + 0x384], 0
mov dword [esp + 0x388], 0
mov dword [esp + 0x38c], 0
mov dword [esp + 0x390], 0
mov dword [esp + 0x394], eax
mov dword [esp + 0x398], ecx
add esp, 0x26c
ret
mov word [esp + 0x378], 0
mov dword [esp + 0x37c], 0
mov dword [esp + 0x380], 0
mov dword [esp + 0x384], 0
mov dword [esp + 0x388], 0
mov dword [esp + 0x38c], 0
mov dword [esp + 0x390], 0
mov dword [esp + 0x394], eax
mov dword [esp + 0x398], ecx
add esp, 0x26c
ret
mov eax, 2
call fcn.00471910
nop
call fcn.00470430
jmp fcn.004fcf90