Function at 0x561f78
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1e
push 0
push 0
dec ecx
jne 0x561f80
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x562847
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x412d38]
call fcn.004039b8
mov dword [ebp - 0xc], eax
mov dl, 1
mov eax, dword [0x467230]
call fcn.004673f4
mov dword [ebp - 8], eax
mov edx, 0x80000002
mov eax, dword [ebp - 8]
call fcn.00467524
mov cl, 1
mov edx, 0x562860
mov eax, dword [ebp - 8]
call fcn.004676d8
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00467c24
mov eax, dword [0x5986ac]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x56237f
inc eax
mov dword [ebp - 0x10], eax
xor ebx, ebx
push 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
mov edx, ebx
mov eax, dword [0x5986ac]
mov esi, dword [eax]
call dword [esi + 0xc]
mov ecx, dword [ebp - 0x24]
mov edx, 0x562898
mov eax, dword [0x5986a8]
call fcn.004f5c50
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00409ec0
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.0040a1dc
mov eax, dword [ebp - 0x18]
mov edx, 0x5628a4
call fcn.00404c74
jne 0x562375
mov eax, dword [0x598694]
mov eax, dword [eax + 0x2dc]
mov eax, dword [eax + 0x208]
mov edx, 0x5628b0
call fcn.00415d18
mov eax, dword [0x57f2d4]
cmp byte [eax], 0
jne 0x5620b6
mov eax, dword [0x57f2ac]
cmp byte [eax], 0
jne 0x562096
mov eax, dword [0x598694]
mov eax, dword [eax + 0x2dc]
mov eax, dword [eax + 0x208]
mov edx, 0x5628e0
call fcn.00415d18
jmp 0x562821
mov eax, dword [0x598694]
mov eax, dword [eax + 0x2dc]
mov eax, dword [eax + 0x208]
mov edx, 0x562930
call fcn.00415d18
jmp 0x562821
mov eax, dword [0x5986a4]
mov eax, dword [eax + 0x24]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x562107
inc eax
mov dword [ebp - 0x14], eax
xor esi, esi
lea ecx, [ebp - 0x2c]
mov eax, dword [0x5986a4]
mov eax, dword [eax + 0x24]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.00409ec0
mov eax, dword [ebp - 0x28]
mov edx, 0x56295c
call fcn.00404c74
jne 0x562101
mov eax, esi
call fcn.00561e50
inc esi
dec dword [ebp - 0x14]
jne 0x5620ce
lea ecx, [ebp - 0x34]
mov edx, ebx
mov eax, dword [0x5986ac]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.0040acdc
cmp dword [ebp - 0x30], 0
jne 0x5622d8
lea ecx, [ebp - 0x38]
mov edx, ebx
mov eax, dword [0x5986ac]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x38]
mov eax, 0x562970
call fcn.00404e50
cmp eax, 2
jle 0x562182
push 0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x40]
mov edx, ebx
mov eax, dword [0x5986ac]
mov esi, dword [eax]
call dword [esi + 0xc]
mov ecx, dword [ebp - 0x40]
mov edx, 0x562970
mov eax, dword [0x5986a8]
call fcn.004f5c50
mov ecx, dword [ebp - 0x3c]
mov edx, ebx
mov eax, dword [0x5986ac]
mov esi, dword [eax]
call dword [esi + 0x20]
lea ecx, [ebp - 4]
mov edx, ebx
mov eax, dword [0x5986ac]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0x48]
xor eax, eax
call fcn.005605fc
push dword [ebp - 0x48]
push 0x56297c
lea ecx, [ebp - 0x4c]
mov edx, ebx
mov eax, dword [0x5986ac]
mov esi, dword [eax]
call dword [esi + 0xc]
push dword [ebp - 0x4c]
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.00404c24
mov ecx, dword [ebp - 0x44]
mov edx, ebx
mov eax, dword [0x5986ac]
mov esi, dword [eax]
call dword [esi + 0x20]
lea ecx, [ebp - 0x50]
mov edx, ebx
mov eax, dword [0x5986ac]
mov esi, dword [eax]
call dword [esi + 0xc]
lea eax, [ebp - 0x50]
mov edx, 0x562988
call fcn.00404b6c
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x54]
mov edx, ebx
mov eax, dword [0x5986ac]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x54]
pop edx
call fcn.0040ab50
test al, al
jne 0x562279
lea edx, [ebp - 0x5c]
mov eax, 1
call fcn.005605fc
push dword [ebp - 0x5c]
push 0x56297c
push dword [ebp - 4]
lea eax, [ebp - 0x58]
mov edx, 3
call fcn.00404c24
mov ecx, dword [ebp - 0x58]
mov edx, ebx
mov eax, dword [0x5986ac]
mov esi, dword [eax]
call dword [esi + 0x20]
lea ecx, [ebp - 0x60]
mov edx, ebx
mov eax, dword [0x5986ac]
mov esi, dword [eax]
call dword [esi + 0xc]
lea eax, [ebp - 0x60]
mov edx, 0x562988
call fcn.00404b6c
mov eax, dword [ebp - 0x60]
push eax
lea ecx, [ebp - 0x64]
mov edx, ebx
mov eax, dword [0x5986ac]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x64]
pop edx
call fcn.0040ab50
push 0x56299c
lea ecx, [ebp - 0x6c]
mov edx, ebx
mov eax, dword [0x5986ac]
mov esi, dword [eax]
call dword [esi + 0xc]
push dword [ebp - 0x6c]
push 0x562988
lea eax, [ebp - 0x68]
mov edx, 3
call fcn.00404c24
mov edx, dword [ebp - 0x68]
mov eax, dword [0x598694]
mov eax, dword [eax + 0x2dc]
mov eax, dword [eax + 0x208]
call fcn.00415d18
lea ecx, [ebp - 0x70]
mov edx, ebx
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 8]
call fcn.00467a8c
jmp 0x562375
lea ecx, [ebp - 0x74]
mov edx, ebx
mov eax, dword [0x5986ac]
mov esi, dword [eax]
call dword [esi + 0xc]
lea eax, [ebp - 0x74]
mov edx, 0x562988
call fcn.00404b6c
mov eax, dword [ebp - 0x74]
push eax
lea ecx, [ebp - 0x78]
mov edx, ebx
mov eax, dword [0x5986ac]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x78]
pop edx
call fcn.0040ab50
lea ecx, [ebp - 0x7c]
mov edx, ebx
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 8]
call fcn.00467a8c
push 0x56299c
lea ecx, [ebp - 0x84]
mov edx, ebx
mov eax, dword [0x5986ac]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push dword [ebp - 0x84]
push 0x562988
lea eax, [ebp - 0x80]
mov edx, 3
call fcn.00404c24
mov edx, dword [ebp - 0x80]
mov eax, dword [0x598694]
mov eax, dword [eax + 0x2dc]
mov eax, dword [eax + 0x208]
call fcn.00415d18
jmp 0x562821
inc ebx
dec dword [ebp - 0x10]
jne 0x561ff7
mov dl, 1
mov eax, dword [0x412d38]
call fcn.004039b8
mov dword [ebp - 0xc], eax
mov dl, 1
mov eax, dword [0x467230]
call fcn.004673f4
mov dword [ebp - 8], eax
mov edx, 0x80000002
mov eax, dword [ebp - 8]
call fcn.00467524
mov cl, 1
mov edx, 0x5629b8
mov eax, dword [ebp - 8]
call fcn.004676d8
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00467c24
mov eax, dword [0x5986b0]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x562811
inc eax
mov dword [ebp - 0x10], eax
xor ebx, ebx
push 0
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x94]
mov edx, ebx
mov eax, dword [0x5986b0]
mov esi, dword [eax]
call dword [esi + 0xc]
mov ecx, dword [ebp - 0x94]
mov edx, 0x562898
mov eax, dword [0x5986a8]
call fcn.004f5c50
mov eax, dword [ebp - 0x90]
lea edx, [ebp - 0x8c]
call fcn.00409ec0
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x88]
call fcn.0040a1dc
mov eax, dword [ebp - 0x88]
mov edx, 0x5628a4
call fcn.00404c74
jne 0x562807
mov eax, dword [0x598694]
mov eax, dword [eax + 0x2dc]
mov eax, dword [eax + 0x208]
mov edx, 0x5628b0
call fcn.00415d18
mov eax, dword [0x57f2d4]
cmp byte [eax], 0
jne 0x5624b4
mov eax, dword [0x57f2ac]
cmp byte [eax], 0
jne 0x562494
mov eax, dword [0x598694]
mov eax, dword [eax + 0x2dc]
mov eax, dword [eax + 0x208]
mov edx, 0x5628e0
call fcn.00415d18
jmp 0x562821
mov eax, dword [0x598694]
mov eax, dword [eax + 0x2dc]
mov eax, dword [eax + 0x208]
mov edx, 0x562930
call fcn.00415d18
jmp 0x562821
mov eax, dword [0x5986a4]
mov eax, dword [eax + 0x24]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x562511
inc eax
mov dword [ebp - 0x14], eax
xor esi, esi
lea ecx, [ebp - 0x9c]
mov eax, dword [0x5986a4]
mov eax, dword [eax + 0x24]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0x98]
call fcn.00409ec0
mov eax, dword [ebp - 0x98]
mov edx, 0x56295c
call fcn.00404c74
jne 0x56250b
mov eax, esi
call fcn.00561e50
inc esi
dec dword [ebp - 0x14]
jne 0x5624cc
lea ecx, [ebp - 0xa4]
mov edx, ebx
mov eax, dword [0x5986b0]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0xa0]
call fcn.0040acdc
cmp dword [ebp - 0xa0], 0
jne 0x562752
lea ecx, [ebp - 0xa8]
mov edx, ebx
mov eax, dword [0x5986b0]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0xa8]
mov eax, 0x562970
call fcn.00404e50
cmp eax, 2
jle 0x5625aa
push 0
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0xb0]
mov edx, ebx
mov eax, dword [0x5986b0]
mov esi, dword [eax]
call dword [esi + 0xc]
mov ecx, dword [ebp - 0xb0]
mov edx, 0x562970
mov eax, dword [0x5986a8]
call fcn.004f5c50
mov ecx, dword [ebp - 0xac]
mov edx, ebx
mov eax, dword [0x5986b0]
mov esi, dword [eax]
call dword [esi + 0x20]
lea ecx, [ebp - 4]
mov edx, ebx
mov eax, dword [0x5986b0]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 0xb8]
xor eax, eax
call fcn.005605fc
push dword [ebp - 0xb8]
push 0x56297c
lea ecx, [ebp - 0xbc]
mov edx, ebx
mov eax, dword [0x5986b0]
mov esi, dword [eax]
call dword [esi + 0xc]
push dword [ebp - 0xbc]
lea eax, [ebp - 0xb4]
mov edx, 3
call fcn.00404c24
mov ecx, dword [ebp - 0xb4]
mov edx, ebx
mov eax, dword [0x5986b0]
mov esi, dword [eax]
call dword [esi + 0x20]
lea ecx, [ebp - 0xc0]
mov edx, ebx
mov eax, dword [0x5986b0]
mov esi, dword [eax]
call dword [esi + 0xc]
lea eax, [ebp - 0xc0]
mov edx, 0x562988
call fcn.00404b6c
mov eax, dword [ebp - 0xc0]
push eax
lea ecx, [ebp - 0xc4]
mov edx, ebx
mov eax, dword [0x5986b0]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0xc4]
pop edx
call fcn.0040ab50
test al, al
jne 0x5626e1
lea edx, [ebp - 0xcc]
mov eax, 1
call fcn.005605fc
push dword [ebp - 0xcc]
push 0x56297c
push dword [ebp - 4]
lea eax, [ebp - 0xc8]
mov edx, 3
call fcn.00404c24
mov ecx, dword [ebp - 0xc8]
mov edx, ebx
mov eax, dword [0x5986b0]
mov esi, dword [eax]
call dword [esi + 0x20]
lea ecx, [ebp - 0xd0]
mov edx, ebx
mov eax, dword [0x5986b0]
mov esi, dword [eax]
call dword [esi + 0xc]
lea eax, [ebp - 0xd0]
mov edx, 0x562988
call fcn.00404b6c
mov eax, dword [ebp - 0xd0]
push eax
lea ecx, [ebp - 0xd4]
mov edx, ebx
mov eax, dword [0x5986b0]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0xd4]
pop edx
call fcn.0040ab50
push 0x56299c
lea ecx, [ebp - 0xdc]
mov edx, ebx
mov eax, dword [0x5986b0]
mov esi, dword [eax]
call dword [esi + 0xc]
push dword [ebp - 0xdc]
push 0x562988
lea eax, [ebp - 0xd8]
mov edx, 3
call fcn.00404c24
mov edx, dword [ebp - 0xd8]
mov eax, dword [0x598694]
mov eax, dword [eax + 0x2dc]
mov eax, dword [eax + 0x208]
call fcn.00415d18
lea ecx, [ebp - 0xe0]
mov edx, ebx
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0xe0]
mov eax, dword [ebp - 8]
call fcn.00467a8c
jmp 0x562807
lea ecx, [ebp - 0xe4]
mov edx, ebx
mov eax, dword [0x5986b0]
mov esi, dword [eax]
call dword [esi + 0xc]
lea eax, [ebp - 0xe4]
mov edx, 0x562988
call fcn.00404b6c
mov eax, dword [ebp - 0xe4]
push eax
lea ecx, [ebp - 0xe8]
mov edx, ebx
mov eax, dword [0x5986b0]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0xe8]
pop edx
call fcn.0040ab50
lea ecx, [ebp - 0xec]
mov edx, ebx
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0xec]
mov eax, dword [ebp - 8]
call fcn.00467a8c
push 0x56299c
lea ecx, [ebp - 0xf4]
mov edx, ebx
mov eax, dword [0x5986b0]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push dword [ebp - 0xf4]
push 0x562988
lea eax, [ebp - 0xf0]
mov edx, 3
call fcn.00404c24
mov edx, dword [ebp - 0xf0]
mov eax, dword [0x598694]
mov eax, dword [eax + 0x2dc]
mov eax, dword [eax + 0x208]
call fcn.00415d18
jmp 0x562821
inc ebx
dec dword [ebp - 0x10]
jne 0x5623dd
mov eax, dword [ebp - 8]
call fcn.00403a14
mov eax, dword [ebp - 0xc]
call fcn.00403a14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56284e
lea eax, [ebp - 0xf4]
mov edx, 0x38
call fcn.004048e0
lea eax, [ebp - 4]
call fcn.004048bc
ret