Function at 0x4758f0
Capabilities:
Create process on windows
Delete file
Extract resource via kernel32 functions
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a501
mov eax, dword fs:[0]
push eax
sub esp, 0x730
mov eax, dword [0x494494]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 1
push 0x1a
lea eax, [ebp - 0x22c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x475965
lea ecx, [ebp - 0x434]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x43c], eax
cmp dword [ebp - 0x43c], 0
jne 0x475965
push 0x4870f4
lea edx, [ebp - 0x22c]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [ebp - 0x22c]
push eax
call fcn.00406ed1
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jg 0x475984
xor eax, eax
jmp 0x475c40
mov ecx, dword [ebp - 0x14]
movzx edx, word [ebp + ecx*2 - 0x22e]
cmp edx, 0x5c
je 0x4759a6
push 0x48710c
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x22c]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0
push 6
push 4
push 0
push 0
push 0xc0000000
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x4759e3
xor eax, eax
jmp 0x475c40
push 0x487110
movzx ecx, word [ebp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x438], eax
cmp dword [ebp - 0x10], 0
je 0x475c34
cmp dword [ebp - 0x18], 0
je 0x475c34
cmp dword [ebp - 0x438], 0
je 0x475c34
lea ecx, [ebp - 0x460]
call fcn.00403de0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x460]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
mov eax, dword [ebp - 0x438]
push eax
call fcn.004756a0
add esp, 0xc
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 0
jle 0x475af5
lea ecx, [ebp - 0x71c]
push ecx
lea ecx, [ebp - 0x460]
call fcn.00403f80
lea edx, [ebp - 0x72c]
push edx
lea ecx, [ebp - 0x460]
call fcn.00403fb0
push eax
lea ecx, [ebp - 0x71c]
call fcn.004040a0
movzx eax, al
test eax, eax
je 0x475af5
mov dword [ebp - 0x720], 0
lea ecx, [ebp - 0x71c]
call fcn.00404040
mov dword [ebp - 0x724], eax
push 0
lea ecx, [ebp - 0x720]
push ecx
mov edx, dword [ebp - 0x724]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x724]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x730], esp
lea edx, [ebp - 0x460]
push edx
call fcn.00403e60
mov dword [ebp - 0x73c], eax
call fcn.00461150
add esp, 0x1c
mov dword [ebp - 0x4bc], 0x44
push 0x40
push 0
lea eax, [ebp - 0x4b8]
push eax
call fcn.004067d0
add esp, 0xc
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x22c]
push edx
push 0x487118
lea eax, [ebp - 0x714]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x470]
push ecx
lea edx, [ebp - 0x4bc]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x714]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x444], 0
jne 0x475bc0
mov dword [ebp - 0x734], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x460]
call fcn.00403f60
mov eax, dword [ebp - 0x734]
jmp 0x475c40
cmp dword [ebp + 0x14], 0
je 0x475bdb
push 0
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0x22c]
push edx
call fcn.00461770
add esp, 0xc
cmp dword [ebp + 0x18], 0
je 0x475c05
push 0xffffffffffffffff
mov eax, dword [ebp - 0x470]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp + 0x1c], 0
je 0x475c03
lea ecx, [ebp - 0x22c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x475c10
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x738], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x460]
call fcn.00403f60
mov eax, dword [ebp - 0x738]
jmp 0x475c40
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00405ce8
mov esp, ebp
pop ebp
ret