Function at 0x523520
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x523528
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x5239a1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
push 0x5239bc
lea edx, [ebp - 0x1c]
mov eax, dword [0x53d50c]
mov eax, dword [eax]
call fcn.004eef34
push dword [ebp - 0x1c]
push 0x523a38
lea edx, [ebp - 0x20]
mov eax, dword [0x53d50c]
mov eax, dword [eax]
call fcn.004ef0c0
push dword [ebp - 0x20]
push 0x523a50
lea edx, [ebp - 0x24]
mov eax, dword [0x53d50c]
mov eax, dword [eax]
call fcn.004ef0ac
push dword [ebp - 0x24]
push 0x523a68
lea eax, [ebp - 8]
mov edx, 7
call fcn.00404da8
mov eax, dword [0x53d50c]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
mov edx, dword [ebx + 0x348]
call fcn.004eeaa4
test al, al
je 0x523964
mov eax, dword [ebx + 0x318]
mov eax, dword [eax + 0x22c]
call fcn.004a9030
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
jmp 0x52387f
mov eax, dword [ebx + 0x318]
mov esi, dword [eax + 0x22c]
mov edx, 0x523a94
mov eax, dword [ebx + 0x348]
call fcn.004832e4
lea edx, [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x28]
push eax
xor edx, edx
mov eax, esi
call fcn.004a8ee0
pop edx
call fcn.004a8974
mov edx, 0x523aa4
mov eax, dword [ebx + 0x348]
call fcn.004832e4
lea edx, [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x2c]
push eax
xor edx, edx
mov eax, esi
call fcn.004a8f6c
mov eax, dword [eax + 8]
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x30]
push eax
mov edx, 0x523ab4
mov eax, dword [ebx + 0x348]
call fcn.004832e4
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
lea edx, [ebp - 0x38]
xor ecx, ecx
mov eax, 0x523ac4
call fcn.0040a424
mov eax, dword [ebp - 0x30]
push eax
xor edx, edx
mov eax, esi
call fcn.004a8f6c
mov eax, dword [eax + 8]
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x523ad0
mov eax, dword [ebx + 0x348]
call fcn.004832e4
lea edx, [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x3c]
push eax
xor edx, edx
mov eax, esi
call fcn.004a8f6c
mov eax, dword [eax + 8]
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x40]
push eax
mov edx, 0x523ae4
mov eax, dword [ebx + 0x348]
call fcn.004832e4
mov edx, dword [eax]
call dword [edx + 0x54]
fstp xword [ebp - 0x4c]
wait
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 3
lea edx, [ebp - 0x38]
xor ecx, ecx
mov eax, 0x523af0
call fcn.0040a424
mov eax, dword [ebp - 0x40]
push eax
xor edx, edx
mov eax, esi
call fcn.004a8f6c
mov eax, dword [eax + 8]
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x523ae4
mov eax, dword [ebx + 0x348]
call fcn.004832e4
mov edx, dword [eax]
call dword [edx + 0x54]
fadd qword [ebp - 0x10]
fstp qword [ebp - 0x10]
wait
lea eax, [ebp - 0x50]
push eax
mov edx, 0x523b00
mov eax, dword [ebx + 0x348]
call fcn.004832e4
mov edx, dword [eax]
call dword [edx + 0x54]
fstp xword [ebp - 0x4c]
wait
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 3
lea edx, [ebp - 0x38]
xor ecx, ecx
mov eax, 0x523af0
call fcn.0040a424
mov eax, dword [ebp - 0x50]
push eax
xor edx, edx
mov eax, esi
call fcn.004a8f6c
mov eax, dword [eax + 8]
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x54]
push eax
mov edx, 0x523b0c
mov eax, dword [ebx + 0x348]
call fcn.004832e4
mov edx, dword [eax]
call dword [edx + 0x54]
fstp xword [ebp - 0x4c]
wait
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 3
lea edx, [ebp - 0x38]
xor ecx, ecx
mov eax, 0x523af0
call fcn.0040a424
mov eax, dword [ebp - 0x54]
push eax
xor edx, edx
mov eax, esi
call fcn.004a8f6c
mov eax, dword [eax + 8]
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x523b0c
mov eax, dword [ebx + 0x348]
call fcn.004832e4
mov edx, dword [eax]
call dword [edx + 0x54]
fadd qword [ebp - 0x18]
fstp qword [ebp - 0x18]
wait
mov edx, 0x523b18
mov eax, dword [ebx + 0x348]
call fcn.004832e4
lea edx, [ebp - 0x58]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x58]
mov edx, 0x523b28
call fcn.00404e2c
jne 0x523812
xor edx, edx
mov eax, esi
call fcn.004a8f6c
mov eax, dword [eax + 8]
mov edx, 0x523b34
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x523828
xor edx, edx
mov eax, esi
call fcn.004a8f6c
mov eax, dword [eax + 8]
mov edx, 0x523b44
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x5c]
push eax
mov edx, 0x523b54
mov eax, dword [ebx + 0x348]
call fcn.004832e4
mov edx, dword [eax]
call dword [edx + 0x54]
fstp xword [ebp - 0x4c]
wait
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 3
lea edx, [ebp - 0x38]
xor ecx, ecx
mov eax, 0x523af0
call fcn.0040a424
mov eax, dword [ebp - 0x5c]
push eax
xor edx, edx
mov eax, esi
call fcn.004a8f6c
mov eax, dword [eax + 8]
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx + 0x348]
call fcn.0048498c
mov eax, dword [ebx + 0x348]
cmp byte [eax + 0xa1], 0
je 0x5235df
mov eax, dword [ebx + 0x318]
mov eax, dword [eax + 0x22c]
call fcn.004a8f3c
test eax, eax
jg 0x5238b6
xor edx, edx
mov eax, dword [ebx + 0x308]
mov ecx, dword [eax]
call dword [ecx + 0x64]
jmp 0x5238c3
mov dl, 1
mov eax, dword [ebx + 0x308]
mov ecx, dword [eax]
call dword [ecx + 0x64]
lea eax, [ebp - 0x60]
push eax
fld qword [ebp - 0x10]
fstp xword [ebp - 0x4c]
wait
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 3
lea edx, [ebp - 0x38]
xor ecx, ecx
mov eax, 0x523af0
call fcn.0040a424
mov edx, dword [ebp - 0x60]
mov eax, dword [ebx + 0x330]
call fcn.004c8fc4
lea eax, [ebp - 0x64]
push eax
fld qword [ebp - 0x18]
fstp xword [ebp - 0x4c]
wait
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 3
lea edx, [ebp - 0x38]
xor ecx, ecx
mov eax, 0x523af0
call fcn.0040a424
mov edx, dword [ebp - 0x64]
mov eax, dword [ebx + 0x334]
call fcn.004c8fc4
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebx + 0x318]
mov eax, dword [eax + 0x22c]
call fcn.004a8f3c
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
lea edx, [ebp - 0x38]
xor ecx, ecx
mov eax, 0x523ac4
call fcn.0040a424
mov edx, dword [ebp - 0x68]
mov eax, dword [ebx + 0x338]
call fcn.00446fdc
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5239a8
lea eax, [ebp - 0x68]
mov edx, 7
call fcn.00404a54
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.00404a54
lea eax, [ebp - 0x30]
mov edx, 6
call fcn.00404a54
lea eax, [ebp - 8]
call fcn.00404a30
ret