Function at 0x4096e0
Capabilities:
Delete file
Extract resource via kernel32 functions
Set file attributes

Disassembly:
push ebp
sub esp, 0x264
lea ebp, [esp - 4]
mov eax, dword [0x48d044]
xor eax, ebp
mov dword [ebp + 0x264], eax
push 0x24
mov eax, 0x465f78
call fcn.00450d5a
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0x80100026
push 0x10000101
lea edi, [ebp - 0x20]
call fcn.00405dad
mov byte [ebp - 4], 2
mov dword [esp], str.PCCSData.ndr
mov eax, edi
push eax
call fcn.00405ae7
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x4098d2
mov word [ebp + 0x250], bx
xor eax, eax
lea edi, [ebp + 0x252]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0xa
push 0xa
lea eax, [ebp + 0x250]
push eax
push 0x6a
call fcn.0044f362
add esp, 0x10
cmp eax, ebx
jne 0x4098c9
push str.BINARYFILE
lea esi, [ebp - 0x28]
call fcn.0040b293
mov byte [ebp - 4], 3
push 0x46b878
lea esi, [ebp - 0x24]
call fcn.0040b293
mov byte [ebp - 4], 4
lea eax, [ebp + 0x250]
push eax
mov edi, esi
call fcn.0040ac4e
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
je 0x4098b1
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x4098b1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x2c], eax
cmp edi, ebx
je 0x4098b1
cmp eax, ebx
jbe 0x4098b1
mov dword [ebp], ebx
push 0x24c
push ebx
lea eax, [ebp + 4]
push eax
call fcn.0044c8f0
add esp, 0xc
lea eax, [ebp]
push eax
mov esi, dword [ebp + 0x270]
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x409852
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test byte [ebp], 0x10
jne 0x40984b
test byte [ebp], 1
je 0x409859
and dword [ebp], 0xfffffffe
push dword [ebp]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x409859
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp], 0x80
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 5
mov byte [ebp - 4], 6
push dword [ebp]
push 2
push ebx
push 0x40000000
push esi
lea eax, [ebp - 0x14]
push eax
call fcn.00404518
mov dword [ebp - 0x18], eax
cmp eax, ebx
jl 0x409893
push dword [ebp - 0x2c]
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
call fcn.00404588
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x14], ebx
je 0x4098a4
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 4
lea eax, [ebp - 0x14]
push eax
call fcn.00404666
mov byte [ebp - 4], 3
push dword [ebp - 0x24]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
mov byte [ebp - 4], 2
push dword [ebp - 0x28]
call esi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 1
push dword [ebp - 0x20]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 4], ebx
or dword [ebp - 4], 0xffffffff
push dword [ebp + 0x270]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x264]
xor ecx, ebp
call fcn.0044c8d7
add ebp, 0x268
leave
ret