Function at 0x442c70
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564100
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5bf094]
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
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
push 0x2001f
push reloc.WS2_32.dll_accept
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], ebx
call fcn.00404ef0
push 2
xor eax, eax
push 0x588f9c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.00403510
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [edi + 0x138]
mov byte [ebp - 4], 2
call fcn.004a0550
mov esi, eax
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
lea edx, [ebp - 0x64]
push esi
push edx
call fcn.00416540
add esp, 0xc
mov ecx, 8
cmp dword [eax + 0x14], ecx
jb 0x442d22
mov esi, dword [eax]
jmp 0x442d24
mov esi, eax
cmp dword [ebp - 0x18], ecx
jb 0x442d31
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x68], eax
jmp 0x442d37
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x68], ecx
xor eax, eax
cmp esi, ebx
setne al
cmp eax, ebx
jne 0x442d49
mov eax, 0xd
jmp 0x442d67
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x74]
lea edx, [eax + eax + 2]
mov eax, dword [ebp - 0x68]
push edx
push esi
push 1
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x50], 8
jb 0x442d80
mov edx, dword [ebp - 0x64]
push edx
call fcn.004b8946
add esp, 4
xor eax, eax
cmp dword [ebp - 0x34], 0x10
mov esi, 7
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
jb 0x442da3
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b8946
add esp, 4
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], 1
jb 0x442dc6
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b8946
add esp, 4
push 5
xor eax, eax
push str.DS_PF
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.00403510
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [edi + 0x6c]
mov byte [ebp - 4], 5
call fcn.004a0550
mov esi, eax
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
lea edx, [ebp - 0x48]
push esi
push edx
call fcn.00416540
add esp, 0xc
mov ecx, 8
cmp dword [eax + 0x14], ecx
jb 0x442e19
mov esi, dword [eax]
jmp 0x442e1b
mov esi, eax
mov edi, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ecx
jae 0x442e26
lea edi, [ebp - 0x2c]
cmp esi, ebx
jne 0x442e34
mov esi, dword [ebp - 0x74]
mov eax, 0xd
jmp 0x442e4f
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push esi
mov esi, dword [ebp - 0x74]
push 1
push ebx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, 8
cmp dword [ebp - 0x34], edi
jb 0x442e6c
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b8946
add esp, 4
xor edx, edx
cmp dword [ebp - 0x50], 0x10
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
jb 0x442e8e
mov eax, dword [ebp - 0x64]
push eax
call fcn.004b8946
add esp, 4
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
cmp dword [ebp - 0x18], edi
jb 0x442eac
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b8946
add esp, 4
cmp esi, ebx
je 0x442eb7
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.004b92b7
mov esp, ebp
pop ebp
ret 4