Function at 0x583988
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x13
push 0
push 0
dec ecx
jne 0x583990
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x583f16
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, 0x583f30
call fcn.00404bd0
mov eax, dword [0x669de8]
mov eax, dword [eax]
mov ebx, dword [eax + 0x5c]
mov eax, ebx
call fcn.00483d8c
mov eax, ebx
call fcn.004d882c
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea edx, [ebp - 0x20]
mov eax, dword [esi + 0x360]
call fcn.00488108
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
call fcn.00405bc0
lea eax, [ebp - 0x1c]
push eax
mov eax, ebx
call fcn.004d6c60
mov edx, 0x5841f8
call fcn.004ced68
pop edx
call fcn.004d0010
mov eax, ebx
call fcn.00483d80
mov edx, 0x584210
mov eax, ebx
call fcn.00484d94
mov edx, dword [eax]
call dword [edx + 0x58]
test eax, eax
jne 0x583a2f
xor ebx, ebx
jmp 0x583ea8
lea eax, [ebp - 8]
mov edx, 0x58421c
call fcn.00404bd0
mov eax, dword [0x669de8]
mov eax, dword [eax]
mov ebx, dword [eax + 0x5c]
mov eax, ebx
call fcn.00483d8c
mov eax, ebx
call fcn.004d882c
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
call fcn.004d6c60
mov edx, 0x58426c
call fcn.004ced68
push eax
mov eax, dword [esi + 0x334]
call fcn.0050c714
mov edx, eax
lea eax, [ebp - 0x30]
mov cl, 0xfc
call fcn.00405b7c
lea edx, [ebp - 0x30]
pop eax
call fcn.004d0010
mov eax, ebx
call fcn.00483d80
mov edx, 0x584280
mov eax, ebx
call fcn.00484d94
lea edx, [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov ecx, esi
mov dl, 1
mov eax, dword [0x57e014]
call fcn.00461750
mov edx, dword [0x66a138]
mov dword [edx], eax
xor eax, eax
push ebp
push 0x583e9f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x34]
mov eax, dword [esi + 0x360]
call fcn.00488108
mov edx, dword [ebp - 0x34]
mov eax, dword [0x66a138]
mov eax, dword [eax]
add eax, 0x34c
call fcn.00404b8c
mov eax, dword [esi + 0x334]
call fcn.0050c714
mov edx, dword [0x66a138]
mov edx, dword [edx]
mov dword [edx + 0x350], eax
lea eax, [ebp - 8]
mov edx, 0x58428c
call fcn.00404bd0
mov eax, dword [0x669de8]
mov eax, dword [eax]
mov ebx, dword [eax + 0x5c]
mov eax, ebx
call fcn.00483d8c
mov eax, ebx
call fcn.004d882c
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea edx, [ebp - 0x48]
mov eax, dword [esi + 0x360]
call fcn.00488108
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 0x44]
call fcn.00405bc0
lea eax, [ebp - 0x44]
push eax
mov eax, ebx
call fcn.004d6c60
mov edx, 0x5841f8
call fcn.004ced68
pop edx
call fcn.004d0010
mov eax, ebx
call fcn.00483d80
mov eax, dword [0x66a138]
mov eax, dword [eax]
mov dword [eax + 0x358], 0xffffffff
mov eax, dword [0x66a138]
mov eax, dword [eax]
mov dword [eax + 0x35c], 0xffffffff
xor edi, edi
jmp 0x583cb7
mov edx, 0x584544
mov eax, ebx
call fcn.00484d94
lea edx, [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x4c]
mov edx, 0x58455c
call fcn.00404f34
je 0x583bdf
mov edx, 0x584544
mov eax, ebx
call fcn.00484d94
lea edx, [ebp - 0x50]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x50]
mov edx, 0x584568
call fcn.00404f34
jne 0x583c42
inc edi
mov edx, 0x584544
mov eax, ebx
call fcn.00484d94
lea edx, [ebp - 0x54]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x54]
mov edx, 0x58455c
call fcn.00404f34
jne 0x583c10
mov eax, dword [0x66a138]
mov eax, dword [eax]
mov dword [eax + 0x358], edi
mov edx, 0x584544
mov eax, ebx
call fcn.00484d94
lea edx, [ebp - 0x58]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x58]
mov edx, 0x584568
call fcn.00404f34
jne 0x583cb0
mov eax, dword [0x66a138]
mov eax, dword [eax]
mov dword [eax + 0x35c], edi
jmp 0x583cb0
mov edx, 0x584574
mov eax, ebx
call fcn.00484d94
lea edx, [ebp - 0x60]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.004094e8
cmp dword [ebp - 0x5c], 0
jne 0x583c8c
mov edx, 0x584584
mov eax, ebx
call fcn.00484d94
lea edx, [ebp - 0x68]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x64]
call fcn.004094e8
cmp dword [ebp - 0x64], 0
je 0x583cb0
mov edx, 0x584594
mov eax, ebx
call fcn.00484d94
lea edx, [ebp - 0x6c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x6c]
mov edx, 0x5845a4
call fcn.00404f34
jne 0x583cb0
inc edi
mov eax, ebx
call fcn.0048643c
cmp byte [ebx + 0xa1], 0
je 0x583b99
mov eax, dword [0x66a138]
mov eax, dword [eax]
mov dword [eax + 0x354], edi
mov eax, dword [0x66a138]
mov eax, dword [eax]
mov eax, dword [eax + 0x330]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [0x66a138]
mov eax, dword [eax]
mov eax, dword [eax + 0x340]
call fcn.00483d8c
mov eax, dword [0x66a138]
mov eax, dword [eax]
mov eax, dword [eax + 0x340]
call fcn.004d6c60
mov edx, 0x58426c
call fcn.004ced68
push eax
mov eax, dword [esi + 0x334]
call fcn.0050c714
mov edx, eax
lea eax, [ebp - 0x7c]
mov cl, 0xfc
call fcn.00405b7c
lea edx, [ebp - 0x7c]
pop eax
call fcn.004d0010
mov eax, dword [0x66a138]
mov eax, dword [eax]
mov eax, dword [eax + 0x340]
call fcn.004d6c60
mov edx, 0x5845ac
call fcn.004ced68
push eax
mov eax, dword [ebp - 0xc]
call fcn.00662eac
mov edx, eax
lea eax, [ebp - 0x8c]
mov cl, 0xfc
call fcn.00405b7c
lea edx, [ebp - 0x8c]
pop eax
call fcn.004d0010
mov eax, dword [0x66a138]
mov eax, dword [eax]
mov eax, dword [eax + 0x340]
call fcn.004d6c60
mov edx, 0x5845bc
call fcn.004ced68
push eax
mov eax, dword [ebp - 0xc]
call fcn.00662eac
mov edx, eax
lea eax, [ebp - 0x9c]
mov cl, 0xfc
call fcn.00405b7c
lea edx, [ebp - 0x9c]
pop eax
call fcn.004d0010
mov eax, dword [0x66a138]
mov eax, dword [eax]
mov eax, dword [eax + 0x340]
call fcn.00483d80
mov eax, dword [0x66a138]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f0]
call fcn.00527450
mov dl, 1
mov eax, dword [0x42465c]
call fcn.0042acb4
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x583e7e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x2f4
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, 0x22f
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [0x66a138]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f0]
mov eax, dword [eax + 0x2e4]
mov edx, 1
call fcn.0052e858
push eax
mov eax, dword [ebp - 4]
call fcn.0042b27c
xor ecx, ecx
xor edx, edx
call fcn.004260ac
mov eax, dword [esi + 0x38c]
mov eax, dword [eax + 0x168]
mov edx, dword [ebp - 4]
call fcn.0042876c
mov eax, dword [esi + 0x38c]
mov eax, dword [eax + 0x168]
mov edx, 0x5845d0
call fcn.00428824
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x583e85
mov eax, dword [ebp - 4]
call fcn.00403c48
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x583f1d
lea eax, [ebp - 0x9c]
mov edx, dword [0x40113c]
mov ecx, 3
call fcn.0040572c
lea eax, [ebp - 0x6c]
mov edx, 9
call fcn.00404b5c
lea eax, [ebp - 0x48]
call fcn.00404b38
lea eax, [ebp - 0x44]
call fcn.00405c34
lea eax, [ebp - 0x34]
call fcn.00404b38
lea eax, [ebp - 0x30]
call fcn.00405c34
lea eax, [ebp - 0x20]
call fcn.00404b38
lea eax, [ebp - 0x1c]
call fcn.00405c34
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404b5c
ret