Function at 0x439d60
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455400
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x465b00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb8], ecx
push 1
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0xb8]
add ecx, 0xa0
call fcn.0040a0c0
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x68]
cmp dword [edx + 0x18], 0x10
jb 0x439dd2
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc0], ecx
jmp 0x439dde
mov edx, dword [ebp - 0x68]
add edx, 4
mov dword [ebp - 0xc0], edx
mov eax, dword [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x14]
call fcn.004093b0
mov byte [ebp - 4], 2
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.00401600
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x14]
sub edx, 0x10
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x70]
push eax
call fcn.00405290
add esp, 4
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
add ecx, 0x10
mov edx, dword [ebp - 0x78]
mov dword [edx], ecx
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xb8]
call fcn.0043b540
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
jne 0x439f08
push str.InitComx3_Faild
call fcn.00407f90
add esp, 4
push 0x45a164
push str.Rs_rfwInstall_Msg_ComxFaild
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0xb8]
call fcn.0043cd70
mov dword [ebp - 0xcc], eax
mov edx, dword [ebp - 0xcc]
mov dword [ebp - 0x7c], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x7c]
cmp dword [eax + 0x18], 0x10
jb 0x439ea0
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0xd0], edx
jmp 0x439eac
mov eax, dword [ebp - 0x7c]
add eax, 4
mov dword [ebp - 0xd0], eax
push 0
push 0
mov ecx, dword [ebp - 0xd0]
push ecx
mov ecx, dword [ebp - 0xb8]
call fcn.00438590
mov byte [ebp - 4], 2
push 0
push 1
lea ecx, [ebp - 0x54]
call fcn.00401600
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov dword [ebp - 0x58], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00404a90
mov eax, dword [ebp - 0x58]
jmp 0x43a023
push str.Custom.xml
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.00409490
add esp, 0xc
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
push ecx
mov ecx, dword [ebp - 0xb8]
add ecx, 0xa0
call fcn.0040acc0
test eax, eax
jne 0x439f53
mov ecx, dword [ebp - 0xb8]
call fcn.0043c060
jmp 0x439fca
push ecx
mov edx, esp
mov dword [ebp - 0x5c], esp
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x10]
sub eax, 0x10
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
push ecx
call fcn.00405290
add esp, 4
mov dword [ebp - 0x8c], eax
mov edx, dword [ebp - 0x8c]
add edx, 0x10
mov eax, dword [ebp - 0x90]
mov dword [eax], edx
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0xd4], ecx
mov ecx, dword [ebp - 0xb8]
call fcn.00439860
mov dword [ebp - 0xd8], eax
mov edx, dword [ebp - 0xd8]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
jne 0x439fca
push str.TempWriteXML_failed
call fcn.00407f90
add esp, 4
lea ecx, [ebp - 0x14]
call fcn.004042b0
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [ebp - 0x14]
call fcn.004042b0
push ecx
mov ecx, esp
mov dword [ebp - 0x60], esp
push eax
call fcn.004093b0
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xb8]
call fcn.0043a220
mov dword [ebp - 0x64], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00404a90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00404a90
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret