Function at 0x402c20
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Create process on windows
Delete file
Get common file path
Resolve function by parsing pe exports
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45bc0c
mov eax, dword fs:[0]
push eax
sub esp, 0x758
mov eax, dword [0x471220]
xor eax, esp
mov dword [esp + 0x750], eax
push ebx
push esi
push edi
mov eax, dword [0x471220]
xor eax, esp
push eax
lea eax, [esp + 0x768]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x2cc], 1
je 0x402c85
mov eax, dword [esi + 0x2d4]
test eax, eax
je 0x402c85
push 0
push 0
push 0x5f4
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
push 0x208
push eax
mov word [esp + 0x134], ax
lea eax, [esp + 0x136]
push eax
call fcn.00446050
mov eax, dword [esi + 0x2cc]
add esp, 0xc
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp eax, 2
jne 0x402cf3
push 0x104
lea eax, [esp + 0x130]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x12c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp dword [esi + 0x2c4], 8
lea eax, [esi + 0x2b0]
jb 0x402df1
mov eax, dword [eax]
jmp 0x402df1
cmp eax, 1
jne 0x402dfc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
xor eax, eax
push 0x7e
push eax
mov word [esp + 0xb4], ax
lea eax, [esp + 0xb6]
push eax
call fcn.00446050
xor eax, eax
mov dword [esp + 0x58], 0x46007e
mov word [esp + 0x8c], ax
mov eax, ebx
and eax, 0xff000000
mov dword [esp + 0x5c], 0x75005a
push eax
mov eax, ebx
mov dword [esp + 0x64], 0x5f0070
and eax, 0xff0000
mov dword [esp + 0x68], 0x300025
push eax
mov eax, ebx
mov dword [esp + 0x70], 0x580032
and eax, 0xff00
mov dword [esp + 0x74], 0x300025
push eax
movzx eax, bl
push eax
lea eax, [esp + 0x68]
mov dword [esp + 0x80], 0x780032
push eax
lea eax, [esp + 0xcc]
mov dword [esp + 0x88], 0x300025
push eax
mov dword [esp + 0x90], 0x580032
mov dword [esp + 0x94], 0x300025
mov dword [esp + 0x98], 0x580032
mov dword [esp + 0x9c], 0x65002e
mov dword [esp + 0xa0], 0x650058
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x24
lea eax, [esp + 0x12c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x130]
push eax
call edi
lea eax, [esp + 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor edi, edi
mov dword [esp + 0x14], vtable.CCURLWrapper.0
mov dword [esp + 0x770], edi
mov dword [esp + 0xa8], 0xf
mov dword [esp + 0xa4], edi
mov byte [esp + 0x94], 0
mov byte [esp + 0x770], 1
call fcn.0040af30
test eax, eax
je 0x402f9b
push eax
lea eax, [esp + 0x98]
push eax
lea ecx, [esi + 0x250]
call fcn.004013a0
test eax, eax
jne 0x402f9b
cmp dword [esp + 0xa4], eax
je 0x402f9b
push eax
push 0x80
push 2
push eax
push eax
push 0xc0000000
lea eax, [esp + 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x402f9b
cmp dword [esp + 0xa8], 0x10
lea eax, [esp + 0x30]
push edi
push eax
push dword [esp + 0xac]
lea ecx, [esp + 0xa0]
mov dword [esp + 0x3c], edi
cmovae ecx, dword [esp + 0xa0]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
lea eax, [esp + 0x12c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x402f9b
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], edi
mov byte [esp + 0x34], 0
lea eax, [esp + 0x12c]
mov byte [esp + 0x770], 2
push eax
lea ecx, [esp + 0x1c]
call fcn.004031f0
push edi
lea eax, [esp + 0x38]
mov byte [esp + 0x774], 3
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00409f40
add esp, 0xc
cmp dword [esp + 0x2c], 8
jb 0x402f42
push dword [esp + 0x18]
call fcn.00444346
add esp, 4
cmp dword [esp + 0x48], 0x10
lea ecx, [esp + 0x34]
lea eax, [esi + 0x268]
cmovae ecx, dword [esp + 0x34]
cmp dword [eax + 0x14], 0x10
jb 0x402f5e
mov eax, dword [eax]
push ecx
push eax
call fcn.004444a8
add esp, 8
mov ecx, 1
test eax, eax
cmove edi, ecx
cmp dword [esp + 0x48], 0x10
jb 0x402f85
push dword [esp + 0x34]
call fcn.00444346
add esp, 4
test edi, edi
je 0x402f9b
mov eax, dword [esi + 0x2cc]
cmp eax, 2
jne 0x402ff2
mov ecx, esi
call fcn.00402b50
push edi
push 1
push 0x52c
push dword [esi + 0x248]
call dword [sym.imp.USER32.dll_PostMessageW]
xor esi, esi
cmp dword [esp + 0xa8], 0x10
jb 0x402fca
push dword [esp + 0x94]
call fcn.00444346
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x768]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x750]
xor ecx, esp
call fcn.00443b8c
mov esp, ebp
pop ebp
ret 8
cmp eax, 1
jne 0x402f9b
xor eax, eax
push 0x208
push eax
mov word [esp + 0x344], ax
lea eax, [esp + 0x346]
push eax
call fcn.00446050
add esp, 0xc
lea eax, [esp + 0x33c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x33c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.Uninstall.exe
lea eax, [esp + 0x340]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x33c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x403112
xor eax, eax
push 0x208
push eax
mov word [esp + 0x554], ax
lea eax, [esp + 0x556]
push eax
call fcn.00446050
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x34c]
push eax
push str.__s___up_s
push 0xffffffffffffffff
lea eax, [esp + 0x568]
push 0x104
push eax
call fcn.00444584
push 0x40
lea eax, [esp + 0x78]
push 0
push eax
call fcn.00446050
add esp, 0x30
mov dword [esp + 0x4c], 0x44
lea eax, [esp + 0x34]
mov dword [esp + 0x78], 1
xorps xmm0, xmm0
movdqu xmmword [esp + 0x34], xmm0
push eax
lea eax, [esp + 0x50]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x56c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x402faf
push dword [esp + 0x38]
call ebx
push dword [esp + 0x34]
call ebx
jmp 0x402faf
mov esi, 0x80004005
jmp 0x402fb1