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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10163740
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x101b90ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
push str.DATA
push str.BtnStyle
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x100e2f11
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0x1018344c
lea ecx, [ebp - 0x2c]
mov edi, eax
call fcn.100e3080
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.100e2850
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x100e2d92
mov eax, dword [eax]
push str.BtnStyle
push eax
lea eax, [ebp - 0x2c]
push str._s_s.cab
push eax
call fcn.100e3590
mov byte [ebp - 4], 0
add esp, 0x10
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x100e2dc2
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10042110
push dword [ebp - 0x2c]
call fcn.1010f7c1
add esp, 4
push 0
push 0x80
push 1
push 0
push 0
push 0x40000000
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x100e2e07
push 0
lea eax, [ebp - 0x34]
push eax
push edi
push dword [ebp - 0x30]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.100e2500
mov ecx, eax
test ecx, ecx
jne 0x100e2e1c
push 0x80004005
call fcn.100e2170
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
mov ecx, ebx
call fcn.100e2850
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x100e2e42
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x30]
push str._sTempBtnStyle_
push eax
call fcn.100e3590
mov byte [ebp - 4], 2
add esp, 0xc
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x100e2e6d
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10042110
mov esi, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [esi], ax
jne 0x100e2e8d
xor ecx, ecx
jmp 0x100e2ea1
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100e2e92
sub ecx, edx
sar ecx, 1
push ecx
lea edi, [ebx + 4]
push esi
mov ecx, edi
call fcn.10041f70
cmp dword [edi + 0x14], 8
jb 0x100e2eb5
mov edi, dword [edi]
push edi
push dword [ebp - 0x2c]
call fcn.100e3db0
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100e2eed
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x100e2f0c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10109ec2
mov esp, ebp
pop ebp
ret 4