Function at 0x4f25a0
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f29c8
sub esp, 0x68
mov eax, dword [esp + 0x6c]
movzx ecx, byte [eax + 0xc]
cmp cl, 3
jae 0x4f25d2
mov ecx, dword [0x913de0]
mov edx, dword [0x913de4]
jmp 0x4f25e9
cmp cl, 5
jbe 0x4f25e5
mov ecx, dword [0x913de8]
mov edx, dword [0x913dec]
jmp 0x4f25e9
xor ecx, ecx
xor edx, edx
test ecx, ecx
jne 0x4f26c8
mov word [esp + 0x170], 0x29
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax]
mov ebp, dword [eax + 0x20]
mov esi, dword [eax + 0x1c]
lea edi, [esp + 0x70]
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call fcn.004f2ab0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
test eax, eax
jne 0x4f265e
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x17c]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x38], ebp
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x180]
mov edx, ebp
jmp 0x4f271b
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x5c], eax
lea ecx, [0x6ef880]
mov dword [esp], ecx
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xe
lea ecx, [0x71e5b5]
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov ecx, dword [0x93f150]
test ecx, ecx
jne 0x4f26a2
mov ecx, dword [esp + 0x5c]
jmp 0x4f26ad
call fcn.00471830
mov ecx, dword [esp + 0x5c]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x78b250]
mov dword [esp + 0x188], ecx
mov dword [esp + 0x18c], eax
add esp, 0x68
ret
mov dword [esp + 0x188], ecx
mov dword [esp + 0x18c], edx
add esp, 0x68
ret
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x54], ebx
lea eax, [ebx + edx]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
call fcn.004721c0
mov eax, dword [esp + 0x64]
add eax, 0x10
mov ecx, dword [esp + 0x50]
lea edi, [ecx - 1]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x34]
test edi, edi
jle 0x4f2829
mov dword [esp + 0x50], edi
mov dword [esp + 0x64], eax
add ebp, 2
mov ecx, dword [eax + 8]
mov dword [esp + 0x4c], ecx
movzx edx, word [eax]
mov edi, dword [eax + 4]
mov dword [esp + 0x60], edi
nop
cmp esi, ebp
jae 0x4f2788
mov word [esp + 0x32], dx
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], 2
lea eax, [0x6db200]
mov dword [esp + 0x10], eax
call fcn.0046c670
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x4c]
movzx edx, word [esp + 0x32]
mov edi, dword [esp + 0x60]
rol dx, 8
mov word [ebp + ebx - 2], dx
lea edx, [ebp + 2]
nop
cmp esi, edx
jae 0x4f27d3
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 2
lea eax, [0x6db200]
mov dword [esp + 0x10], eax
call fcn.0046c670
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x60]
mov ebp, ecx
rol cx, 8
mov word [edx + ebx - 2], cx
lea ecx, [edx + ebp]
nop
cmp esi, ecx
jae 0x4f26da
mov dword [esp + 0x34], edx
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
lea eax, [0x6db200]
mov dword [esp + 0x10], eax
call fcn.0046c670
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x4c]
mov edi, dword [esp + 0x60]
jmp 0x4f26da
mov dword [esp + 0x58], ebx
mov eax, ebp
sub ebp, edx
cmp ebp, 0xffff
jle 0x4f284b
mov ecx, dword [0x913e40]
mov edx, dword [0x913e44]
mov ebp, edx
mov edx, esi
jmp 0x4f28c6
cmp esi, ecx
jb 0x4f29c0
mov edx, esi
sub esi, ecx
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and ecx, esi
add ecx, ebx
cmp edi, 2
jae 0x4f28b1
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ebp
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], edi
mov dword [esp + 0xc], 2
lea eax, [0x6db200]
mov dword [esp + 0x10], eax
call fcn.0046c670
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x48]
mov esi, ebp
rol bp, 8
mov word [ecx], bp
mov word [esp + 0x178], si
xor ecx, ecx
xor ebp, ebp
test ecx, ecx
jne 0x4f29ae
mov ecx, dword [esp + 0x6c]
movzx ebp, byte [ecx + 0xc]
xchg ebp, eax
cmp al, 3
xchg ebp, eax
ja 0x4f290d
xchg ebp, eax
cmp al, 2
xchg ebp, eax
jne 0x4f28f5
lea ebp, [ecx + 0x12]
mov esi, dword [0x913e48]
mov edi, dword [0x913e4c]
jmp 0x4f2943
xchg ebp, eax
cmp al, 3
xchg ebp, eax
jne 0x4f293d
lea ebp, [ecx + 0x14]
mov esi, dword [0x913e50]
mov edi, dword [0x913e54]
jmp 0x4f2943
xchg ebp, eax
cmp al, 4
xchg ebp, eax
jne 0x4f2925
lea ebp, [ecx + 0x16]
mov esi, dword [0x913e58]
mov edi, dword [0x913e5c]
jmp 0x4f2943
xchg ebp, eax
cmp al, 5
xchg ebp, eax
jne 0x4f293d
lea ebp, [ecx + 0x18]
mov esi, dword [0x913e60]
mov edi, dword [0x913e64]
jmp 0x4f2943
xor ebp, ebp
xor esi, esi
xor edi, edi
movzx ebx, word [ebp]
cmp bx, 0xffff
je 0x4f2956
inc ebx
mov word [ebp], bx
xor esi, esi
xor edi, edi
test esi, esi
jne 0x4f299c
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov eax, dword [0x93f150]
test eax, eax
jne 0x4f2970
mov eax, dword [esp + 0x58]
jmp 0x4f2980
call fcn.00471840
mov eax, dword [esp + 0x58]
mov dword [edi], eax
mov edx, dword [ecx]
mov dword [edi + 4], edx
mov dword [ecx], eax
mov dword [esp + 0x188], 0
mov dword [esp + 0x18c], 0
add esp, 0x68
ret
mov dword [esp + 0x188], esi
mov dword [esp + 0x18c], edi
add esp, 0x68
ret
mov dword [esp + 0x188], ecx
mov dword [esp + 0x18c], ebp
add esp, 0x68
ret
mov edx, esi
call fcn.004718f0
nop
call fcn.00470430
jmp fcn.004f25a0