Function at 0x4365b2
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor eax, eax
push esi
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
call fcn.0042691e
test al, al
je 0x4365f2
push ebp
push edx
pop ecx
pop edi
push eax
push edi
push esp
pop ecx
pop edx
push eax
push edx
pop ecx
push eax
push ecx
push eax
pop edi
pop ecx
pop edx
push esi
pop esp
pop eax
push edx
pop ebp
pop ebx
push ecx
push ebx
push edx
pop edi
push edx
push ecx
pop ecx
push ebx
call fcn.00426bd0
test al, al
je 0x436618
pop ebp
pop esp
push edx
push ebx
push ebp
pop esp
push eax
push edx
push eax
pop ecx
push ebp
pop esp
pop edx
pop ebx
push ebx
pop edx
pop edi
push ebp
push edx
push edi
pop ebp
pop ebp
push ebx
push ecx
pop eax
pop eax
pop esi
push ebx
pop ebx
call fcn.00426558
test al, al
je 0x43663a
pop eax
pop esp
pop ecx
pop edi
push ebp
pop ebp
push ecx
pop esp
push edi
pop edx
push ecx
push ebp
push ecx
push eax
pop esi
pop edi
pop eax
pop ebx
pop esi
push esi
push ebp
push esp
push edx
push edi
pop edi
call fcn.004266b1
test al, al
je 0x436658
push edx
pop eax
push ebx
pop ebx
push eax
pop ebx
push ebx
pop edx
pop edx
push esp
push ebx
push esi
pop edx
push ebx
push edx
push ecx
pop ebx
push ecx
push edi
push edx
pop ebx
lea eax, [ebp - 4]
mov esi, 0xf013f
push eax
push esi
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4367e6
call fcn.00426780
test al, al
je 0x4366ab
pop esp
push edi
pop esi
pop esp
pop edx
push ebp
push ebp
pop edx
pop edx
pop ebp
pop edi
push edi
pop edx
pop eax
pop ecx
push esp
push ebp
push ebp
push ebp
push edx
pop esi
pop edi
push eax
pop ebp
pop edi
pop ebx
push ebx
pop edx
push eax
pop esi
pop edx
pop esi
xor ebx, ebx
mov esi, 0xf013f
lea eax, [ebp - 8]
push eax
push esi
push ebx
push 0x5a4fa4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4366d1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4367e6
push ebx
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push ebx
push ebx
push ebx
push dword [ebp + 8]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push dword [ebp - 8]
call ebx
test eax, eax
je 0x4366f8
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4367dc
call fcn.00426a32
test al, al
je 0x43671b
push eax
push ebp
push ebp
push edi
push esp
push esp
push edx
push esp
pop eax
pop esi
push esp
push edi
pop eax
push esi
pop ebp
pop edi
push ebp
push ecx
push eax
push esp
push esi
push ebx
push ebx
push edx
push ecx
pop ebp
call fcn.0042691e
test al, al
je 0x436739
push esi
pop edi
push eax
push ecx
push esi
push esi
pop ecx
push esi
pop ecx
push eax
push edx
push eax
pop ebp
pop esi
push eax
pop ecx
pop esp
pop edi
push eax
pop edx
pop edx
xor esi, esi
lea eax, [ebp - 0x10]
push esi
push eax
push esi
push 0xf013f
push esi
push esi
push esi
push dword [ebp + 0x10]
push dword [ebp - 0xc]
call ebx
test eax, eax
je 0x436762
push dword [ebp - 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
jmp 0x4367dc
push dword [ebp + 0x18]
call fcn.0045329b
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0x18]
push 1
push esi
push dword [ebp + 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0xc]
call esi
call fcn.00426a32
test al, al
je 0x4367c2
push edx
push edi
pop edi
pop ebp
push ebp
pop ebx
pop esp
pop ebx
push eax
pop ebp
push ebx
push esi
pop edi
pop eax
push esi
push esp
push eax
pop ebx
push ecx
push esi
pop edx
pop esi
pop esp
pop edx
push eax
push eax
push esi
pop eax
push ecx
pop ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0042659d
test al, al
je 0x4367dc
push edi
pop edi
push esi
push esp
pop ecx
push edx
push ebx
pop ebx
push ebp
push edx
pop edi
push esi
pop ebp
pop edx
push esp
push eax
push esi
push dword [ebp - 8]
call esi
push dword [ebp - 4]
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret