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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f4f69
mov eax, dword fs:[0]
push eax
sub esp, 0x528
mov eax, dword [0x54b1b4]
xor eax, esp
mov dword [esp + 0x520], eax
push ebx
push esi
push edi
mov eax, dword [0x54b1b4]
xor eax, esp
push eax
lea eax, [esp + 0x538]
mov dword fs:[0], eax
mov eax, dword [0x54eee0]
xor ebx, ebx
cmp eax, ebx
je 0x447c9c
cmp dword [eax + 8], 4
mov edi, eax
jl 0x447c9c
push 0x5169cc
push 4
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push eax
mov ecx, str.begin_RunUnSetup
lea esi, [ebx + 0xb]
call fcn.0042ef60
push edi
mov ecx, esi
call fcn.0042cbc0
mov eax, dword [0x54eee0]
test byte [0x54f018], 1
mov esi, 1
jne 0x447cc7
or dword [0x54f018], esi
call fcn.00443940
push 0x4f5ff0
call fcn.004bc45e
mov eax, dword [0x54eee0]
add esp, 4
cmp byte [0x54eff5], bl
jne 0x447d08
cmp eax, ebx
je 0x447d01
cmp dword [eax + 8], 2
mov edi, eax
jl 0x447d01
push 0x5169cc
push 2
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ecx
mov ecx, 0x516a18
mov esi, 0xf
call fcn.0042ef60
push edi
mov ecx, esi
call fcn.0042cbc0
xor al, al
jmp 0x4482ed
cmp byte [ebp + 0xc], bl
jne 0x447e61
cmp eax, ebx
je 0x447d43
cmp dword [eax + 8], 4
mov edi, eax
jl 0x447d43
push 0x5169cc
push 4
push ecx
mov edx, esp
mov dword [esp + 0x1c], esp
push edx
mov ecx, str.eQ_rY6RxS
mov esi, 0x16
call fcn.0042ef60
push edi
mov ecx, esi
call fcn.0042cbc0
push str.UnsetupXXXXXX
lea eax, [esp + 0xd0]
push 0x28
push eax
call fcn.004bd587
lea ecx, [esp + 0xd8]
add esp, 0xc
push ecx
call fcn.004be813
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x447d75
mov esi, str.UnsetupTemp
lea edx, [esp + 0x11c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, esi
mov edx, esi
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x447d90
lea edi, [esp + 0x11c]
sub eax, edx
add edi, 0xfffffffe
jmp 0x447db0
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x447db0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x11c]
rep movsb byte es:[edi], byte [esi]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x447dd6
mov ecx, dword [str..exe]
mov edx, dword [0x516ab0]
mov dword [eax], ecx
mov cx, word [0x516ab4]
mov dword [eax + 4], edx
push 0x104
lea edx, [esp + 0x328]
push edx
push ebx
mov word [eax + 8], cx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebx
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x32c]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x447e9e
lea edx, [esp + 0x11c]
push edx
lea eax, [esp + 0x328]
push eax
mov edx, 0x23
push 0x516ab8
push 0x5169cc
lea esi, [edx - 0x21]
mov eax, 0x54eee0
call fcn.0042bb60
add esp, 0x10
mov esi, 1
mov eax, dword [esp + 0x1c]
and eax, 0xfffffe07
mov edi, 7
or eax, edi
push 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
call fcn.004ba752
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x540], ebx
cmp eax, ebx
je 0x447efe
mov esi, eax
call fcn.0041f930
lea esi, [edi - 6]
jmp 0x447f00
push 1
push ebx
push str._tempunsetup
lea ecx, [esp + 0x128]
push ecx
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [0x54eee0]
cmp eax, ebx
je 0x4482eb
cmp dword [eax + 8], 4
mov edi, eax
jl 0x4482eb
push 0x5169cc
push 4
push ecx
mov edx, esp
mov dword [esp + 0x1c], esp
push edx
mov ecx, 0x516ad8
mov esi, 0x29
call fcn.0042ef60
push edi
mov ecx, esi
call fcn.0042cbc0
jmp 0x4482eb
xor eax, eax
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x540], esi
call fcn.00412500
lea eax, [esp + 0x14]
mov dword [esp + 0x540], 0xffffffff
call fcn.00419f90
mov ecx, dword [ebp + 8]
cmp byte [ecx], 0
je 0x447f79
call fcn.00448320
mov eax, dword [0x54eee0]
cmp eax, ebx
je 0x4482eb
cmp dword [eax + 8], 4
mov edi, eax
jl 0x4482eb
push 0x5169cc
push 4
push ecx
mov edx, esp
mov dword [esp + 0x1c], esp
push edx
mov ecx, 0x516b0c
mov esi, 0x34
call fcn.0042ef60
push edi
mov ecx, esi
call fcn.0042cbc0
jmp 0x4482eb
test byte [0x54f018], 1
jne 0x447f9a
or dword [0x54f018], esi
call fcn.00443940
push 0x4f5ff0
call fcn.004bc45e
add esp, 4
test byte [0x54f318], 1
jne 0x447fbb
or dword [0x54f318], esi
call fcn.0045c110
push 0x4f6020
call fcn.004bc45e
add esp, 4
push 0xffffffffffffffff
push ebx
push 0x54ef68
mov ecx, 0x54f33c
call fcn.00407f10
test byte [0x54f018], 1
jne 0x447fee
or dword [0x54f018], esi
call fcn.00443940
push 0x4f5ff0
call fcn.004bc45e
add esp, 4
test byte [0x54f318], 1
jne 0x44800f
or dword [0x54f318], esi
call fcn.0045c110
push 0x4f6020
call fcn.004bc45e
add esp, 4
push 0xffffffffffffffff
push ebx
push 0x54ef84
mov ecx, 0x54f320
call fcn.00407f10
xor eax, eax
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], ax
mov dword [esp + 0x540], 2
xor ecx, ecx
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], cx
xor edx, edx
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], dx
mov edx, 0x54c674
lea ecx, [esp + 0xb0]
mov byte [esp + 0x540], 4
call fcn.00403940
push esi
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x9c]
push edx
lea ecx, [esp + 0x4c]
mov edx, eax
mov byte [esp + 0x54c], 5
call fcn.00408b60
add esp, 0xc
mov byte [esp + 0x540], 4
cmp dword [esp + 0xc4], 8
jb 0x4480c1
mov eax, dword [esp + 0xb0]
push eax
call fcn.004ba3a4
add esp, 4
test byte [0x54f318], 1
jne 0x4480e2
or dword [0x54f318], esi
call fcn.0045c110
push 0x4f6020
call fcn.004bc45e
add esp, 4
push str.cfg.ini
lea ecx, [esp + 0x7c]
push 0x54f33c
push ecx
call fcn.004076e0
add esp, 0xc
mov bl, 6
push 0x458
mov byte [esp + 0x544], bl
call fcn.004ba752
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x540], 7
test eax, eax
je 0x448129
push eax
call fcn.0045be70
mov edi, eax
jmp 0x44812b
xor edi, edi
mov byte [esp + 0x540], bl
mov esi, dword [fcn.0047e564]
push str.UnSetupUnSetupWnd.xml
lea ecx, [edi + 0x348]
call esi
mov eax, dword [0x54c620]
mov ebx, 8
cmp dword [0x54c634], ebx
jae 0x44815c
mov eax, 0x54c620
push eax
lea ecx, [edi + 0x3cc]
call esi
lea esi, [esp + 0x24]
call fcn.00403e00
push 4
mov eax, 0x516b78
mov ecx, esi
mov byte [esp + 0x544], 8
call fcn.00407450
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x38], ebx
jae 0x448190
mov eax, esi
xor ebx, ebx
push ebx
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push ebx
push 0x96c80000
push eax
push ebx
mov ecx, edi
call dword [0x51c12c]
mov ecx, edi
call dword [0x51c134]
push 1
push 1
mov ecx, edi
call dword [0x51c198]
test byte [0x54f318], 1
jne 0x4481ed
or dword [0x54f318], 1
call fcn.0045c110
push 0x4f6020
call fcn.004bc45e
add esp, 4
mov ecx, edi
call dword [0x51c194]
mov dword [0x54f374], eax
call dword [0x51c190]
mov eax, dword [0x54eee0]
cmp eax, ebx
je 0x448237
cmp dword [eax + 8], 4
mov edi, eax
jl 0x448237
push 0x5169cc
push 4
push ecx
mov edx, esp
mov dword [esp + 0x1c], esp
push edx
mov ecx, str.end_RunUnSetup
mov esi, 0x4f
call fcn.0042ef60
push edi
mov ecx, esi
call fcn.0042cbc0
mov edi, 8
cmp dword [esp + 0x38], edi
jb 0x44824f
mov eax, dword [esp + 0x24]
push eax
call fcn.004ba3a4
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], cx
cmp dword [esp + 0x8c], edi
jb 0x448279
mov edx, dword [esp + 0x78]
push edx
call fcn.004ba3a4
add esp, 4
xor eax, eax
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], ax
cmp dword [esp + 0x54], edi
jb 0x4482a1
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004ba3a4
add esp, 4
xor edx, edx
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], dx
cmp dword [esp + 0x70], edi
jb 0x4482c3
mov eax, dword [esp + 0x5c]
push eax
call fcn.004ba3a4
add esp, 4
xor ecx, ecx
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], cx
cmp dword [esp + 0xa8], edi
jb 0x4482eb
mov edx, dword [esp + 0x94]
push edx
call fcn.004ba3a4
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x538]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x520]
xor ecx, esp
call fcn.004ba3af
mov esp, ebp
pop ebp
ret