Function at 0x4293f0
Capabilities:
Check if file exists
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x4b1120]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.00447660
add esp, 0xc
cmp dword [ebp + 8], 0
jne 0x429439
mov eax, 0xd
jmp 0x4296c9
cmp dword [ebp + 0xc], 0
jbe 0x4296bc
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4296bc
push str.SETUPAQ.CAB
push 0x4c5b40
push 0x4957cc
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x224], eax
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x21c], 0x100000
mov eax, dword [ebp - 0x21c]
imul eax, eax, 0x64
cmp dword [ebp - 0x228], eax
jbe 0x4294d7
mov eax, dword [ebp - 0x228]
xor edx, edx
mov ecx, 0x64
div ecx
mov dword [ebp - 0x21c], eax
mov edx, dword [ebp - 0x21c]
push edx
mov eax, dword [ebp - 0x228]
push eax
push str.ExtractDATARes____LgData_d_oct_MaxDataRead_d_oct
call fcn.00437970
add esp, 0xc
mov ecx, dword [ebp - 0x228]
xor edx, edx
push edx
push ecx
push 0x28
push 0
mov ecx, 0x4b34a8
call fcn.0040f870
mov eax, dword [ebp - 0x228]
cmp eax, dword [ebp - 0x21c]
jbe 0x429623
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x22c], ecx
mov edx, dword [ebp - 0x228]
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x234], 0
cmp dword [ebp - 0x230], 0
jbe 0x429621
cmp dword [0x4c9c48], 0
jne 0x429621
push 0
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x22c]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x220]
push ecx
mov edx, dword [ebp - 0x22c]
push edx
mov eax, dword [ebp - 0x230]
push eax
push str.ExtractDATARes____dwLgRemain_d_dwNbOfBytesToWrite_d_Bytes_Write_d_oct
call fcn.00437970
add esp, 0x10
mov ecx, dword [ebp - 0x230]
cmp ecx, dword [ebp - 0x21c]
jbe 0x4295bd
mov edx, dword [ebp - 0x230]
sub edx, dword [ebp - 0x21c]
mov dword [ebp - 0x230], edx
jmp 0x4295bf
jmp 0x429621
mov eax, dword [ebp - 0x230]
cmp eax, dword [ebp - 0x21c]
jbe 0x4295db
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x22c], ecx
jmp 0x4295e7
mov edx, dword [ebp - 0x230]
mov dword [ebp - 0x22c], edx
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x234]
add eax, dword [ebp - 0x220]
mov dword [ebp - 0x234], eax
mov ecx, dword [ebp - 0x234]
xor edx, edx
push edx
push ecx
mov ecx, 0x4b34a8
call fcn.0040fc60
jmp 0x42953e
jmp 0x429641
push 0
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
mov ecx, 0x4b34a8
call fcn.0040fdf0
mov edx, dword [ebp + 0xc]
xor eax, eax
push eax
push edx
push 0x64
push 0x28
mov ecx, 0x4b34a8
call fcn.0040f870
cmp dword [ebp + 0xc], 0
jbe 0x429691
push 0x4b71d0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x429691
push 0x4b71d0
call fcn.0040cdb0
add esp, 4
mov ecx, dword [0x4b73e8]
push ecx
push 0x4b71d0
lea edx, [ebp - 0x218]
push edx
call fcn.004361e0
add esp, 0xc
mov dword [ebp - 8], eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00447645
mov esp, ebp
pop ebp
ret