Function at 0x5eee20
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5ef106
sub esp, 0x4c
mov eax, 0
mov dword [esp + 0x48], eax
mov byte [esp + 0x1f], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x50]
cmp word [eax + 0x28], 0x304
je 0x5ef0ca
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.005ede60
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5ef0ba
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [0x6eb220]
cmp eax, edx
jne 0x5eee9f
mov ebx, ecx
jmp 0x5eeea6
mov ebx, ecx
mov ecx, 0
jne 0x5ef039
mov eax, dword [esp + 0x50]
movzx ecx, byte [eax + 8]
test cl, cl
je 0x5ef018
mov ecx, dword [eax + 0x2c]
mov ecx, dword [ecx + 0xa8]
test ecx, ecx
je 0x5eeff7
cmp ecx, 1
jne 0x5eeef9
cmp dword [eax + 0x30], 1
jle 0x5eef02
mov dword [esp], eax
mov byte [esp + 4], 0x64
call fcn.005eccf0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
add esp, 0x4c
ret
cmp ecx, 2
jne 0x5eefb7
lea ecx, [eax + 0x18]
mov dword [esp + 0x2c], ecx
mov dword [esp], ecx
call fcn.004868a0
lea eax, [0x5ef110]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x48], eax
mov byte [esp + 0x1f], 1
mov eax, dword [esp + 0x50]
lea ecx, [eax + 0x14]
nop
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.004760b0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
lea ecx, [0x78bc44]
mov dword [esp + 4], ecx
lea ecx, [0x93ed20]
mov dword [esp + 8], ecx
call fcn.005f4f80
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x50]
mov dword [edx + 0x20], eax
mov ebx, dword [0x93f150]
test ebx, ebx
je 0x5eef8e
call fcn.00471840
mov dword [edi], ecx
mov ebx, dword [edx + 0x24]
mov dword [edi + 4], ebx
mov dword [edx + 0x24], ecx
test eax, eax
jne 0x5eef98
inc dword [edx + 0x30]
mov eax, dword [edx + 0x20]
mov ecx, dword [edx + 0x24]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov byte [esp + 0x1f], 0
mov edx, dword [esp + 0x48]
mov eax, dword [edx]
call eax
add esp, 0x4c
ret
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.005eccf0
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x20
lea ecx, [0x728079]
mov dword [eax], ecx
lea ecx, [0x78aa3c]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
add esp, 0x4c
ret
mov dword [esp], eax
mov byte [esp + 4], 0x64
call fcn.005eccf0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
add esp, 0x4c
ret
mov dword [esp], eax
mov byte [esp + 4], 0x64
call fcn.005eccf0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
add esp, 0x4c
ret
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.005eccf0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
lea eax, [0x6eb220]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x44], eax
lea eax, [0x731fb4]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0x38]
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 + 0x54], eax
mov dword [esp + 0x58], ecx
add esp, 0x4c
ret
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
add esp, 0x4c
ret
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2d
lea ecx, [0x72d5e2]
mov dword [eax], ecx
lea ecx, [0x78aa3c]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
add esp, 0x4c
ret
call fcn.00470430
jmp fcn.005eee20