Function at 0x10009ac0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10026c41
push eax
mov eax, 0x1aa8
mov dword fs:[0], esp
call fcn.1000d8d0
mov eax, dword [0x10030f6c]
push ebx
push esi
push edi
mov dword [esp + 0x10], eax
xor ebx, ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x1abc], ebx
lea eax, [esp + 0x12b4]
push 0x400
push eax
push ebx
mov byte [esp + 0x1ac8], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x12b4]
push 0x5c
push ecx
call fcn.1000e429
add esp, 8
cmp eax, ebx
je 0x10009b2d
mov word [eax], bx
push 0x1003410c
lea ecx, [esp + 0x18]
call fcn.1001ee96
push 0x10030cec
push 0x10030708
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1ac4], 2
call fcn.1001e132
push ebx
lea ecx, [esp + 0x18]
call fcn.1001f508
lea edx, [esp + 0x12b4]
push eax
push edx
lea eax, [esp + 0x18]
push str._s_s.fbk
push eax
call fcn.1001e7a9
add esp, 0x10
lea ecx, [esp + 0x14]
push ebx
call fcn.1001f508
lea ecx, [esp + 0x12b4]
push eax
push ecx
lea edx, [esp + 0x14]
push str._s_s.raw
push edx
call fcn.1001e7a9
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x35]
mov byte [esp + 0x34], bl
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x55]
mov byte [esp + 0x54], bl
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x875]
mov byte [esp + 0x874], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0xc75]
mov byte [esp + 0xc74], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
add esp, 0x10
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
stosb byte es:[edi], al
push ebx
push ebx
lea eax, [esp + 0x2c]
push 0x1e
push eax
push 0xffffffffffffffff
push str.ASUS_Live_Update
push ebx
push ebx
call esi
push ebx
push ebx
lea ecx, [esp + 0x4c]
push 0x1e
push ecx
push 0xffffffffffffffff
call fcn.1000a920
push eax
push ebx
push ebx
call esi
push ebx
push ebx
lea edx, [esp + 0x86c]
push 0x400
push edx
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x28]
call fcn.1001f508
push eax
push ebx
push ebx
call esi
push ebx
push ebx
lea eax, [esp + 0xc6c]
push 0x400
push eax
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x24]
call fcn.1001f508
push eax
push ebx
push ebx
call esi
lea ecx, [esp + 0x1064]
push ecx
push ebx
lea ecx, [esp + 0x18]
call fcn.1001f508
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x10009cae
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea edx, [esp + 0xc64]
lea eax, [esp + 0x864]
push edx
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.10009210
add esp, 0x10
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x66]
mov word [esp + 0x64], bx
rep stosd dword es:[edi], eax
push ebx
push 0x80
push 4
push ebx
stosw word es:[edi], ax
mov eax, dword [esp + 0x1c]
push 1
push 0x40000000
push eax
mov word [esp + 0x38], 0xd
mov word [esp + 0x3a], 0xa
mov word [esp + 0x3c], bx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10009e8a
push ebp
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 0xb7
jne 0x10009d23
push 2
push ebx
push 0xffffffffffffffe8
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x10009da0
push 0xfe
push 0xff
lea ecx, [esp + 0x70]
push str._C_C
push ecx
call fcn.1000cd6c
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
lea edx, [esp + 0x1c]
push ebx
dec ecx
push edx
lea eax, [esp + 0x70]
push ecx
push eax
push esi
call ebp
lea ecx, [esp + 0x20]
push ecx
push ebx
mov ecx, 0x1003410c
call fcn.1001f508
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
push eax
lea edx, [esp + 0x70]
push str._product_name__s___s
push edx
call edi
add esp, 0x10
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x68]
push ebx
push eax
push ecx
call fcn.1000d3a2
add esp, 4
lea edx, [esp + 0x70]
shl eax, 1
push eax
push edx
push esi
call ebp
mov ecx, dword [esp + 0x1ac8]
lea eax, [esp + 0x20]
push eax
push ecx
lea edx, [esp + 0x70]
push str._zip_path___s___zip_path__s
push edx
call edi
add esp, 0x10
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x68]
push ebx
push eax
push ecx
call fcn.1000d3a2
add esp, 4
lea edx, [esp + 0x70]
shl eax, 1
push eax
push edx
push esi
call ebp
lea eax, [esp + 0x20]
lea ecx, [esp + 0x68]
push eax
push str.__product__s
push ecx
call edi
add esp, 0xc
lea edx, [esp + 0x1c]
lea eax, [esp + 0x68]
push ebx
push edx
push eax
call fcn.1000d3a2
add esp, 4
lea ecx, [esp + 0x70]
shl eax, 1
push eax
push ecx
push esi
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x868]
lea eax, [esp + 0xc68]
push edx
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x30]
push ecx
push edx
call fcn.10008fe0
add esp, 0x10
lea ecx, [esp + 0x10]
push ebx
call fcn.1001f508
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac0], 1
call fcn.1001f129
lea ecx, [esp + 0x10]
mov byte [esp + 0x1ac0], bl
call fcn.1001f129
lea ecx, [esp + 0x14]
mov dword [esp + 0x1ac0], 0xffffffff
call fcn.1001f129
mov eax, 1
pop ebp
jmp 0x10009ec1
lea ecx, [esp + 0x14]
mov byte [esp + 0x1abc], 1
call fcn.1001f129
lea ecx, [esp + 0xc]
mov byte [esp + 0x1abc], bl
call fcn.1001f129
lea ecx, [esp + 0x10]
mov dword [esp + 0x1abc], 0xffffffff
call fcn.1001f129
xor eax, eax
mov ecx, dword [esp + 0x1ab4]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1ab4
ret 4