Function at 0x42b480
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x578ef6
mov eax, dword fs:[0]
push eax
sub esp, 0x644
mov eax, dword [0x5db008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x206
lea eax, [ebp - 0x216]
push 0
push eax
call fcn.00452070
movups xmm0, xmmword [0x5d3378]
mov ax, word [0x5d3390]
lea ecx, [ebp - 0x218]
add esp, 0xc
mov word [ebp - 0x200], ax
movups xmmword [ebp - 0x218], xmm0
add ecx, 0xfffffffe
movq xmm0, qword [0x5d3388]
movq qword [ebp - 0x208], xmm0
nop dword [eax + eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x42b500
mov eax, dword [0x5d3e3c]
mov dword [ecx], eax
mov eax, dword [0x5d3e40]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x650]
call fcn.0043e630
mov dword [ebp - 4], 0
call fcn.0043aa47
test al, al
je 0x42b558
pop esp
pop esi
pop esp
pop edx
push eax
pop edx
push edx
push eax
pop esp
pop edx
push esi
push ebp
pop esi
push esi
push esi
pop eax
pop edi
pop edx
pop edi
push edi
push esp
push esp
push ecx
pop edx
push esp
push edi
pop edi
call fcn.0043a8ee
test al, al
je 0x42b57a
push ebx
push edx
push ebp
pop ebx
pop edi
pop edi
push esp
pop eax
pop eax
pop esp
push edi
push eax
pop ecx
pop ebp
push ecx
pop esi
push eax
pop esi
push esp
pop edx
push edx
push ebx
pop edx
push ecx
pop esi
lea ecx, [ebp - 0x650]
call fcn.0042d420
test eax, eax
jne 0x42b70e
push 0x208
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.00452070
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00452070
add esp, 0x18
lea eax, [ebp - 0x628]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5d3e44
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push str.__s___s
push eax
call fcn.004230f0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x648]
add esp, 0x10
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x42b70e
lea eax, [ebp - 0x644]
push eax
push 0xf003f
push 0
push 0x5d3ed4
push dword [ebp - 0x648]
call esi
test eax, eax
je 0x42b65f
push 0
lea eax, [ebp - 0x644]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x5d32fc
push dword [ebp - 0x648]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x42b707
push str.XcWifi
lea ecx, [ebp - 0x640]
call fcn.00421580
push 3
push 0x5d3eec
lea ecx, [ebp - 0x640]
mov byte [ebp - 4], 1
call fcn.00421cd0
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b690
sub ecx, edx
sar ecx, 1
cmp dword [ebp - 0x62c], 8
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x420]
push eax
push 1
lea ecx, [ebp - 0x640]
cmovae ecx, dword [ebp - 0x640]
push 0
push ecx
push dword [ebp - 0x644]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x644]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x648]
call esi
mov eax, dword [ebp - 0x62c]
cmp eax, 8
jb 0x42b707
inc eax
lea ecx, [ebp - 0x640]
push eax
push dword [ebp - 0x640]
call fcn.00421b10
mov esi, 1
jmp 0x42b710
xor esi, esi
lea ecx, [ebp - 0x650]
call fcn.0043e645
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042f713
mov esp, ebp
pop ebp
ret