Function at 0x1000134d
Capabilities:
Write file on windows

Disassembly:
jmp 0x1000dea0
mov eax, 0x408ac
call fcn.10033d10
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esp + 0x18]
push edi
mov ecx, dword [esi + 4]
mov dl, byte [esi]
push eax
xor edi, edi
xor ebx, ebx
push ecx
push edx
mov dword [esp + 0x20], edi
mov byte [esp + 0x28], bl
call fcn.10001c99
add esp, 0xc
cmp eax, edi
je 0x1000e0d1
mov eax, dword [esp + 0x1c]
push eax
call fcn.1000119f
add esp, 4
cmp eax, edi
je 0x1000e0d1
mov ebx, 1
lea ecx, [esi + 0x1c]
push ebx
push 0x10265d28
push ecx
call fcn.10001a28
add esp, 0xc
test eax, eax
jne 0x1000e0d1
mov ecx, esi
mov ebx, 2
call fcn.10001a4b
test eax, eax
jne 0x1000e0d1
xor edx, edx
lea eax, [esp + 0x20]
mov dword [esp + 0x24], edx
push eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x30], edx
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x31]
mov byte [esp + 0x30], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x30]
push 0x64
lea edx, [esp + 0x24]
push ecx
push edx
mov ebx, 3
stosb byte es:[edi], al
call fcn.10001aa0
add esp, 0xc
test eax, eax
je 0x1000e0d1
lea ebp, [esi + 0xa78]
mov ecx, 0x41
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
lea eax, [esp + 0x30]
add esi, 0x974
push eax
push esi
push 0x10265a5c
push 0x103
push ebp
mov ebx, 4
call fcn.10033cb4
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x1000e0d1
push eax
push 0x80
push 2
push eax
push eax
push 0xc0000000
push ebp
mov ebx, 5
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000e0d1
push 1
lea ecx, [esp + 0x98]
push str.1:Log.dat
push ecx
mov ebx, 6
call fcn.10001339
add esp, 0xc
test eax, eax
jne 0x1000e0ca
mov ecx, 0xffff
lea edi, [esp + 0x8bd]
mov byte [esp + 0x8bc], al
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push edx
lea eax, [esp + 0x8c0]
push 0x40000
lea ecx, [esp + 0x9c]
xor ebp, ebp
push eax
push ecx
mov ebx, 7
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], ebp
call fcn.10001320
add esp, 0x10
test eax, eax
jne 0x1000e0a9
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x1000e0a9
lea edx, [esp + 0x18]
push ebp
push edx
push eax
lea eax, [esp + 0x8c8]
push eax
push esi
call edi
test eax, eax
je 0x1000e0a9
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x1000e0a9
cmp dword [esp + 0x10], eax
jb 0x1000e0a9
lea ecx, [esp + 0x10]
lea edx, [esp + 0x8bc]
push ecx
push 0x40000
lea eax, [esp + 0x9c]
push edx
push eax
call fcn.10001320
add esp, 0x10
test eax, eax
je 0x1000e057
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x94]
push ecx
call fcn.10001456
add esp, 4
mov dword [esp + 0x14], 1
jmp 0x1000e0d1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x1077f6f0]
test eax, eax
je 0x1000e106
mov esi, dword [esp + 0x14]
push esi
push ebx
push str.CSafeUDiskLog::CopyLogFile___d__d_
push 0x10265db4
push 0xffffffffffffffff
push 0x1077ee5c
call fcn.1005bc20
add esp, 0x18
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x408ac
ret
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x408ac
ret