Function at 0x49dfd4
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x49dfdc
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49e51e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f4]
xor edx, edx
call fcn.0042ad34
xor eax, eax
push ebp
push 0x49e3b3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov edx, dword [eax]
call dword [edx + 0x38]
test al, al
jne 0x49e038
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov edx, dword [eax]
call dword [edx + 0x38]
test al, al
je 0x49e3a9
mov eax, dword [ebp - 4]
cmp dword [eax + 0x318], 0
jne 0x49e12b
lea eax, [ebp - 0xc]
mov edx, 0x49e534
call fcn.004045b8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x310]
mov eax, ebx
call fcn.00470828
mov eax, ebx
call fcn.00488108
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
call fcn.0047081c
mov edx, 0x49e56c
mov eax, ebx
call fcn.00471830
lea edx, [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
add eax, 0x318
call fcn.00404574
mov edx, 0x49e57c
mov eax, ebx
call fcn.00471830
lea edx, [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
add eax, 0x320
call fcn.00404574
mov edx, 0x49e58c
mov eax, ebx
call fcn.00471830
lea edx, [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
add eax, 0x31c
call fcn.00404574
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
mov edx, 0x49e5a0
call fcn.0040491c
jne 0x49e1cb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x304]
mov dl, 1
call fcn.0042ad34
jmp 0x49e1cb
lea eax, [ebp - 0xc]
mov edx, 0x49e5ac
call fcn.004045b8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x310]
mov eax, ebx
call fcn.00470828
mov eax, ebx
call fcn.00488108
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
call fcn.0047081c
mov edx, 0x49e57c
mov eax, ebx
call fcn.00471830
lea edx, [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
add eax, 0x320
call fcn.00404574
mov edx, 0x49e58c
mov eax, ebx
call fcn.00471830
lea edx, [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
add eax, 0x31c
call fcn.00404574
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
mov edx, 0x49e5a0
call fcn.0040491c
jne 0x49e1cb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x304]
mov dl, 1
call fcn.0042ad34
lea eax, [ebp - 0xc]
mov edx, 0x49e5dc
call fcn.004045b8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x310]
mov eax, ebx
call fcn.00470828
mov eax, ebx
call fcn.00488108
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
call fcn.0047081c
mov edx, 0x49e740
mov eax, ebx
call fcn.00471830
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0xc]
mov edx, 0x49e74c
call fcn.004045b8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x310]
mov eax, ebx
call fcn.00470828
mov eax, ebx
call fcn.00488108
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
call fcn.0047081c
mov edx, 0x49e740
mov eax, ebx
call fcn.00471830
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0xc]
mov edx, 0x49e87c
call fcn.004045b8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x310]
mov eax, ebx
call fcn.00470828
mov eax, ebx
call fcn.00488108
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
call fcn.0047081c
mov edx, 0x49e8d0
mov eax, ebx
call fcn.00471830
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
mov edx, 0x49e8e4
call fcn.0040491c
jne 0x49e2be
mov dword [ebp - 0x24], 0xffffffff
jmp 0x49e305
lea eax, [ebp - 0xc]
mov edx, 0x49e8f0
call fcn.004045b8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x310]
mov eax, ebx
call fcn.00470828
mov eax, ebx
call fcn.00488108
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
call fcn.0047081c
mov edx, 0x49e918
mov eax, ebx
call fcn.00471830
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x10]
call fcn.00404520
lea eax, [ebp - 0x14]
call fcn.00404520
xor eax, eax
push ebp
push 0x49e358
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x49e924
mov dl, 1
mov eax, dword [0x49d85c]
call fcn.0049d8c0
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.0049dbc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e35f
mov eax, dword [ebp - 8]
call fcn.004036ec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49e3cd
xor edx, edx
push ebp
push 0x49e4cc
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
cmp byte [eax + 0x30], 0
jne 0x49e3f1
mov dl, 1
call fcn.00456f24
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x2f8]
cmp byte [ebx + 0x30], 0
je 0x49e4c2
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x78], 0xb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], 0xb
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x18]
call fcn.00408c44
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 0x1c]
call fcn.00408c44
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 0x20]
call fcn.00408c44
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 0x24]
call fcn.00408c44
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
lea edx, [ebp - 0x7c]
mov ecx, 7
mov eax, 0x49e968
call fcn.00409770
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebx + 0x90]
call fcn.00456790
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49e4d6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f4]
mov dl, 1
call fcn.0042ad34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e525
lea eax, [ebp - 0x8c]
mov edx, 4
call fcn.00404544
lea eax, [ebp - 0x3c]
mov edx, 6
call fcn.00404544
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404544
ret