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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10164150
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x101ba0ec]
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 0x100e37d1
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 0x1018444c
lea ecx, [ebp - 0x2c]
mov edi, eax
call fcn.100e3940
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.100e3110
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x100e3652
mov eax, dword [eax]
push str.BtnStyle
push eax
lea eax, [ebp - 0x2c]
push str._s_s.cab
push eax
call fcn.100e3e50
mov byte [ebp - 4], 0
add esp, 0x10
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x100e3682
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10042120
push dword [ebp - 0x2c]
call fcn.10110103
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 0x100e36c7
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.100e2db0
mov ecx, eax
test ecx, ecx
jne 0x100e36dc
push 0x80004005
call fcn.100e2a20
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.100e3110
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x100e3702
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x30]
push str._sTempBtnStyle_
push eax
call fcn.100e3e50
mov byte [ebp - 4], 2
add esp, 0xc
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x100e372d
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10042120
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 0x100e374d
xor ecx, ecx
jmp 0x100e3761
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100e3752
sub ecx, edx
sar ecx, 1
push ecx
lea edi, [ebx + 4]
push esi
mov ecx, edi
call fcn.10041f80
cmp dword [edi + 0x14], 8
jb 0x100e3775
mov edi, dword [edi]
push edi
push dword [ebp - 0x2c]
call fcn.100e4670
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 0x100e37ad
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 0x100e37cc
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.1010a7f2
mov esp, ebp
pop ebp
ret 4