Function at 0x43c500
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563731
mov eax, dword fs:[0]
push eax
sub esp, 0x118
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 dword [ebp - 0x118], ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x114]
call fcn.00405080
lea eax, [ebp - 0x2c]
xor esi, esi
push eax
lea ecx, [ebp - 0x114]
mov dword [ebp - 4], esi
call fcn.00413070
mov ebx, 7
xor ecx, ecx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], esi
mov word [ebp - 0x64], cx
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 2
jb 0x43c573
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x64]
call fcn.00404090
cmp dword [ebp - 0x18], 8
mov byte [ebp - 4], 4
jb 0x43c592
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b8946
add esp, 4
push edi
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x80]
xor eax, eax
push edx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
call fcn.00405920
add esp, 0xc
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x11c], esi
push 0x2001f
push reloc.WS2_32.dll_closesocket
push eax
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 6
call fcn.00404ef0
mov edi, 8
mov byte [ebp - 4], 8
cmp dword [ebp - 0x6c], edi
jb 0x43c5f5
mov eax, dword [ebp - 0x80]
push eax
call fcn.004b8946
add esp, 4
xor ecx, ecx
lea edx, [ebp - 0x48]
mov word [ebp - 0x80], cx
mov ecx, dword [ebp - 0x118]
push edx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], esi
call fcn.0043c0d0
push 0xc
xor eax, eax
push str.DefaultScope
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
call fcn.00403510
cmp dword [ebp - 0x34], edi
mov edi, dword [ebp - 0x48]
jae 0x43c63a
lea edi, [ebp - 0x48]
cmp dword [ebp - 0x18], 8
jb 0x43c64b
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x118], ecx
jmp 0x43c654
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x118], edx
mov ebx, dword [ebp - 0x124]
xor eax, eax
cmp edi, esi
setne al
cmp eax, esi
jne 0x43c66c
mov eax, 0xd
jmp 0x43c68a
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x118]
lea eax, [eax + eax + 2]
push eax
push edi
push 1
push esi
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x18], 8
jb 0x43c6a3
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b8946
add esp, 4
xor eax, eax
cmp dword [ebp - 0x34], 8
mov edi, 7
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
jb 0x43c6c6
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b8946
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], dx
cmp ebx, esi
je 0x43c6dd
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x50], 8
jb 0x43c6ef
mov eax, dword [ebp - 0x64]
push eax
call fcn.004b8946
add esp, 4
lea ecx, [ebp - 0x114]
mov dword [ebp - 4], 0xffffffff
call fcn.00403350
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