Function at 0x441fed
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46d581
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x48b370]
xor eax, esp
mov dword [esp + 0xf0], eax
push ebx
push esi
push edi
mov eax, dword [0x48b370]
xor eax, esp
push eax
lea eax, [esp + 0x108]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
cmp dword [eax + 0x14], 8
mov edi, edx
mov dword [esp + 0x10], ebx
jb 0x442043
mov eax, dword [eax]
push ebx
lea edx, [esp + 0x14]
push edx
push ebx
push 0x20006
push ebx
push ebx
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
je 0x44219b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [esp + 0x14]
push eax
call fcn.00403575
mov dword [esp + 0x110], ebx
push esi
push ecx
lea eax, [esp + 0x1c]
push 0x4768dc
push eax
call fcn.0040667a
add esp, 0xc
push eax
call fcn.004027f8
push 0xf
pop esi
push 0x17
push str.path_manager::write_reg
lea ecx, [esp + 0xb4]
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
call fcn.00403e19
mov byte [esp + 0x110], 1
push 0x10
push str.path_manager.cpp
lea ecx, [esp + 0xd0]
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
call fcn.00403e19
mov byte [esp + 0x110], 2
lea eax, [esp + 0xe4]
push eax
lea ecx, [esp + 0x18]
call fcn.00403624
mov byte [esp + 0x110], 3
push eax
lea eax, [esp + 0xb0]
push eax
push 0x226
push 2
call fcn.00439dc3
lea ecx, [esp + 0xd8]
mov ebx, eax
call fcn.00439e02
mov byte [esp + 0x110], 2
xor ebx, ebx
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [esp + 0xec]
call fcn.00403eaf
mov byte [esp + 0x110], 1
push ebx
push esi
lea ecx, [esp + 0xd0]
call fcn.00403eaf
mov byte [esp + 0x110], bl
push ebx
lea ecx, [esp + 0xb0]
push esi
call fcn.00403eaf
or dword [esp + 0x110], 0xffffffff
lea ecx, [esp + 0x64]
call fcn.004035e1
lea ecx, [esp + 0x64]
call fcn.00402925
mov eax, esi
jmp 0x4422f8
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x4421a6
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x4421b0
mov ecx, dword [edi]
jmp 0x4421b2
mov ecx, edi
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push ebx
push ecx
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x10]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x4422f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [esp + 0x14]
push eax
call fcn.00403575
mov dword [esp + 0x110], 4
push esi
push ecx
lea eax, [esp + 0x1c]
push 0x4768dc
push eax
call fcn.0040667a
add esp, 0xc
push eax
call fcn.004027f8
push 0xf
pop esi
push 0x17
push str.path_manager::write_reg
lea ecx, [esp + 0xd0]
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
call fcn.00403e19
mov byte [esp + 0x110], 5
push 0x10
push str.path_manager.cpp
lea ecx, [esp + 0xb4]
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
call fcn.00403e19
mov byte [esp + 0x110], 6
lea eax, [esp + 0xe4]
push eax
lea ecx, [esp + 0x18]
call fcn.00403624
mov byte [esp + 0x110], 7
push eax
lea eax, [esp + 0xcc]
push eax
push 0x232
push 2
call fcn.00439dc3
lea ecx, [esp + 0xbc]
mov ebx, eax
call fcn.00439e02
mov byte [esp + 0x110], 6
xor edi, edi
xor esi, esi
push edi
inc esi
push esi
lea ecx, [esp + 0xec]
call fcn.00403eaf
mov byte [esp + 0x110], 5
push edi
push esi
lea ecx, [esp + 0xb4]
call fcn.00403eaf
mov byte [esp + 0x110], 4
push edi
lea ecx, [esp + 0xcc]
jmp 0x442174
xor eax, eax
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.0044cdc7
mov esp, ebp
pop ebp
ret 8