Function at 0x4490ad
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
and dword [ebp - 0x10], 0
push esi
mov esi, dword [ebp + 8]
cmp byte [esi + 0x1c], 0
push edi
jne 0x4490d9
push 0x4f1cf8
push esi
mov edi, eax
call fcn.00435c98
pop ecx
xor eax, eax
pop ecx
inc eax
jmp 0x44937a
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x3a]
mov dword [ebp - 0x1c], eax
and eax, 0xfbffffff
or eax, 0x50000
mov dword [ebp - 0x20], ecx
mov ecx, dword [esi + 0x3e]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x24], ecx
mov ecx, dword [esi + 0x90]
and dword [esi + 0x90], 0
mov edi, dword [eax + 4]
mov eax, dword [edi + 4]
mov eax, dword [eax]
movzx eax, byte [eax + 0xd]
push ebx
push 0x4f1ce0
push esi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0xc], eax
call fcn.00449001
pop ecx
pop ecx
mov dword [ebp - 4], eax
test eax, eax
jne 0x449337
mov eax, dword [esi + 4]
imul eax, eax, 0xe
add eax, dword [esi + 8]
lea ecx, [eax - 0xe]
mov eax, dword [eax - 0xa]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], eax
call fcn.0043e71d
call fcn.00427b7a
mov eax, dword [edi + 4]
movzx ecx, word [eax + 0x16]
movzx ebx, word [eax + 0x14]
sub ebx, ecx
mov eax, edi
mov dword [ebp - 0x18], ebx
call fcn.00427bde
mov eax, dword [edi + 4]
movzx eax, word [eax + 0x14]
push 0
push ebx
push dword [ebp - 8]
call fcn.0042e3cc
add esp, 0xc
test eax, eax
jne 0x44937e
cmp dword [ebp - 0xc], eax
jne 0x4491a3
push eax
mov eax, dword [esi + 0x22]
push ebx
push dword [ebp - 8]
call fcn.0042e3cc
add esp, 0xc
test eax, eax
jne 0x44937e
cmp byte [esi + 0x1e], 0
jne 0x44937e
push 0x4f1cbc
push esi
call fcn.00449001
pop ecx
pop ecx
mov dword [ebp - 4], eax
test eax, eax
jne 0x449337
mov al, byte [esi + 0x21]
test al, al
js 0x4491d1
movsx eax, al
jmp 0x4491d8
mov eax, edi
call fcn.004288ad
push eax
mov eax, dword [ebp - 8]
call fcn.0042885e
mov dword [esp], 0x4f1ca8
push esi
call fcn.00449001
pop ecx
pop ecx
mov dword [ebp - 4], eax
test eax, eax
jne 0x449337
push 0x4f1c20
push esi
call fcn.0044904a
pop ecx
pop ecx
mov dword [ebp - 4], eax
test eax, eax
jne 0x449337
push 0x4f1bb8
push esi
call fcn.0044904a
pop ecx
pop ecx
mov dword [ebp - 4], eax
test eax, eax
jne 0x449337
push 0x4f1b40
push esi
call fcn.0044904a
pop ecx
pop ecx
mov dword [ebp - 4], eax
test eax, eax
jne 0x449337
push 0x4f1a88
push esi
call fcn.0044904a
pop ecx
pop ecx
mov dword [ebp - 4], eax
test eax, eax
jne 0x449337
push 0x4f1a10
push esi
call fcn.0044904a
pop ecx
pop ecx
mov dword [ebp - 4], eax
test eax, eax
jne 0x449337
push 0x4f1970
push esi
call fcn.0044904a
pop ecx
pop ecx
mov dword [ebp - 4], eax
test eax, eax
jne 0x449337
push 0x4f18b8
push esi
call fcn.00449001
pop ecx
pop ecx
mov dword [ebp - 4], eax
test eax, eax
jne 0x449337
xor ebx, ebx
mov dword [ebp - 0xc], ebx
jmp 0x4492ad
mov ebx, dword [ebp - 0xc]
lea eax, [ebp - 0x14]
push eax
movzx eax, byte [ebx + 0x4eda40]
push eax
mov eax, edi
call fcn.00428c91
movzx eax, byte [ebx + 0x4eda41]
add eax, dword [ebp - 0x14]
push eax
movzx eax, byte [ebx + 0x4eda40]
mov ebx, dword [ebp - 8]
push eax
call fcn.0043235f
add esp, 0x10
mov dword [ebp - 4], eax
test eax, eax
jne 0x449337
add dword [ebp - 0xc], 2
cmp dword [ebp - 0xc], 8
jl 0x4492aa
mov esi, ebx
mov ebx, edi
call fcn.004431e3
mov dword [ebp - 4], eax
test eax, eax
jne 0x449334
mov eax, esi
call fcn.0043e71d
mov dword [ebp - 4], eax
test eax, eax
jne 0x449334
mov eax, esi
call fcn.004288ad
push eax
mov eax, edi
call fcn.0042885e
mov eax, dword [esi + 4]
movzx eax, word [eax + 0x14]
push 1
push dword [ebp - 0x18]
push edi
call fcn.0042e3cc
add esp, 0x10
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x3a], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x3e], eax
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x90], eax
mov byte [esi + 0x1c], 1
test edi, edi
je 0x44936d
mov eax, dword [edi + 4]
call fcn.00440f4a
and dword [edi + 4], 0
and dword [edi + 0xa], 0
xor eax, eax
mov ebx, esi
call fcn.004380de
mov eax, dword [ebp - 4]
pop ebx
pop edi
pop esi
leave
ret
mov dword [ebp - 4], 7
jmp 0x449337