Function at 0x562138
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x562140
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x5626dd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x5626f4
lea edx, [ebp - 0x10]
mov eax, dword [ebx + 0x370]
call fcn.00488108
push dword [ebp - 0x10]
push 0x562800
lea edx, [ebp - 0x14]
mov eax, dword [ebx + 0x370]
call fcn.00488108
push dword [ebp - 0x14]
push 0x562878
push 0x5628ac
lea eax, [ebp - 4]
mov edx, 6
call fcn.00404eb0
mov eax, dword [ebx + 0x3c4]
mov edx, dword [eax]
call dword [edx + 0xc4]
test al, al
je 0x5621bf
lea eax, [ebp - 4]
mov edx, 0x5628d0
call fcn.00404df8
jmp 0x5621cc
lea eax, [ebp - 4]
mov edx, 0x562910
call fcn.00404df8
mov eax, dword [0x669de8]
mov eax, dword [eax]
mov esi, dword [eax + 0x64]
mov eax, esi
call fcn.00483d8c
mov eax, esi
call fcn.004d882c
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, esi
call fcn.00483d80
mov edx, 2
mov eax, dword [ebx + 0x380]
call fcn.004bf88c
mov eax, dword [ebx + 0x380]
mov edi, dword [eax + 0x21c]
dec edi
test edi, edi
jle 0x562236
mov dword [ebp - 0xc], 1
push 0
mov ecx, 1
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x380]
call fcn.004c1a98
inc dword [ebp - 0xc]
dec edi
jne 0x56221b
lea eax, [ebp - 8]
mov edx, 0x562950
call fcn.00404bd0
jmp 0x56265f
mov edx, 0x56295c
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x60]
lea eax, [ebp - 0x18]
push eax
mov edx, 0x56296c
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x1c]
pop eax
call fcn.00404df8
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
call fcn.00404f34
je 0x562405
mov edx, 0x56295c
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x60]
cmp dword [ebp - 0x20], 0
je 0x5622e9
mov edx, 0x56295c
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x56297c
call fcn.00404e3c
mov eax, dword [ebp - 0x24]
push eax
mov edi, dword [ebx + 0x380]
mov ecx, dword [edi + 0x24c]
dec ecx
mov edx, 1
mov eax, edi
call fcn.004c1a98
lea eax, [ebp - 0x2c]
push eax
mov edi, dword [ebx + 0x380]
mov ecx, dword [edi + 0x24c]
dec ecx
mov edx, 1
mov eax, edi
call fcn.004c1a18
cmp dword [ebp - 0x2c], 0
je 0x562353
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebx + 0x380]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, 1
mov edi, dword [ebx + 0x380]
mov eax, edi
call fcn.004c1a18
lea eax, [ebp - 0x30]
mov edx, 0x56298c
call fcn.00404df8
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [edi + 0x24c]
dec ecx
mov edx, 1
mov eax, edi
call fcn.004c1a98
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebx + 0x380]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, 1
mov edi, dword [ebx + 0x380]
mov eax, edi
call fcn.004c1a18
push dword [ebp - 0x38]
push 0x562998
mov edx, 0x56296c
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
push dword [ebp - 0x3c]
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00404eb0
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [edi + 0x24c]
dec ecx
mov edx, 1
mov eax, edi
call fcn.004c1a98
push 0x5629a8
mov eax, dword [ebx + 0x380]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, 9
call fcn.004c1a98
mov edi, dword [ebx + 0x380]
mov edx, dword [edi + 0x24c]
dec edx
mov eax, edi
call fcn.004c4224
mov edx, 0xff0000
call fcn.004255c8
mov eax, dword [ebx + 0x380]
mov edx, dword [eax + 0x24c]
inc edx
call fcn.004bf88c
mov eax, dword [ebx + 0x380]
mov edi, dword [eax + 0x21c]
dec edi
test edi, edi
jle 0x56243a
mov dword [ebp - 0xc], 1
push 0
mov eax, dword [ebx + 0x380]
mov ecx, dword [eax + 0x24c]
dec ecx
mov edx, dword [ebp - 0xc]
call fcn.004c1a98
inc dword [ebp - 0xc]
dec edi
jne 0x56241d
mov edx, 0x5629b4
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
mov edx, 0x5629c8
call fcn.00404e3c
mov eax, dword [ebp - 0x40]
push eax
mov edi, dword [ebx + 0x380]
mov ecx, dword [edi + 0x24c]
dec ecx
mov edx, 1
mov eax, edi
call fcn.004c1a98
mov edi, dword [ebx + 0x380]
mov edx, dword [edi + 0x24c]
dec edx
mov eax, edi
call fcn.004c4224
xor edx, edx
call fcn.004255c8
mov edx, 0x5629d8
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x48]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x48]
push eax
mov edi, dword [ebx + 0x380]
mov ecx, dword [edi + 0x24c]
dec ecx
mov edx, 2
mov eax, edi
call fcn.004c1a98
mov edx, 0x5629e8
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x4c]
push eax
mov edi, dword [ebx + 0x380]
mov ecx, dword [edi + 0x24c]
dec ecx
mov edx, 3
mov eax, edi
call fcn.004c1a98
mov edx, 0x5629f4
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x50]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x50]
push eax
mov edi, dword [ebx + 0x380]
mov ecx, dword [edi + 0x24c]
dec ecx
mov edx, 4
mov eax, edi
call fcn.004c1a98
mov edx, 0x562a00
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x54]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x54]
push eax
mov edi, dword [ebx + 0x380]
mov ecx, dword [edi + 0x24c]
dec ecx
mov edx, 5
mov eax, edi
call fcn.004c1a98
mov edx, 0x562a10
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x58]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x58]
push eax
mov edi, dword [ebx + 0x380]
mov ecx, dword [edi + 0x24c]
dec ecx
mov edx, 6
mov eax, edi
call fcn.004c1a98
mov edx, 0x562a20
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x5c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x5c]
push eax
mov edi, dword [ebx + 0x380]
mov ecx, dword [edi + 0x24c]
dec ecx
mov edx, 9
mov eax, edi
call fcn.004c1a98
mov edx, 0x56295c
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x60]
mov ecx, dword [eax]
call dword [ecx + 0x60]
lea eax, [ebp - 0x60]
push eax
mov edx, 0x56296c
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x64]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x64]
pop eax
call fcn.00404df8
mov eax, dword [ebp - 0x60]
push eax
mov edi, dword [ebx + 0x380]
mov ecx, dword [edi + 0x24c]
dec ecx
mov edx, 0xa
mov eax, edi
call fcn.004c1a98
mov edx, 0x56296c
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x68]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x68]
push eax
mov edx, 0x56295c
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0x6c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 8]
pop ecx
call fcn.00404e3c
mov eax, dword [ebx + 0x380]
mov edx, dword [eax + 0x24c]
inc edx
call fcn.004bf88c
mov eax, esi
call fcn.0048643c
cmp byte [esi + 0xa1], 0
je 0x562248
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14c]
test eax, eax
jle 0x56268c
mov eax, dword [ebx + 0x380]
mov edx, dword [eax + 0x24c]
dec edx
call fcn.004bf88c
mov edx, 1
mov esi, dword [ebx + 0x380]
mov eax, esi
call fcn.004c4224
mov edx, dword [eax + 0x18]
mov eax, esi
call fcn.004c4358
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5626e4
lea eax, [ebp - 0x6c]
mov edx, 0x16
call fcn.00404b5c
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404b5c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404b5c
ret