Function at 0x482b30
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x5404]
mov eax, 0x5404
call fcn.004e6b50
push 0xffffffffffffffff
push 0x4fe576
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x519bc0]
xor eax, ebp
mov dword [ebp + 0x5400], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 1
push 0x800
lea eax, [ebp + 0x4400]
push eax
call fcn.004537b0
push 0x800
lea ecx, [ebp + 0x4400]
push ecx
call fcn.00452c60
push 0x800
push str.Settings.reg
lea edx, [ebp + 0x4400]
push edx
call fcn.00469530
push 0x800
lea eax, [ebp + 0x4400]
push eax
lea ecx, [ebp]
push ecx
call fcn.004694b0
mov ebx, dword [ebp + 0x540c]
test bl, bl
je 0x482cbd
push 1
push str.ExportedSettings
push 0x501a20
call fcn.0049c4e0
cmp byte [ebp + 0x5410], 0
jne 0x482c1e
push ebx
push str..reg
lea ecx, [ebp + 0x4400]
push ecx
xor edx, edx
test bl, bl
sete dl
add edx, 0x5b4
push edx
call fcn.00463400
push eax
mov eax, dword [0x53f484]
push eax
call fcn.0047dcc0
test al, al
je 0x482cb6
test bl, bl
jne 0x482d41
lea ecx, [ebp - 0xac]
call fcn.00469a70
xor esi, esi
mov dword [ebp - 4], esi
mov byte [ebp - 4], 1
push esi
push esi
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0xac]
push ecx
lea edx, [ebp + 0x4400]
push edx
call fcn.00446780
test al, al
je 0x482ca4
jmp 0x482c60
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xac]
call fcn.00469940
test al, al
je 0x482d1a
mov eax, dword [ebp - 0x14]
cmp word [eax], 0x5b
jne 0x482c60
push 0x22
push str._HKEY_CURRENT_USERSoftwareWinRAR
push eax
call fcn.0046cb30
test eax, eax
jne 0x482ca4
mov ecx, dword [ebp - 0x14]
movzx eax, word [ecx + 0x44]
cmp ax, 0x5c
je 0x482c60
cmp ax, 0x5d
je 0x482c60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.0041e100
xor al, al
jmp 0x482ebb
push 0
push 1
push 0x800
lea edx, [ebp + 0x4400]
push edx
push str.Settings.reg
call fcn.004538d0
lea eax, [ebp + 0x4400]
push eax
call fcn.00445470
test al, al
jne 0x482be1
cmp byte [ebp + 0x5410], al
jne 0x482cb6
xor eax, eax
jmp 0x482d00
movzx ecx, word [ebp + eax]
mov word [ebp + eax + 0x4400], cx
add eax, 2
test cx, cx
jne 0x482d00
jmp 0x482bea
mov dword [ebp - 4], esi
push 0x501a20
call fcn.0049cb50
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xac]
cmp eax, esi
je 0x482d41
push eax
call fcn.004e7061
add esp, 4
lea edx, [ebp + 0x3400]
push edx
push 1
push 0
push 0x24
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x800
lea eax, [ebp + 0x3400]
push eax
push str.regedit.exe
mov ecx, eax
push ecx
call fcn.00452cb0
test bl, bl
mov eax, str._e___s__HKEY_CURRENT_USERSoftwareWinRAR
jne 0x482d7d
mov eax, 0x504414
lea edx, [ebp + 0x4400]
push edx
push eax
lea eax, [ebp + 0x1000]
push eax
mov edx, 0x900
call fcn.004a63e0
push 0x3c
push 0
lea ecx, [ebp - 0x50]
push ecx
call fcn.004e7df0
add esp, 0x18
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x4c], 0x40
mov edx, dword [0x53f484]
mov dword [ebp - 0x48], edx
lea eax, [ebp + 0x3400]
mov dword [ebp - 0x40], eax
lea ecx, [ebp + 0x1000]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x34], 1
lea edx, [ebp - 0x50]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
setne bl
test bl, bl
je 0x482e02
push 0x1388
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp + 0x540c], 0
je 0x482e1a
push str.ExportedSettings
push 0x501a20
call fcn.0049c100
test bl, bl
je 0x482e96
cmp byte [ebp + 0x540c], 0
jne 0x482e2c
call fcn.00482820
lea edx, [ebp + 0x4400]
push edx
xor eax, eax
cmp byte [ebp + 0x540c], al
sete al
add eax, 0x460
push eax
call fcn.00463400
push eax
lea ecx, [ebp + 0x2200]
push ecx
mov edx, 0x900
call fcn.004a63e0
add esp, 0xc
push 0
push 0x2fb
call fcn.00463400
push eax
lea edx, [ebp + 0x2200]
push edx
mov eax, dword [0x53f484]
push eax
call fcn.004b53a0
jmp 0x482eb9
cmp byte [ebp + 0x5410], 0
jne 0x482eb9
lea ecx, [ebp + 0x1000]
push ecx
push 0x201
call fcn.00463400
push eax
call fcn.004c2ab0
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x5400]
xor ecx, ebp
call fcn.004e6b3a
add ebp, 0x5404
mov esp, ebp
pop ebp
ret 8