Function at 0x43c490
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a534d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x4c9100]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], edx
mov eax, ecx
mov dword [ebp - 0x40], eax
mov ecx, dword [ebx + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x20]
push edx
mov edx, eax
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
call fcn.0043c700
add esp, 4
mov esi, dword [ebx + 0xc]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
sub eax, edi
cmp eax, esi
jne 0x43c577
mov ecx, dword [ebp - 0x44]
mov edx, edi
sub esi, 4
jb 0x43c531
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x43c53a
add ecx, 4
add edx, 4
sub esi, 4
jae 0x43c520
cmp esi, 0xfffffffc
je 0x43c6a1
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x43c577
cmp esi, 0xfffffffd
je 0x43c6a1
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x43c577
cmp esi, 0xfffffffe
je 0x43c6a1
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x43c577
cmp esi, 0xffffffff
je 0x43c6a1
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x43c6a1
mov ecx, dword [ebp - 0x40]
call fcn.0043c240
mov dword [ebp - 0x48], eax
test eax, eax
je 0x43c6a1
mov edx, dword [ebp - 0x40]
mov eax, edx
mov dword [ebp - 0x40], edx
cmp dword [edx + 0x14], 7
jbe 0x43c59d
mov eax, dword [edx]
mov dword [ebp - 0x40], eax
mov esi, dword [edx + 0x10]
test esi, esi
je 0x43c5b4
mov ecx, esi
cmp word [eax], 0x5c
je 0x43c5d7
add eax, 2
sub ecx, 1
jne 0x43c5a6
or eax, 0xffffffff
inc eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
cmp esi, eax
jb 0x43c6ec
jmp 0x43c5e2
test eax, eax
je 0x43c5b4
sub eax, dword [ebp - 0x40]
sar eax, 1
jmp 0x43c5b7
sub esi, eax
or ecx, 0xffffffff
cmp esi, 0xffffffff
cmovb ecx, esi
cmp dword [edx + 0x14], 7
jbe 0x43c5f5
mov edx, dword [edx]
push ecx
lea eax, [edx + eax*2]
push eax
lea ecx, [ebp - 0x38]
call fcn.00429720
cmp dword [ebp - 0x24], 7
lea ecx, [ebp - 0x3c]
push 0
push ecx
push 0
push 0x2011f
push 0
push 0
lea eax, [ebp - 0x38]
cmova eax, dword [ebp - 0x38]
push 0
push eax
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43c657
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x14], 7
jbe 0x43c639
mov eax, dword [eax]
push dword [ebx + 0xc]
push dword [ebp - 0x44]
push dword [ebx + 0x10]
push 0
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x24]
cmp ecx, 7
jbe 0x43c68d
mov edx, dword [ebp - 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43c683
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43c6f1
push ecx
push edx
call fcn.0046160b
add esp, 8
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
test edi, edi
je 0x43c6ce
mov ecx, dword [ebp - 0x18]
mov eax, edi
sub ecx, edi
cmp ecx, 0x1000
jb 0x43c6c4
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43c6f1
push ecx
push edi
call fcn.0046160b
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004615cd
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00429400
call fcn.004834cf
int3