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

Disassembly:
push ebp
lea ebp, [esp - 0x5404]
mov eax, 0x5404
call fcn.004e6a80
push 0xffffffffffffffff
push 0x4fe556
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.00453840
push 0x800
lea ecx, [ebp + 0x4400]
push ecx
call fcn.00452cf0
push 0x800
push str.Settings.reg
lea edx, [ebp + 0x4400]
push edx
call fcn.00469570
push 0x800
lea eax, [ebp + 0x4400]
push eax
lea ecx, [ebp]
push ecx
call fcn.004694f0
mov ebx, dword [ebp + 0x540c]
test bl, bl
je 0x482bad
push 1
push str.ExportedSettings
push 0x501ac8
call fcn.0049c490
cmp byte [ebp + 0x5410], 0
jne 0x482b0e
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.00463430
push eax
mov eax, dword [0x53f484]
push eax
call fcn.0047dba0
test al, al
je 0x482ba6
test bl, bl
jne 0x482c31
lea ecx, [ebp - 0xac]
call fcn.00469ab0
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.00446810
test al, al
je 0x482b94
jmp 0x482b50
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xac]
call fcn.00469980
test al, al
je 0x482c0a
mov eax, dword [ebp - 0x14]
cmp word [eax], 0x5b
jne 0x482b50
push 0x22
push str._HKEY_CURRENT_USERSoftwareWinRAR
push eax
call fcn.0046c9d0
test eax, eax
jne 0x482b94
mov ecx, dword [ebp - 0x14]
movzx eax, word [ecx + 0x44]
cmp ax, 0x5c
je 0x482b50
cmp ax, 0x5d
je 0x482b50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.0041e210
xor al, al
jmp 0x482dac
push 0
push 1
push 0x800
lea edx, [ebp + 0x4400]
push edx
push str.Settings.reg
call fcn.00453960
lea eax, [ebp + 0x4400]
push eax
call fcn.00445500
test al, al
jne 0x482ad1
cmp byte [ebp + 0x5410], al
jne 0x482ba6
xor eax, eax
jmp 0x482bf0
movzx ecx, word [ebp + eax]
mov word [ebp + eax + 0x4400], cx
add eax, 2
test cx, cx
jne 0x482bf0
jmp 0x482ada
mov dword [ebp - 4], esi
push 0x501ac8
call fcn.0049cb00
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xac]
cmp eax, esi
je 0x482c31
push eax
call fcn.004e68b2
add esp, 4
lea edx, [ebp + 0x3400]
push edx
push 1
push 0
push 0x24
push 0
call dword [0x501408]
push 0x800
lea eax, [ebp + 0x3400]
push eax
push str.regedit.exe
mov ecx, eax
push ecx
call fcn.00452d40
test bl, bl
mov eax, str._e___s__HKEY_CURRENT_USERSoftwareWinRAR
jne 0x482c6d
mov eax, 0x504404
lea edx, [ebp + 0x4400]
push edx
push eax
lea eax, [ebp + 0x1000]
push eax
mov edx, 0x900
call fcn.00497580
push 0x3c
push 0
lea ecx, [ebp - 0x50]
push ecx
call fcn.004e7970
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 [0x501434]
test eax, eax
setne bl
test bl, bl
je 0x482cf2
push 0x1388
mov eax, dword [ebp - 0x18]
push eax
call dword [0x50115c]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [0x5013d0]
cmp byte [ebp + 0x540c], 0
je 0x482d0a
push str.ExportedSettings
push 0x501ac8
call fcn.0049c0b0
test bl, bl
je 0x482d87
cmp byte [ebp + 0x540c], 0
jne 0x482d1c
call fcn.00482710
lea edx, [ebp + 0x4400]
push edx
xor eax, eax
cmp byte [ebp + 0x540c], al
sete al
add eax, 0x460
push eax
call fcn.00463430
push eax
lea ecx, [ebp + 0x2200]
push ecx
mov edx, 0x900
call fcn.00497580
add esp, 0xc
push 0
push 0x2fb
call fcn.00463430
push eax
lea edx, [ebp + 0x2200]
push edx
mov eax, dword [0x53f484]
push eax
call dword [0x5015fc]
jmp 0x482daa
cmp byte [ebp + 0x5410], 0
jne 0x482daa
lea ecx, [ebp + 0x1000]
push ecx
push 0x201
call fcn.00463430
push eax
call fcn.004c2a40
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.004e6a64
add ebp, 0x5404
mov esp, ebp
pop ebp
ret 8