Function at 0x5ede60
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5ee206
sub esp, 0x50
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.005eddb0
mov eax, dword [esp + 8]
test eax, eax
jne 0x5ee1ab
mov edx, dword [esp + 0x54]
mov ecx, dword [edx + 0x1bc]
mov eax, dword [edx + 0x1c4]
cmp ecx, eax
jb 0x5ee200
movzx ebx, byte [edx + 0x2a]
mov ebp, dword [edx + 0x1b8]
mov esi, dword [edx + 0x1c0]
sub esi, eax
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, eax
sub ecx, eax
lea edi, [ebp + esi]
test bl, bl
je 0x5edeea
test ecx, ecx
jbe 0x5ee1f7
cmp byte [edi], 0xb
jne 0x5edeea
mov eax, 0x40000
jmp 0x5edeef
mov eax, 0x10000
cmp ecx, 1
jbe 0x5ee1ed
cmp ecx, 2
jbe 0x5ee1e1
movzx ebx, word [ebp + esi + 1]
cmp ecx, 3
jbe 0x5ee1d5
rol bx, 8
movzx ecx, bx
shl ecx, 8
movzx ebx, byte [ebp + esi + 3]
or ecx, ebx
cmp eax, ecx
jge 0x5ee0ba
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
mov dword [esp], edx
mov byte [esp + 4], 0x50
call fcn.005eca20
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00409ea0
mov eax, dword [esp + 4]
lea ecx, [0x6db3c0]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00409ea0
mov eax, dword [esp + 4]
lea ecx, [0x6db3c0]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
lea eax, [0x731b4e]
mov dword [esp], eax
mov dword [esp + 4], 0x45
lea eax, [esp + 0x40]
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 dword [esp + 0x38], ecx
test eax, eax
je 0x5edffe
mov dword [esp + 0x30], eax
mov ecx, dword [eax + 4]
lea edx, [0x914788]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00409f00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
jmp 0x5ee000
mov edx, eax
test eax, eax
jne 0x5ee030
mov eax, dword [esp + 0x54]
mov dword [eax + 0xdc], edx
mov edx, dword [0x93f150]
test edx, edx
je 0x5ee028
call fcn.00471840
mov dword [edi], ecx
mov edx, dword [eax + 0xe0]
mov dword [edi + 4], edx
mov dword [eax + 0xe0], ecx
jmp 0x5ee092
mov dword [esp + 0x3c], eax
lea eax, [0x6e71a0]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x3c]
mov dword [eax], ecx
mov ecx, dword [0x93f150]
test ecx, ecx
jne 0x5ee060
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x54]
jmp 0x5ee07b
call fcn.00471850
mov ecx, dword [esp + 0x38]
mov dword [edi], ecx
mov dword [edi + 4], eax
mov edx, dword [esp + 0x54]
mov ebx, dword [edx + 0xe0]
mov dword [edi + 8], ebx
mov dword [eax + 4], ecx
lea ecx, [0x78af40]
mov dword [edx + 0xdc], ecx
mov dword [edx + 0xe0], eax
mov eax, edx
mov ecx, dword [eax + 0xdc]
mov eax, dword [eax + 0xe0]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
add esp, 0x50
ret
mov dword [esp], edx
lea eax, [ecx + 4]
mov dword [esp + 0x34], eax
mov dword [esp + 4], eax
call fcn.005eddb0
mov eax, dword [esp + 8]
test eax, eax
jne 0x5ee18b
nop
mov ebx, dword [esp + 0x54]
mov byte [ebx + 0x1c8], 0
mov ebp, dword [ebx + 0x1bc]
mov eax, dword [ebx + 0x1c4]
sub ebp, eax
nop
mov esi, dword [esp + 0x34]
cmp ebp, esi
jl 0x5ee0fe
mov ebp, esi
lea ecx, [ebp + eax]
mov edx, dword [ebx + 0x1c0]
cmp edx, ecx
jb 0x5ee1d0
cmp eax, ecx
ja 0x5ee1cb
sub edx, eax
mov esi, edx
neg edx
sar edx, 0x1f
and eax, edx
mov edx, dword [ebx + 0x1b8]
mov dword [ebx + 0x1c4], ecx
add eax, edx
test ebp, ebp
jle 0x5ee13c
mov byte [ebx + 0x1c8], 0xff
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x58]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x14], eax
call fcn.005ee210
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5ee16b
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ebx
add esp, 0x50
ret
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
add esp, 0x50
ret
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
add esp, 0x50
ret
call fcn.00471910
call fcn.004718f0
mov eax, 3
mov ecx, eax
call fcn.004718b0
mov eax, 2
mov ecx, eax
call fcn.004718b0
mov eax, 1
call fcn.004718b0
xor eax, eax
mov ecx, eax
call fcn.004718b0
call fcn.00471910
nop
call fcn.00470430
jmp fcn.005ede60