Function at 0x410be8
Capabilities:
Persist via run registry key

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x2a8
test eax, eax
push ebx
push ebp
push esi
push edi
jne 0x410c07
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2a8
ret
mov eax, dword [0x409530]
mov esi, dword [fcn.0040a2c4]
mov edi, dword [0x40a1ac]
mov ebx, dword [0x40a25c]
mov ebp, dword [0x40a2bc]
test eax, eax
je 0x410e9d
mov ecx, dword [0x409a94]
lea eax, [esp + 0xec]
push 0xc8
push eax
push 4
push ecx
call esi
mov eax, dword [0x409a94]
lea edx, [esp + 0x14]
push 0xa
push edx
push 5
push eax
call esi
lea ecx, [esp + 0x14]
lea edx, [esp + 0xec]
push ecx
push edx
call dword [fcn.0040a24c]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
lea edx, [esp + 0x104]
push 0
push edx
push 0x80000002
call dword [fcn.0040a1a8]
test eax, eax
je 0x410ca3
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2a8
ret
mov ecx, dword [0x409a94]
lea eax, [esp + 0xec]
push 0xc8
push eax
push 7
push ecx
call esi
mov eax, dword [0x409a94]
lea edx, [esp + 0x24]
push 0xc8
push edx
push 8
push eax
call esi
lea ecx, [esp + 0x24]
push ecx
call ebx
mov ecx, dword [esp + 0x10]
inc eax
lea edx, [esp + 0x24]
push eax
push edx
push 1
lea eax, [esp + 0xf8]
push 0
push eax
push ecx
call edi
test eax, eax
je 0x410d01
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2a8
ret
mov eax, dword [0x409a94]
lea edx, [esp + 0xec]
push 0xc8
push edx
push 0xa
push eax
call esi
mov edx, dword [0x409a94]
lea ecx, [esp + 0x24]
push 0xc8
push ecx
push 0xb
push edx
call esi
lea eax, [esp + 0x24]
push eax
call ebx
inc eax
lea ecx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x14]
push ecx
push 1
lea edx, [esp + 0xf8]
push 0
push edx
push eax
call edi
cmp dword [0x409a10], 2
jne 0x410ddd
mov edx, dword [0x409a94]
lea ecx, [esp + 0xec]
push 0x64
push ecx
push 0xc
push edx
call ebp
mov ecx, dword [0x409a94]
lea eax, [esp + 0x24]
push 0x64
push eax
push 0xd
push ecx
call ebp
lea edx, [esp + 0x24]
push edx
call dword [fcn.0040a23c]
lea eax, [eax + eax + 2]
lea ecx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x14]
push ecx
push 1
lea edx, [esp + 0xf8]
push 0
push edx
push eax
call dword [fcn.0040a1cc]
mov edx, dword [0x409a94]
lea ecx, [esp + 0x1b4]
push 0x82
push ecx
push 1
push edx
call ebp
lea eax, [esp + 0x1b4]
push 0x407080
push eax
call fcn.00411a48
add esp, 8
jmp 0x410e56
mov edx, dword [0x409a94]
lea ecx, [esp + 0xec]
push 0xc8
push ecx
push 0xc
push edx
call esi
mov ecx, dword [0x409a94]
lea eax, [esp + 0x24]
push 0xc8
push eax
push 0xd
push ecx
call esi
lea edx, [esp + 0x24]
push edx
call ebx
mov edx, dword [esp + 0x10]
inc eax
push eax
lea eax, [esp + 0x28]
push eax
push 1
lea ecx, [esp + 0xf8]
push 0
push ecx
push edx
call edi
mov ecx, dword [0x409a94]
lea eax, [esp + 0x1b4]
push 0x104
push eax
push 1
push ecx
call esi
lea edx, [esp + 0x1b4]
push 0x407078
push edx
call dword [fcn.0040a24c]
mov eax, dword [esp + 0x10]
push eax
call dword [fcn.0040a1bc]
cmp dword [0x409a10], 2
jne 0x410e7e
lea ecx, [esp + 0x24]
lea edx, [esp + 0x1b4]
push ecx
push edx
call fcn.00411a3e
jmp 0x410e90
lea eax, [esp + 0x24]
lea ecx, [esp + 0x1b4]
push eax
push ecx
call fcn.00411a38
lea edx, [esp + 0x14]
push edx
call fcn.004118a8
add esp, 4
mov eax, dword [0x409534]
test eax, eax
je 0x411141
mov ecx, dword [0x409a94]
lea eax, [esp + 0xec]
push 0xc8
push eax
push 4
push ecx
call esi
mov eax, dword [0x409a94]
lea edx, [esp + 0x14]
push 0xa
push edx
push 6
push eax
call esi
lea ecx, [esp + 0x14]
lea edx, [esp + 0xec]
push ecx
push edx
call dword [fcn.0040a24c]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
lea edx, [esp + 0x104]
push 0
push edx
push 0x80000002
call dword [fcn.0040a1a8]
test eax, eax
je 0x410f21
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2a8
ret
mov ecx, dword [0x409a94]
lea eax, [esp + 0xec]
push 0xc8
push eax
push 7
push ecx
call esi
mov eax, dword [0x409a94]
lea edx, [esp + 0x24]
push 0xc8
push edx
push 9
push eax
call esi
lea ecx, [esp + 0x24]
push ecx
call ebx
mov ecx, dword [esp + 0x10]
inc eax
lea edx, [esp + 0x24]
push eax
push edx
push 1
lea eax, [esp + 0xf8]
push 0
push eax
push ecx
call edi
test eax, eax
je 0x410f7f
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2a8
ret
mov eax, dword [0x409a94]
lea edx, [esp + 0xec]
push 0xc8
push edx
push 0xa
push eax
call esi
mov edx, dword [0x409a94]
lea ecx, [esp + 0x24]
push 0xc8
push ecx
push 0xb
push edx
call esi
lea eax, [esp + 0x24]
push eax
call ebx
inc eax
lea ecx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x14]
push ecx
push 1
lea edx, [esp + 0xf8]
push 0
push edx
push eax
call edi
test eax, eax
je 0x410fdd
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2a8
ret
cmp dword [0x409a10], 2
jne 0x41106e
mov edx, dword [0x409a94]
lea ecx, [esp + 0xec]
push 0x64
push ecx
push 0xc
push edx
call ebp
mov ecx, dword [0x409a94]
lea eax, [esp + 0x24]
push 0x64
push eax
push 0xe
push ecx
call ebp
lea edx, [esp + 0x24]
push edx
call dword [fcn.0040a23c]
lea eax, [eax + eax + 2]
lea ecx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x14]
push ecx
push 1
lea edx, [esp + 0xf8]
push 0
push edx
push eax
call dword [fcn.0040a1cc]
mov edx, dword [0x409a94]
lea ecx, [esp + 0x1b4]
push 0x82
push ecx
push 2
push edx
mov edi, eax
call ebp
lea eax, [esp + 0x1b4]
push 0x407080
push eax
call fcn.00411a48
add esp, 8
jmp 0x4110e9
mov edx, dword [0x409a94]
lea ecx, [esp + 0xec]
push 0xc8
push ecx
push 0xc
push edx
call esi
mov ecx, dword [0x409a94]
lea eax, [esp + 0x24]
push 0xc8
push eax
push 0xe
push ecx
call esi
lea edx, [esp + 0x24]
push edx
call ebx
mov edx, dword [esp + 0x10]
inc eax
push eax
lea eax, [esp + 0x28]
push eax
push 1
lea ecx, [esp + 0xf8]
push 0
push ecx
push edx
call edi
mov ecx, dword [0x409a94]
mov edi, eax
lea eax, [esp + 0x1b4]
push 0x104
push eax
push 2
push ecx
call esi
lea edx, [esp + 0x1b4]
push 0x407078
push edx
call dword [fcn.0040a24c]
test edi, edi
je 0x4110fa
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2a8
ret
mov eax, dword [esp + 0x10]
push eax
call dword [fcn.0040a1bc]
cmp dword [0x409a10], 2
jne 0x411122
lea ecx, [esp + 0x24]
lea edx, [esp + 0x1b4]
push ecx
push edx
call fcn.00411a3e
jmp 0x411134
lea eax, [esp + 0x24]
lea ecx, [esp + 0x1b4]
push eax
push ecx
call fcn.00411a38
lea edx, [esp + 0x14]
push edx
call fcn.004118a8
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2a8
ret