Function at 0x5566ac
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x5566b4
push ebx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x556d11
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x565294]
cmp byte [eax], 0
jne 0x55673d
xor ecx, ecx
mov dl, 1
mov eax, dword [0x539eb8]
call fcn.00473360
mov edx, dword [0x5652b0]
mov dword [edx], eax
mov eax, dword [0x5652b0]
mov eax, dword [eax]
mov dword [eax + 0x334], 2
mov eax, dword [0x5652b0]
mov eax, dword [eax]
mov edx, dword [0x567c84]
mov dword [eax + 0x330], edx
mov eax, dword [0x5652b0]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0xec]
mov eax, dword [0x5652b0]
mov eax, dword [eax]
call fcn.0040353c
mov eax, dword [0x565294]
cmp byte [eax], 0
je 0x556ce6
cmp byte [ebp - 5], 0
je 0x5567de
push 0x556d28
lea eax, [ebp - 0x28]
push eax
mov eax, dword [0x5652f4]
mov eax, dword [eax]
mov ecx, 0x556d50
mov edx, 0x556d64
mov ebx, dword [eax]
call dword [ebx]
push dword [ebp - 0x28]
push 0x556d74
push dword [0x567b3c]
push 0x556d80
push 0x556d8c
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [0x5652f4]
mov eax, dword [eax]
mov ecx, 0x556dac
mov edx, 0x556d64
mov ebx, dword [eax]
call dword [ebx]
push dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.0040471c
mov edx, dword [ebp - 0x24]
mov eax, dword [0x564bdc]
mov eax, dword [eax]
mov eax, dword [eax + 0x300]
call fcn.0045a8bc
mov eax, dword [0x564bdc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0xec]
mov eax, dword [0x564bdc]
mov eax, dword [eax]
cmp byte [eax + 0x31c], 2
je 0x556ce6
push 0
mov ecx, 0x556dc0
mov edx, dword [0x567b3c]
mov eax, dword [0x567c68]
mov ebx, dword [eax]
call dword [ebx + 8]
mov dword [ebp - 0x18], eax
push 0x556dd8
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x556dec
mov edx, dword [0x567b3c]
mov eax, dword [0x567c68]
mov ebx, dword [eax]
call dword [ebx]
mov al, byte [0x567e0a]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, 0x556e00
mov eax, 0x80000001
call fcn.005271ac
test al, al
je 0x556843
mov edx, 0x556e00
mov ecx, dword [ebp - 0x1c]
mov eax, 0x80000001
call fcn.00527444
mov al, byte [0x567e0a]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, 0x556e38
mov eax, 0x80000001
call fcn.005271ac
test al, al
je 0x556877
mov al, byte [0x567e0a]
push eax
mov edx, 0x556e38
mov ecx, dword [ebp - 0x1c]
mov eax, 0x80000001
call fcn.00527508
mov al, byte [0x567e0a]
push eax
mov edx, 0x556e00
mov ecx, dword [ebp - 0x1c]
mov eax, 0x80000002
call fcn.005271ac
test al, al
je 0x5568ab
mov al, byte [0x567e0a]
push eax
mov edx, 0x556e00
mov ecx, dword [ebp - 0x1c]
mov eax, 0x80000002
call fcn.00527508
mov al, byte [0x567e0a]
push eax
mov edx, 0x556e38
mov ecx, dword [ebp - 0x1c]
mov eax, 0x80000002
call fcn.005271ac
test al, al
je 0x5568df
mov al, byte [0x567e0a]
push eax
mov edx, 0x556e38
mov ecx, dword [ebp - 0x1c]
mov eax, 0x80000002
call fcn.00527508
mov al, byte [0x567e0a]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, 0x556e74
mov eax, 0x80000001
call fcn.005271ac
test al, al
je 0x556913
mov al, byte [0x567e0a]
push eax
mov edx, 0x556e74
mov ecx, dword [ebp - 0x1c]
mov eax, 0x80000001
call fcn.00527508
mov al, byte [0x567e0a]
push eax
mov edx, 0x556e74
mov ecx, dword [ebp - 0x1c]
mov eax, 0x80000002
call fcn.005271ac
test al, al
je 0x556947
mov al, byte [0x567e0a]
push eax
mov edx, 0x556e74
mov ecx, dword [ebp - 0x1c]
mov eax, 0x80000002
call fcn.00527508
mov eax, dword [0x565220]
push dword [eax]
push 0x556eb8
push dword [ebp - 0x1c]
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.0040471c
mov eax, dword [ebp - 0x30]
call fcn.00409db4
test al, al
je 0x556993
mov eax, dword [0x565220]
push dword [eax]
push 0x556eb8
push dword [ebp - 0x1c]
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.0040471c
mov eax, dword [ebp - 0x34]
call fcn.00409fec
mov eax, dword [0x564ad8]
push dword [eax]
push 0x556eb8
push dword [ebp - 0x1c]
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.0040471c
mov eax, dword [ebp - 0x38]
call fcn.00409db4
test al, al
je 0x5569df
mov eax, dword [0x564ad8]
push dword [eax]
push 0x556eb8
push dword [ebp - 0x1c]
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.0040471c
mov eax, dword [ebp - 0x3c]
call fcn.00409fec
mov dl, 1
mov eax, dword [0x41b600]
call fcn.0040350c
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
call fcn.0040438c
mov ecx, dword [ebp - 0x10]
mov edx, 0x556ec4
mov eax, 0x80000002
call fcn.00526760
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x556aa1
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x556aa1
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x4c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
mov edx, 0x556f00
call fcn.004046a8
mov edx, dword [ebp - 0x48]
mov ecx, 0x556f40
mov eax, 0x80000002
call fcn.00526a88
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.00408f24
mov eax, dword [ebp - 0x40]
push eax
lea edx, [ebp - 0x50]
mov eax, dword [0x567b3c]
call fcn.00408f24
mov edx, dword [ebp - 0x50]
pop eax
call fcn.004047a8
jne 0x556a99
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
inc dword [ebp - 0xc]
dec dword [ebp - 0x20]
jne 0x556a30
mov eax, dword [ebp - 0x10]
call fcn.0040353c
mov eax, dword [ebp - 0x14]
call fcn.0040465c
test eax, eax
jle 0x556ad2
lea eax, [ebp - 0x54]
mov ecx, dword [ebp - 0x14]
mov edx, 0x556f00
call fcn.004046a8
mov edx, dword [ebp - 0x54]
mov eax, 0x80000002
call fcn.00527394
cmp byte [ebp - 5], 0
jne 0x556cdc
mov eax, dword [0x567b3c]
push eax
lea eax, [ebp - 0x58]
mov ecx, dword [0x567b3c]
mov edx, 0x556f00
call fcn.004046a8
mov edx, dword [ebp - 0x58]
mov ecx, 0x556f40
mov eax, 0x80000002
call fcn.00526e0c
mov eax, dword [0x567b4c]
push eax
lea eax, [ebp - 0x5c]
mov ecx, dword [0x567b3c]
mov edx, 0x556f00
call fcn.004046a8
mov edx, dword [ebp - 0x5c]
mov ecx, 0x556f50
mov eax, 0x80000002
call fcn.00526e0c
push 0x556f60
lea eax, [ebp - 0x60]
mov ecx, dword [0x567b3c]
mov edx, 0x556f00
call fcn.004046a8
mov edx, dword [ebp - 0x60]
mov ecx, 0x556f6c
mov eax, 0x80000002
call fcn.00526e0c
cmp dword [ebp - 0x18], 1
je 0x556b6e
cmp dword [ebp - 0x18], 6
je 0x556b6e
cmp dword [ebp - 0x18], 8
jne 0x556bc2
push 0x556e00
lea eax, [ebp - 0x64]
mov ecx, dword [0x567b3c]
mov edx, 0x556f00
call fcn.004046a8
mov edx, dword [ebp - 0x64]
mov ecx, 0x556f80
mov eax, 0x80000002
call fcn.00526e0c
push 0x556f8c
lea eax, [ebp - 0x68]
mov ecx, dword [0x567b3c]
mov edx, 0x556f00
call fcn.004046a8
mov edx, dword [ebp - 0x68]
mov ecx, 0x556f9c
mov eax, 0x80000002
call fcn.00526e0c
cmp dword [ebp - 0x18], 2
jne 0x556c1c
push 0x556e38
lea eax, [ebp - 0x6c]
mov ecx, dword [0x567b3c]
mov edx, 0x556f00
call fcn.004046a8
mov edx, dword [ebp - 0x6c]
mov ecx, 0x556f80
mov eax, 0x80000002
call fcn.00526e0c
push 0x556f8c
lea eax, [ebp - 0x70]
mov ecx, dword [0x567b3c]
mov edx, 0x556f00
call fcn.004046a8
mov edx, dword [ebp - 0x70]
mov ecx, 0x556f9c
mov eax, 0x80000002
call fcn.00526e0c
cmp dword [ebp - 0x18], 3
je 0x556c2e
cmp dword [ebp - 0x18], 7
je 0x556c2e
cmp dword [ebp - 0x18], 9
jne 0x556c82
push 0x556e00
lea eax, [ebp - 0x74]
mov ecx, dword [0x567b3c]
mov edx, 0x556f00
call fcn.004046a8
mov edx, dword [ebp - 0x74]
mov ecx, 0x556f80
mov eax, 0x80000002
call fcn.00526e0c
push 0x556fac
lea eax, [ebp - 0x78]
mov ecx, dword [0x567b3c]
mov edx, 0x556f00
call fcn.004046a8
mov edx, dword [ebp - 0x78]
mov ecx, 0x556f9c
mov eax, 0x80000002
call fcn.00526e0c
cmp dword [ebp - 0x18], 4
jne 0x556cdc
push 0x556e38
lea eax, [ebp - 0x7c]
mov ecx, dword [0x567b3c]
mov edx, 0x556f00
call fcn.004046a8
mov edx, dword [ebp - 0x7c]
mov ecx, 0x556f80
mov eax, 0x80000002
call fcn.00526e0c
push 0x556fac
lea eax, [ebp - 0x80]
mov ecx, dword [0x567b3c]
mov edx, 0x556f00
call fcn.004046a8
mov edx, dword [ebp - 0x80]
mov ecx, 0x556f9c
mov eax, 0x80000002
call fcn.00526e0c
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00552214
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x556d18
lea eax, [ebp - 0x80]
mov edx, 0x18
call fcn.004043b0
lea eax, [ebp - 0x1c]
call fcn.0040438c
lea eax, [ebp - 0x14]
call fcn.0040438c
ret