Function at 0x5562c8
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x16
push 0
push 0
dec ecx
jne 0x5562d0
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x556b06
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x30c]
mov edx, 7
mov eax, ebx
call fcn.004f466c
mov ecx, 0x64
mov edx, 1
mov eax, ebx
call fcn.004f46c8
mov ecx, 0xa0
mov edx, 2
mov eax, ebx
call fcn.004f46c8
mov ecx, 0xb4
mov edx, 3
mov eax, ebx
call fcn.004f46c8
mov ecx, 0xa0
mov edx, 4
mov eax, ebx
call fcn.004f46c8
mov ecx, 0xb4
mov edx, 5
mov eax, ebx
call fcn.004f46c8
mov ecx, 0xa0
mov edx, 6
mov eax, ebx
call fcn.004f46c8
mov eax, dword [0x57b134]
push eax
xor ecx, ecx
mov edx, 1
mov eax, ebx
call fcn.004f6b78
mov eax, dword [0x57b124]
push eax
xor ecx, ecx
mov edx, 2
mov eax, ebx
call fcn.004f6b78
mov eax, dword [0x57b138]
push eax
xor ecx, ecx
mov edx, 3
mov eax, ebx
call fcn.004f6b78
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x32c]
call fcn.00469ce8
mov eax, dword [ebp - 0x28]
push eax
xor ecx, ecx
mov edx, 4
mov eax, ebx
call fcn.004f6b78
mov eax, dword [0x57b128]
push eax
xor ecx, ecx
mov edx, 5
mov eax, ebx
call fcn.004f6b78
push 0x556b1c
xor ecx, ecx
mov edx, 6
mov eax, ebx
call fcn.004f6b78
mov eax, dword [0x578964]
mov eax, dword [eax]
mov dx, 0xffef
call fcn.00487c2c
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4b04f4]
call fcn.004bcf8c
mov esi, eax
mov eax, esi
call fcn.004bd110
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [0x578948]
mov eax, dword [eax]
mov edx, dword [eax + 0x58]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x26c]
mov eax, 0x57b108
mov edx, 0x556b2c
call fcn.00404844
mov eax, esi
call fcn.004bd110
mov edx, dword [0x57b108]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, esi
call fcn.004a50c4
mov eax, esi
call fcn.004a75f4
xor edi, edi
jmp 0x556636
inc edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov dword [ebp - 0x24], eax
xor ebx, ebx
push 0
mov ecx, edi
mov edx, ebx
mov eax, dword [ebp - 0x24]
call fcn.004f6b78
inc ebx
cmp ebx, 7
jne 0x556472
mov edx, 0x556b70
mov eax, esi
call fcn.004a61cc
lea edx, [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, edi
mov edx, 6
mov eax, dword [ebp - 0x24]
call fcn.004f6b78
lea eax, [ebp - 0x14]
push eax
mov ecx, 8
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00404d10
mov eax, dword [ebp - 0x14]
push eax
mov ecx, edi
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.004f6b78
mov edx, 0x556b80
mov eax, esi
call fcn.004a61cc
mov edx, dword [eax]
call dword [edx + 0x50]
fstp qword [ebp - 0x20]
wait
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0048bca4
cmp ax, 0x7d9
jb 0x55651d
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
lea eax, [ebp - 0x2c]
call fcn.0040cdd8
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, edi
mov edx, 3
mov eax, dword [ebp - 0x24]
call fcn.004f6b78
mov edx, 0x556b94
mov eax, esi
call fcn.004a61cc
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jne 0x55654d
lea eax, [ebp - 0x10]
push eax
mov ecx, 6
mov edx, 3
mov eax, dword [ebp - 0xc]
call fcn.00404d10
cmp dword [ebp - 8], 0
je 0x556597
push 0x556ba8
mov ecx, edi
xor edx, edx
mov eax, dword [ebp - 0x24]
call fcn.004f6b78
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 8]
call fcn.00409a38
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, 0x556bb4
call fcn.00404afc
mov eax, dword [ebp - 0x30]
push eax
mov ecx, edi
mov edx, 4
mov eax, dword [ebp - 0x24]
call fcn.004f6b78
jmp 0x55662f
mov eax, dword [ebp - 0x14]
mov edx, 0x556bcc
call fcn.00404bfc
jne 0x5565bd
mov eax, dword [0x57b13c]
push eax
mov ecx, edi
mov edx, 4
mov eax, dword [ebp - 0x24]
call fcn.004f6b78
jmp 0x55662f
mov eax, dword [ebp - 0x14]
mov edx, 0x556be0
call fcn.00404bfc
je 0x55662f
mov edx, 0x556bec
lea eax, [ebp - 0x40]
call fcn.00402ff4
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x14]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x40]
mov cl, 2
call fcn.00402fc4
lea edx, [ebp - 0x40]
lea eax, [ebp - 0x3c]
call fcn.00404a54
mov eax, dword [ebp - 0x3c]
xor edx, edx
call fcn.00409c94
imul eax, eax, 0x33
mov edx, dword [0x57884c]
add edx, eax
lea eax, [ebp - 0x38]
call fcn.00404a54
mov eax, dword [ebp - 0x38]
push eax
mov ecx, edi
mov edx, 4
mov eax, dword [ebp - 0x24]
call fcn.004f6b78
mov eax, esi
call fcn.004a790c
cmp byte [esi + 0xa1], 0
je 0x556463
mov dl, 1
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 4]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x30c]
lea edx, [edi + 1]
mov eax, ebx
call fcn.004f49fc
test edi, edi
jle 0x55666f
mov edx, 1
mov eax, ebx
call fcn.004f4898
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x380]
mov dl, 1
call fcn.00469c08
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov edx, dword [eax + 0x24c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x380]
call fcn.00449f34
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4b04f4]
call fcn.004bcf8c
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov edi, dword [eax + 0x24c]
dec edi
test edi, edi
jle 0x55686f
mov ebx, 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x380]
mov edx, ebx
call fcn.00449f44
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov ecx, ebx
xor edx, edx
call fcn.004f6b08
mov eax, dword [ebp - 0x48]
mov edx, 0x556ba8
call fcn.00404bfc
je 0x556867
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov ecx, ebx
mov edx, 1
call fcn.004f6b08
mov eax, dword [ebp - 0x4c]
mov edx, 0x556bcc
call fcn.00404bfc
je 0x556867
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov ecx, ebx
mov edx, 1
call fcn.004f6b08
mov eax, dword [ebp - 0x50]
mov edx, 0x556be0
call fcn.00404bfc
je 0x556867
mov eax, esi
call fcn.004bd110
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [0x578948]
mov eax, dword [eax]
mov edx, dword [eax + 0x58]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x26c]
mov eax, 0x57b108
mov edx, 0x556bf8
call fcn.00404844
mov eax, esi
call fcn.004bd110
mov edx, dword [0x57b108]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov ecx, ebx
mov edx, 1
call fcn.004f6b08
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0x60]
call fcn.00416390
lea eax, [ebp - 0x60]
push eax
mov eax, esi
call fcn.004bb454
mov edx, 0x556c30
call fcn.004b35d8
pop edx
call fcn.004b485c
mov eax, esi
call fcn.004a50c4
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14c]
test eax, eax
jle 0x556867
mov eax, esi
call fcn.004a75f4
push 0x556ba8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov ecx, ebx
xor edx, edx
call fcn.004f6b78
mov edx, 0x556c3c
mov eax, esi
call fcn.004a61cc
lea edx, [ebp - 0x68]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov ecx, ebx
mov edx, 2
call fcn.004f6b78
mov edx, 0x556c4c
mov eax, esi
call fcn.004a61cc
lea edx, [ebp - 0x6c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov ecx, ebx
mov edx, 5
call fcn.004f6b78
inc ebx
dec edi
jne 0x5566c9
mov dl, 1
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x380]
xor edx, edx
call fcn.00469c08
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x30c]
lea eax, [ebp - 0x70]
push eax
mov eax, dword [ebx + 0x22c]
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x7c], 0
mov eax, dword [ebx + 0x24c]
dec eax
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x74], 0
lea edx, [ebp - 0x80]
mov ecx, 1
mov eax, 0x556c5c
call fcn.0040a928
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0x208]
xor edx, edx
call fcn.00448e18
pop edx
call fcn.00448d74
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0x208]
mov edx, 1
call fcn.00448e18
xor edx, edx
call fcn.00448d74
lea eax, [ebp - 0x88]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00404d10
mov ecx, dword [ebp - 0x88]
lea eax, [ebp - 0x84]
mov edx, 0x556c74
call fcn.00404afc
mov eax, dword [ebp - 0x84]
lea edx, [ebp - 8]
call fcn.004031b8
mov edx, dword [0x5782cc]
mov dword [edx + 8], eax
lea eax, [ebp - 0x90]
push eax
mov ecx, 2
mov edx, 3
mov eax, dword [ebp - 0x10]
call fcn.00404d10
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x8c]
mov edx, 0x556c74
call fcn.00404afc
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 8]
call fcn.004031b8
mov edx, dword [0x5782cc]
mov dword [edx + 4], eax
lea eax, [ebp - 0x98]
push eax
mov ecx, 1
mov edx, 6
mov eax, dword [ebp - 0x10]
call fcn.00404d10
mov ecx, dword [ebp - 0x98]
lea eax, [ebp - 0x94]
mov edx, 0x556c74
call fcn.00404afc
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 8]
call fcn.004031b8
mov ebx, eax
mov eax, dword [0x5782cc]
mov dword [eax], ebx
lea eax, [ebp - 0x9c]
push eax
mov eax, dword [0x5782cc]
mov dword [ebp - 0xb4], ebx
mov byte [ebp - 0xb0], 0
mov eax, dword [0x5782cc]
mov eax, dword [eax + 4]
mov dword [ebp - 0xac], eax
mov byte [ebp - 0xa8], 0
mov eax, dword [0x5782cc]
mov eax, dword [eax + 8]
mov dword [ebp - 0xa4], eax
mov byte [ebp - 0xa0], 0
lea edx, [ebp - 0xb4]
mov ecx, 2
mov eax, 0x556c80
call fcn.0040a928
mov edx, dword [ebp - 0x9c]
mov eax, dword [0x5782cc]
add eax, 0x64
call fcn.00404844
mov edx, dword [0x5782cc]
mov edx, dword [edx + 0x64]
mov eax, 4
call fcn.005696a8
mov ebx, eax
mov ecx, dword [0x57877c]
mov ecx, dword [ecx]
xor edx, edx
mov eax, ebx
call fcn.00432d68
test al, al
je 0x556a96
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x378]
mov dl, 1
call fcn.00469c08
imul eax, ebx, 0xd
mov edx, dword [0x578264]
mov edx, dword [edx]
mov edx, dword [edx + eax*8 + 0x60]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x378]
call fcn.00469d18
mov eax, dword [0x578964]
mov eax, dword [eax]
xor edx, edx
call fcn.00487c2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x556b0d
lea eax, [ebp - 0x9c]
mov edx, 7
call fcn.00404814
lea eax, [ebp - 0x70]
mov edx, 4
call fcn.00404814
lea eax, [ebp - 0x60]
call fcn.00411c44
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.00404814
lea eax, [ebp - 0x3c]
mov edx, 5
call fcn.00404814
lea eax, [ebp - 0x28]
call fcn.004047f0
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404814
ret