Function at 0x100cae30
Capabilities:
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x101b0730
push eax
mov dword fs:[0], esp
sub esp, 0x1c
xor eax, eax
push ebp
mov ebp, ecx
cmp dword [esp + 0x30], eax
je 0x100cb0bf
mov dword [esp + 8], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
push ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
push esi
lea eax, [ebx + 0x148]
push edi
mov ecx, 4
lea edi, [esp + 0x1c]
mov esi, eax
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x100cae90
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
lea eax, [ebp + 0x620]
push 1
push eax
lea ecx, [esp + 0x24]
call fcn.100e92c5
mov ecx, dword [ebp + 0x648]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x34], eax
jle 0x100caf44
mov edx, dword [ebp + 0x644]
add edx, 0x148
lea edi, [ebx + 0x148]
mov ecx, 4
mov esi, edx
xor ebx, ebx
repe cmpsd dword [esi], dword es:[edi]
je 0x100caeec
mov ecx, dword [ebp + 0x648]
mov ebx, dword [esp + 0x40]
inc eax
add edx, 0x160
cmp eax, ecx
jl 0x100caec2
jmp 0x100caf44
mov ecx, dword [ebp + 0x648]
mov edx, dword [ebp + 0x644]
lea esi, [eax + eax*4]
sub ecx, eax
dec ecx
lea esi, [eax + esi*2]
shl esi, 5
add esi, edx
test ecx, ecx
je 0x100caf2b
lea edi, [ecx + ecx*4]
lea ecx, [ecx + edi*2]
shl ecx, 5
push ecx
lea ecx, [eax + eax*4 + 5]
lea eax, [eax + ecx*2 + 1]
shl eax, 5
add eax, edx
push eax
push esi
call fcn.100eafc0
add esp, 0xc
mov eax, dword [ebp + 0x648]
mov ebx, dword [esp + 0x40]
dec eax
mov dword [esp + 0x14], 1
mov dword [ebp + 0x648], eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xffffffff
call fcn.100e9301
lea ecx, [esp + 0x18]
call fcn.100cc000
lea eax, [ebx + 0x148]
lea ecx, [esp + 0x40]
push eax
push ecx
mov dword [esp + 0x3c], 1
call fcn.101466b0
add esp, 8
push eax
lea edx, [ebp + 0x414]
lea eax, [esp + 0x14]
push edx
push eax
mov byte [esp + 0x40], 2
call fcn.10196d4e
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 4
call fcn.10196a35
mov ecx, dword [esp + 0x10]
push 0
push 0
push 2
push 0
push 0
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov eax, dword [0x102acd68]
test eax, eax
je 0x100cb01d
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x40]
push edx
call fcn.101027a0
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov eax, dword [ebx + 0x144]
push ecx
mov ecx, dword [ebx + 0x140]
push esi
push edx
push eax
lea edx, [ebx + 0xa0]
push ecx
push edx
push ebx
push str.CIMMessageFile::AddInfoByGUID___s____s____d____d____s____x____d_
push str.CIMMessageFile
push 0xffffffffffffffff
push 0x102ac4d4
mov byte [esp + 0x60], 5
call fcn.10141bb0
add esp, 0x2c
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 4
call fcn.10103010
cmp esi, 0xffffffff
je 0x100cb048
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x40]
push 0
push eax
push edi
call fcn.100e9a88
add esp, 4
shl eax, 1
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp + 0x620]
push 1
push eax
lea ecx, [esp + 0x24]
call fcn.100e92c5
mov esi, dword [ebp + 0x648]
add ebp, 0x640
push 0xffffffffffffffff
mov byte [esp + 0x38], 6
lea ecx, [esi + 1]
push ecx
mov ecx, ebp
call fcn.100c7f90
mov eax, dword [ebp + 4]
lea edx, [esi + esi*4]
mov ecx, 0x58
lea edi, [esi + edx*2]
mov esi, ebx
shl edi, 5
add edi, eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 4
call fcn.100e9301
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 1
call fcn.10196a35
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0xffffffff
call fcn.100cc020
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
pop ebp
mov dword fs:[0], ecx
add esp, 0x28
ret 8