Function at 0x4388f0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4552ff
mov eax, dword fs:[0]
push eax
sub esp, 0x37c
mov eax, dword [0x465b00]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x364], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x364]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ecx + 0x110]
jne 0x43894a
mov ecx, dword [ebp - 0x364]
call fcn.00438540
xor eax, eax
jmp 0x438f3b
mov eax, dword [ebp - 0x364]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax + 0x10c]
je 0x43896c
mov edx, dword [ebp - 0x364]
mov eax, dword [ebp - 0x10]
cmp eax, dword [edx + 0x144]
jne 0x43897e
mov ecx, dword [ebp - 0x364]
call fcn.004393a0
xor eax, eax
jmp 0x438f3b
mov ecx, dword [ebp - 0x364]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ecx + 0x130]
jne 0x438cb3
mov eax, dword [ebp - 0x364]
add eax, 0xa4
mov dword [ebp - 0x298], eax
mov ecx, dword [ebp - 0x298]
cmp dword [ecx + 0x18], 0x10
jb 0x4389c1
mov edx, dword [ebp - 0x298]
mov eax, dword [edx + 4]
mov dword [ebp - 0x368], eax
jmp 0x4389d0
mov ecx, dword [ebp - 0x298]
add ecx, 4
mov dword [ebp - 0x368], ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x234], esp
mov edx, dword [ebp - 0x368]
push edx
call fcn.004093b0
mov dword [ebp - 0x36c], eax
mov eax, dword [ebp - 0x36c]
mov dword [ebp - 0x370], eax
mov dword [ebp - 4], 0
push 0x459f54
push str.Rs_rfwInstall_Text_CheckDir
lea ecx, [ebp - 0x254]
push ecx
mov ecx, dword [ebp - 0x364]
call fcn.0043cd70
mov dword [ebp - 0x374], eax
mov edx, dword [ebp - 0x374]
mov dword [ebp - 0x2a8], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2a8]
cmp dword [eax + 0x18], 0x10
jb 0x438a4d
mov ecx, dword [ebp - 0x2a8]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x378], edx
jmp 0x438a5c
mov eax, dword [ebp - 0x2a8]
add eax, 4
mov dword [ebp - 0x378], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x238], esp
mov edx, dword [ebp - 0x378]
push edx
call fcn.004093b0
mov dword [ebp - 0x37c], eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x364]
call fcn.00438f60
mov dword [ebp - 0x380], eax
mov byte [ebp - 4], 4
push 0
push 1
lea ecx, [ebp - 0x254]
call fcn.00401600
mov ecx, str.cannel
neg ecx
sbb ecx, ecx
neg ecx
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x2b8], ecx
jne 0x438ac6
push 0x80004005
call fcn.00405000
xor edx, edx
jne 0x438aa3
xor eax, eax
jne 0x438aca
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2bc], ecx
push str.cannel
mov edx, dword [ebp - 0x2bc]
push edx
call fcn.0044433d
add esp, 8
mov dword [ebp - 0x2c0], eax
cmp dword [ebp - 0x2c0], 0
jne 0x438b1e
mov dword [ebp - 0x258], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00404a90
mov eax, dword [ebp - 0x258]
jmp 0x438f3b
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x2c8], ecx
xor edx, edx
cmp dword [ebp - 0x2c8], 0
sete dl
movzx eax, dl
test eax, eax
jne 0x438b98
mov ecx, str.Error
neg ecx
sbb ecx, ecx
neg ecx
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x2cc], ecx
jne 0x438b60
push 0x80004005
call fcn.00405000
xor edx, edx
jne 0x438b3d
xor eax, eax
jne 0x438b64
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2d0], ecx
push str.Error
mov edx, dword [ebp - 0x2d0]
push edx
call fcn.0044433d
add esp, 8
mov dword [ebp - 0x2d4], eax
cmp dword [ebp - 0x2d4], 0
jne 0x438c43
push 0x459f14
push str.Rs_rfwInstall_Msg_ChooseRightDir
lea eax, [ebp - 0x274]
push eax
mov ecx, dword [ebp - 0x364]
call fcn.0043cd70
mov dword [ebp - 0x384], eax
mov ecx, dword [ebp - 0x384]
mov dword [ebp - 0x2d8], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x2d8]
cmp dword [edx + 0x18], 0x10
jb 0x438be7
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x388], ecx
jmp 0x438bf6
mov edx, dword [ebp - 0x2d8]
add edx, 4
mov dword [ebp - 0x388], edx
push 0
push 0
mov eax, dword [ebp - 0x388]
push eax
mov ecx, dword [ebp - 0x364]
call fcn.00438590
mov byte [ebp - 4], 4
push 0
push 1
lea ecx, [ebp - 0x274]
call fcn.00401600
mov dword [ebp - 0x278], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00404a90
mov eax, dword [ebp - 0x278]
jmp 0x438f3b
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x364]
add ecx, 0xa0
call fcn.0040a080
mov ecx, dword [ebp - 0x364]
add ecx, 0xa0
call fcn.00409f80
push eax
lea ecx, [ebp - 0x294]
call fcn.004015b0
mov byte [ebp - 4], 6
lea edx, [ebp - 0x294]
push edx
mov eax, dword [ebp - 0x364]
mov ecx, dword [eax + 0x128]
call fcn.00437ea0
mov byte [ebp - 4], 4
push 0
push 1
lea ecx, [ebp - 0x294]
call fcn.00401600
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00404a90
mov ecx, dword [ebp - 0x364]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ecx + 0x114]
jne 0x438cd8
push 0
mov ecx, dword [ebp - 0x364]
call fcn.0043c170
xor eax, eax
jmp 0x438f3b
mov eax, dword [ebp - 0x364]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax + 0x118]
jne 0x438cfd
push 1
mov ecx, dword [ebp - 0x364]
call fcn.0043c170
xor eax, eax
jmp 0x438f3b
mov edx, dword [ebp - 0x364]
mov eax, dword [ebp - 0x10]
cmp eax, dword [edx + 0x11c]
jne 0x438d22
push 2
mov ecx, dword [ebp - 0x364]
call fcn.0043c170
xor eax, eax
jmp 0x438f3b
mov ecx, dword [ebp - 0x364]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ecx + 0x134]
jne 0x438d3e
mov ecx, dword [ebp - 0x364]
call fcn.004371b0
mov eax, dword [ebp - 0x364]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax + 0x150]
jne 0x438f39
mov edx, dword [ebp - 0x364]
mov eax, dword [edx + 0x14c]
mov dword [ebp - 0x328], eax
lea ecx, [ebp - 0x324]
push ecx
mov edx, dword [ebp - 0x328]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x328]
push ecx
mov edx, dword [eax + 0x2b0]
call edx
cmp dword [ebp - 0x324], 1
jne 0x438e80
mov ecx, dword [ebp - 0x364]
add ecx, 0xa0
call fcn.00409f80
push eax
lea ecx, [ebp - 0x230]
call fcn.004093b0
mov dword [ebp - 4], 7
push 0x5c
lea ecx, [ebp - 0x230]
call fcn.0043ca20
mov eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push str.rfwmain_Checked__
call fcn.00407f90
add esp, 4
mov byte [ebp - 0x22c], 0
push 0x103
push 0
lea ecx, [ebp - 0x22b]
push ecx
call fcn.004401c0
add esp, 0xc
mov edx, dword [ebp - 0x230]
push edx
push str._s_rsmain.exe
lea eax, [ebp - 0x22c]
push eax
call fcn.0044023a
add esp, 0xc
lea ecx, [ebp - 0x22c]
push ecx
push str.Run_rsmain.exe_PATH_s
call fcn.00407f90
add esp, 8
lea edx, [ebp - 0x22c]
push edx
mov ecx, dword [ebp - 0x364]
add ecx, 0xa0
call fcn.0040acc0
test eax, eax
je 0x438e61
push 0
push 0
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp - 0x364]
add ecx, 0xa0
call fcn.0040acf0
jmp 0x438e6e
push str.File_No_Exists_
call fcn.00407f90
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00404a90
push str.Reg_Checked__
call fcn.00407f90
add esp, 4
mov byte [ebp - 0x124], 0
push 0x103
push 0
lea ecx, [ebp - 0x123]
push ecx
call fcn.004401c0
add esp, 0xc
mov ecx, dword [ebp - 0x364]
add ecx, 0xa0
call fcn.00409f80
push eax
push str._s_regguide.exe
lea edx, [ebp - 0x124]
push edx
call fcn.0044023a
add esp, 0xc
lea eax, [ebp - 0x124]
push eax
push str.Run_Regguide.exe_PATH_s
call fcn.00407f90
add esp, 8
lea ecx, [ebp - 0x124]
push ecx
mov ecx, dword [ebp - 0x364]
add ecx, 0xa0
call fcn.0040acc0
test eax, eax
je 0x438f21
push 0
push str._Setup.exe
lea edx, [ebp - 0x124]
push edx
mov ecx, dword [ebp - 0x364]
add ecx, 0xa0
call fcn.0040acf0
jmp 0x438f2e
push str.File_No_Exists_
call fcn.00407f90
add esp, 4
mov ecx, dword [ebp - 0x364]
call fcn.00438540
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004401a3
mov esp, ebp
pop ebp
ret 0xc