Function at 0x50d6c8
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x50d6d0
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x50da17
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
push 0x50da30
mov esi, dword [ebx + 0x350]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xc8]
mov edx, eax
lea ecx, [ebp - 0x10]
mov eax, dword [esi + 0x23c]
mov esi, dword [eax]
call dword [esi + 0xc]
push dword [ebp - 0x10]
push 0x50da5c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404da8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebx + 0x360]
mov eax, dword [0x53d50c]
mov eax, dword [eax]
call fcn.004eeaa4
mov eax, dword [ebx + 0x360]
mov edx, 0x50da68
call fcn.004832e4
lea edx, [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x60]
xor eax, eax
push ebp
push 0x50d865
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x360]
call fcn.004822dc
push 0x50da74
lea edx, [ebp - 0x1c]
mov eax, dword [ebx + 0x34c]
call fcn.00446fac
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.0040925c
push dword [ebp - 0x18]
push 0x50da98
lea edx, [ebp - 0x24]
mov eax, dword [ebx + 0x35c]
call fcn.00446fac
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.0040925c
push dword [ebp - 0x20]
push 0x50daa8
lea edx, [ebp - 0x2c]
mov eax, dword [ebx + 0x354]
call fcn.00446fac
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.0040925c
push dword [ebp - 0x28]
push 0x50dab8
lea edx, [ebp - 0x30]
mov eax, dword [0x53d50c]
mov eax, dword [eax]
call fcn.004eef34
push dword [ebp - 0x30]
push 0x50dad0
lea edx, [ebp - 0x34]
mov eax, dword [0x53d50c]
mov eax, dword [eax]
call fcn.004ef0c0
push dword [ebp - 0x34]
push 0x50dae8
push dword [ebp - 8]
push 0x50db00
lea edx, [ebp - 0x3c]
mov eax, dword [ebx + 0x358]
call fcn.00446fac
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.0040925c
push dword [ebp - 0x38]
push 0x50db18
lea eax, [ebp - 0x14]
mov edx, 0xf
call fcn.00404da8
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebx + 0x360]
call fcn.00499b70
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebx + 0x360]
call fcn.00499a98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x50d88a
lea edx, [ebp - 0x40]
mov eax, dword [ebx + 0x354]
call fcn.00446fac
mov eax, dword [ebp - 0x40]
push eax
mov esi, dword [ebx + 0x318]
mov eax, esi
call fcn.004ac6c4
call fcn.004a8da8
mov edx, eax
mov eax, dword [esi + 0x22c]
call fcn.004a8f6c
mov eax, dword [eax + 8]
xor edx, edx
pop ecx
mov esi, dword [eax]
call dword [esi + 0x20]
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x50]
mov eax, dword [ebx + 0x34c]
call fcn.00446fac
mov eax, dword [ebp - 0x50]
call fcn.0040afc8
fstp xword [ebp - 0x5c]
wait
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 3
lea edx, [ebp - 0x4c]
xor ecx, ecx
mov eax, 0x50db60
call fcn.0040a424
mov eax, dword [ebp - 0x44]
push eax
mov esi, dword [ebx + 0x318]
mov eax, esi
call fcn.004ac6c4
call fcn.004a8da8
mov edx, eax
mov eax, dword [esi + 0x22c]
call fcn.004a8f6c
mov eax, dword [eax + 8]
mov edx, 1
pop ecx
mov esi, dword [eax]
call dword [esi + 0x20]
lea eax, [ebp - 0x60]
push eax
lea edx, [ebp - 0x64]
mov eax, dword [ebx + 0x35c]
call fcn.00446fac
mov eax, dword [ebp - 0x64]
call fcn.0040afc8
fstp xword [ebp - 0x5c]
wait
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 3
lea edx, [ebp - 0x4c]
xor ecx, ecx
mov eax, 0x50db60
call fcn.0040a424
mov eax, dword [ebp - 0x60]
push eax
mov esi, dword [ebx + 0x318]
mov eax, esi
call fcn.004ac6c4
call fcn.004a8da8
mov edx, eax
mov eax, dword [esi + 0x22c]
call fcn.004a8f6c
mov eax, dword [eax + 8]
mov edx, 3
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x20]
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50da1e
lea eax, [ebp - 0x64]
call fcn.00404a30
lea eax, [ebp - 0x60]
call fcn.00404a30
lea eax, [ebp - 0x50]
call fcn.00404a30
lea eax, [ebp - 0x44]
call fcn.00404a30
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.00404a54
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00404a54
lea eax, [ebp - 0x2c]
call fcn.00404a30
lea eax, [ebp - 0x28]
call fcn.00404a30
lea eax, [ebp - 0x24]
call fcn.00404a30
lea eax, [ebp - 0x20]
call fcn.00404a30
lea eax, [ebp - 0x1c]
call fcn.00404a30
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00404a54
ret