Function at 0x5683a7
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
mov ebx, eax
push edi
xor esi, esi
mov edi, ebx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x24], esi
call fcn.0056287c
mov ecx, eax
mov dword [ebp - 8], ecx
cmp ecx, esi
jne 0x5683d1
xor eax, eax
jmp 0x56875e
mov eax, ebx
call fcn.005569fe
mov edi, dword [ebp + 8]
test byte [edi + 2], 0x20
jne 0x56840c
cmp dword [ebx + 0x1ac], esi
jne 0x56840c
inc dword [ebx + 0x48]
mov esi, dword [ebx + 0x48]
push esi
push 0x1a
pop eax
call fcn.0055c33b
mov ecx, dword [ebp - 8]
push esi
push 1
push 7
pop eax
call fcn.0055c34c
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp byte [ebx + 0x1e8], 2
jne 0x568465
cmp byte [edi], 0x48
mov ecx, str.LIST
je 0x568424
mov ecx, str.SCALAR
cmp dword [ebp - 0x10], 0
mov eax, 0x5ddd69
jne 0x568434
mov eax, str.CORRELATED
push dword [ebx + 0x230]
mov esi, dword [ebx]
push ecx
push eax
push str.EXECUTE__s_s_SUBQUERY__d
call fcn.00559ec3
push 0xffffffffffffffff
push eax
push 0
push 0
push dword [ebx + 0x22c]
mov eax, 0x8a
push dword [ebp - 8]
call fcn.00560b2c
add esp, 0x28
cmp byte [edi], 0x48
je 0x5684f2
mov esi, dword [edi + 0x10]
inc dword [ebx + 0x48]
push dword [ebx + 0x48]
xor edx, edx
push edx
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x24], esi
call fcn.0055787e
cmp byte [edi], 0x74
pop ecx
pop ecx
push dword [ebp - 0x38]
mov ecx, dword [ebp - 8]
push edx
jne 0x56849b
mov byte [ebp - 0x3c], 6
push 0xa
jmp 0x5684a1
mov byte [ebp - 0x3c], 3
push 7
pop eax
call fcn.0055c34c
pop ecx
pop ecx
push dword [esi + 0x28]
push dword [ebx]
call fcn.0055d3b7
push 0
push 0x81
mov eax, 0x5c69c8
xor edi, edi
mov esi, ebx
call fcn.00560fc6
mov ecx, dword [ebp - 0x24]
and dword [ecx + 0x30], edi
mov dword [ecx + 0x28], eax
lea eax, [ebp - 0x3c]
push eax
push ecx
push ebx
call fcn.005851de
add esp, 0x1c
test eax, eax
jne 0x5683ca
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
jmp 0x568741
cmp dword [ebp + 0xc], 0
mov esi, dword [edi + 8]
je 0x56850d
push dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
push 0
push 0xa
pop eax
call fcn.0055c34c
pop ecx
pop ecx
mov eax, esi
call fcn.0055d0d1
mov ecx, dword [ebp - 8]
mov byte [ebp - 1], al
mov eax, dword [ebx + 0x44]
mov dword [edi + 0x18], eax
inc dword [ebx + 0x44]
xor eax, eax
xor esi, esi
cmp dword [ebp + 0x10], esi
sete al
push eax
push dword [edi + 0x18]
push 0x29
pop eax
call fcn.0055c34c
pop ecx
pop ecx
push 0x10
mov dword [ebp - 0x2c], eax
pop edx
cmp dword [ebp + 0xc], esi
jne 0x56854e
mov ecx, dword [ebp - 8]
call fcn.00555aea
push edx
lea eax, [ebp - 0x3c]
push esi
push eax
call fcn.00596530
mov cx, word [edi + 2]
xor eax, eax
inc eax
mov word [ebp - 0x36], ax
mov eax, 0x800
mov edx, eax
and cx, dx
add esp, 0xc
cmp cx, ax
jne 0x5685d3
push dword [edi + 0x18]
lea eax, [ebp - 0x4c]
push 7
call fcn.0055787e
mov al, byte [ebp - 1]
mov byte [ebp - 0x4b], al
mov eax, dword [edi + 0x10]
mov dword [eax + 0x30], esi
lea eax, [ebp - 0x4c]
push eax
push dword [edi + 0x10]
push ebx
call fcn.005851de
add esp, 0x14
test eax, eax
jne 0x5683ca
mov eax, dword [edi + 0x10]
mov eax, dword [eax]
cmp eax, esi
je 0x568727
cmp dword [eax], esi
jle 0x568727
mov eax, dword [eax + 0xc]
mov esi, dword [eax]
mov eax, dword [edi + 8]
mov ecx, ebx
call fcn.0056831a
mov dword [ebp - 0x30], eax
jmp 0x568727
mov esi, dword [edi + 0x10]
test esi, esi
je 0x568727
cmp byte [ebp - 1], 0
jne 0x5685e8
mov byte [ebp - 1], 0x62
mov edi, dword [edi + 8]
call fcn.0056828e
mov dword [ebp - 0x30], eax
mov eax, ebx
call fcn.00556ac9
mov dword [ebp - 0x20], eax
mov eax, ebx
call fcn.00556ac9
mov edi, dword [ebp - 8]
push eax
push 0
mov dword [ebp - 0xc], eax
push 0xa
pop eax
mov ecx, edi
call fcn.0055c34c
mov eax, dword [esi]
pop ecx
pop ecx
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
test eax, eax
jle 0x568715
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
test esi, esi
je 0x568657
push eax
call fcn.0055d665
pop ecx
test eax, eax
jne 0x568657
push 2
lea ecx, [esi - 1]
mov eax, edi
call fcn.0055c554
and dword [ebp - 0x10], 0
pop ecx
cmp dword [ebp + 0x10], 0
je 0x56868a
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.005567c3
pop ecx
pop ecx
test eax, eax
je 0x56868a
push dword [ebp - 0x28]
mov eax, dword [ebp + 8]
push dword [ebp - 0xc]
mov ecx, edi
push dword [eax + 0x18]
push 0x38
pop eax
call fcn.0055c2b7
add esp, 0xc
jmp 0x568704
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push ebx
call fcn.0057ae0a
add esp, 0xc
cmp dword [ebp + 0x10], 0
mov esi, eax
je 0x5686cf
mov eax, edi
call fcn.00555a93
inc eax
inc eax
push eax
push esi
push 0x15
pop eax
mov ecx, edi
call fcn.0055c34c
mov eax, dword [ebp + 8]
push esi
push dword [ebp - 0xc]
mov ecx, edi
push dword [eax + 0x18]
push 0x37
pop eax
call fcn.0055c2b7
add esp, 0x14
jmp 0x568704
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0xc]
push 1
push esi
push edi
push 0x1e
pop eax
call fcn.00560b2c
xor ecx, ecx
inc ecx
mov eax, ebx
call fcn.00556a62
push dword [ebp - 0xc]
mov eax, dword [ebp + 8]
push dword [eax + 0x18]
mov ecx, edi
push 0x46
pop eax
call fcn.0055c34c
add esp, 0x20
dec dword [ebp - 0x18]
add dword [ebp - 0x14], 0x14
cmp dword [ebp - 0x18], 0
jg 0x56862c
mov edx, dword [ebp - 0x20]
mov eax, ebx
call fcn.00556ae4
mov edx, dword [ebp - 0xc]
call fcn.00556ae4
cmp dword [ebp + 0x10], 0
jne 0x568741
push 0xfffffffffffffffa
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 8]
mov eax, dword [ebp - 0x2c]
call fcn.0055c595
add esp, 0xc
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x568751
mov ecx, dword [ebp - 8]
dec eax
call fcn.00555afc
xor ecx, ecx
inc ecx
mov eax, ebx
call fcn.00556a02
mov eax, dword [ebp - 0x24]
pop edi
pop esi
pop ebx
leave
ret