Function at 0x43c2e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5636b1
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 ebx, dword [ebp + 8]
lea ecx, [ebp - 0x114]
call fcn.00405080
lea eax, [ebp - 0x2c]
xor edi, edi
push eax
lea ecx, [ebp - 0x114]
mov dword [ebp - 4], edi
call fcn.00413070
mov esi, 7
xor ecx, ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], cx
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 2
jb 0x43c34d
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x48]
call fcn.00404090
cmp dword [ebp - 0x18], 8
mov byte [ebp - 4], 4
jb 0x43c36c
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b8946
add esp, 4
push 0x5bc6e0
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x80]
xor eax, eax
push edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
call fcn.00404810
push str.SearchScopes
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 5
call fcn.00404810
add esp, 0x18
mov dword [ebp - 0x124], edi
mov dword [ebp - 0x120], edi
mov dword [ebp - 0x11c], edi
push 0x2001f
push reloc.WS2_32.dll_closesocket
push eax
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 7
call fcn.00404ef0
cmp dword [ebp - 0x50], 8
jb 0x43c3de
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004b8946
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], dx
cmp dword [ebp - 0x6c], 8
mov byte [ebp - 4], 0xa
jb 0x43c400
mov eax, dword [ebp - 0x80]
push eax
call fcn.004b8946
add esp, 4
xor ecx, ecx
push 0xc
mov word [ebp - 0x80], cx
xor edx, edx
push str.DefaultScope
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
call fcn.00403510
mov eax, 8
cmp dword [ebx + 0x14], eax
jb 0x43c435
mov esi, dword [ebx]
jmp 0x43c437
mov esi, ebx
cmp dword [ebp - 0x18], eax
jb 0x43c447
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x118], eax
jmp 0x43c450
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x118], ecx
mov ebx, dword [ebp - 0x124]
xor eax, eax
cmp esi, edi
setne al
cmp eax, edi
jne 0x43c468
mov eax, 0xd
jmp 0x43c486
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
mov eax, dword [ebp - 0x118]
push edx
push esi
push 1
push edi
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x43c4a3
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b8946
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
cmp ebx, edi
je 0x43c4be
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x34], esi
jb 0x43c4cf
mov eax, dword [ebp - 0x48]
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