Function at 0x43111c
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x431125
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4313d8
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov eax, ebx
call fcn.00408440
test al, al
je 0x4313ad
lea ecx, [ebp - 0x10]
mov edx, esi
mov eax, ebx
call fcn.0041cc68
mov eax, dword [ebp - 0x10]
call fcn.00408420
test al, al
je 0x4313ad
lea ecx, [ebp - 0x14]
mov edx, dword [ebp + 8]
mov eax, ebx
call fcn.0041cc68
mov eax, dword [ebp - 0x14]
call fcn.00408420
test al, al
je 0x4313ad
lea ecx, [ebp - 0xc]
mov edx, edi
mov eax, ebx
call fcn.0041cc68
mov eax, dword [ebp - 0xc]
call fcn.00408420
test al, al
je 0x4313ad
lea eax, [ebp - 0x28]
call fcn.004310f0
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 8]
mov ecx, 0x4313f4
call fcn.004046c4
push 0x43140c
push 0x431428
push 0x4314d4
push 2
push 0
push 1
push 1
mov ecx, 0x4314ec
mov edx, 0x4314d4
mov eax, dword [ebp - 8]
call fcn.00430328
test al, al
je 0x4313ad
mov dl, 1
mov eax, dword [0x41bf3c]
call fcn.0041c094
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4313a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0x18]
call fcn.0041c170
mov cl, 1
mov edx, 0x431510
mov eax, dword [ebp - 0x18]
call fcn.0041c224
mov ecx, dword [ebp - 0xc]
mov edx, 0x431554
mov eax, dword [ebp - 0x18]
call fcn.0041c450
xor ecx, ecx
mov edx, 0x431568
mov eax, dword [ebp - 0x18]
call fcn.0041c510
mov ecx, ebx
mov edx, 0x431588
mov eax, dword [ebp - 0x18]
call fcn.0041c41c
mov ecx, dword [ebp - 0x10]
mov edx, 0x43159c
mov eax, dword [ebp - 0x18]
call fcn.0041c41c
mov ecx, dword [ebp - 0x14]
mov edx, 0x4315ac
mov eax, dword [ebp - 0x18]
call fcn.0041c41c
mov eax, dword [ebp - 0x18]
call fcn.0041c128
xor ecx, ecx
mov edx, 0x4315c0
mov eax, dword [ebp - 0x18]
call fcn.0041c224
lea eax, [ebp - 0x1c]
mov edx, 0x400
call fcn.004049a8
xor eax, eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00404878
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push 0x4315f8
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x431354
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
call fcn.004049a8
cmp dword [ebp - 0x1c], 0
je 0x4312f5
mov eax, 0x4314d4
mov edx, dword [ebp - 0x1c]
call fcn.00404960
dec eax
jge 0x43134e
cmp dword [ebp - 0x1c], 0
jne 0x43130a
lea eax, [ebp - 0x1c]
mov edx, 0x4314d4
call fcn.00404474
jmp 0x431324
push dword [ebp - 0x1c]
push 0x431610
push 0x4314d4
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404738
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00404878
push eax
push 7
push 0
push 0x4315f8
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete byte [ebp - 1]
jmp 0x431390
mov byte [ebp - 1], 1
jmp 0x431390
lea eax, [ebp - 0x1c]
mov edx, 0x4314d4
call fcn.00404474
mov dword [ebp - 0x24], 0xe
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00404878
push eax
push 7
push 0
push 0x4315f8
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4313ad
mov eax, dword [ebp - 0x18]
call fcn.004036a4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4313df
lea eax, [ebp - 0x28]
call fcn.004043dc
lea eax, [ebp - 0x1c]
call fcn.004043dc
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404400
ret