Function at 0x403bb0
Capabilities:
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x427330]
xor eax, ebp
mov dword [ebp - 0xc], eax
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.00411070
add esp, 0xc
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
jne 0x403bf7
mov eax, dword [ebp - 8]
jmp 0x403e6e
cmp dword [ebp + 0xc], 0
jbe 0x403e61
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 0x403e61
push str.SETUPAQ.CAB
push 0x429e38
push 0x421230
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.00411a1b
add esp, 0x14
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 0x403c99
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.ExtractCABRes____LgData_d_oct_MaxDataRead_d_oct
call fcn.00408e70
add esp, 0xc
mov ecx, dword [ebp - 0x228]
push ecx
push 0x28
push 0
mov ecx, 0x428334
call fcn.00402220
mov edx, dword [ebp - 0x228]
cmp edx, dword [ebp - 0x21c]
jbe 0x403ddf
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x228]
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x234], 0
cmp dword [ebp - 0x230], 0
jbe 0x403ddd
cmp dword [0x429e34], 0
jne 0x403ddd
push 0
lea edx, [ebp - 0x220]
push edx
mov eax, dword [ebp - 0x22c]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x22c]
push ecx
mov edx, dword [ebp - 0x230]
push edx
push str.ExtractCABRes____dwLgRemain_d_dwNbOfBytesToWrite_d_Bytes_Write_d_oct
call fcn.00408e70
add esp, 0x10
mov eax, dword [ebp - 0x230]
cmp eax, dword [ebp - 0x21c]
jbe 0x403d7c
mov ecx, dword [ebp - 0x230]
sub ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x230], ecx
jmp 0x403d7e
jmp 0x403ddd
mov edx, dword [ebp - 0x230]
cmp edx, dword [ebp - 0x21c]
jbe 0x403d9a
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x22c], eax
jmp 0x403da6
mov ecx, dword [ebp - 0x230]
mov dword [ebp - 0x22c], ecx
mov edx, dword [ebp - 0x220]
mov eax, dword [ebp - 4]
lea ecx, [eax + edx*2]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x234]
add edx, dword [ebp - 0x220]
mov dword [ebp - 0x234], edx
mov eax, dword [ebp - 0x234]
push eax
mov ecx, 0x428334
call fcn.00402320
jmp 0x403cfd
jmp 0x403dfd
push 0
lea ecx, [ebp - 0x220]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x428334
call fcn.004023d0
mov eax, dword [ebp + 0xc]
push eax
push 0x64
push 0x28
mov ecx, 0x428334
call fcn.00402220
push 0x5dc
mov ecx, dword [0x429e28]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push 0x4291c4
lea edx, [ebp - 0x218]
push edx
call fcn.00401f20
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 8], 1
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.00411054
mov esp, ebp
pop ebp
ret