Function at 0x100cafb0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x101afa28
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x14
push ebp
xor ebp, ebp
push edi
cmp eax, ebp
mov edi, ecx
je 0x100cb261
push ebx
push esi
mov esi, dword [esp + 0x38]
xor ecx, ecx
mov dword [esp + 0x10], 1
lea eax, [esi + 0x148]
mov edx, eax
push eax
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
call dword [sym.imp.ole32.dll_CoCreateGuid]
lea eax, [edi + 0x620]
push 1
push eax
lea ecx, [esp + 0x20]
call fcn.100e9195
mov eax, dword [edi + 0x648]
xor ebx, ebx
cmp eax, ebp
mov dword [esp + 0x2c], ebp
jle 0x100cb0fd
lea eax, [esi + 0xa0]
push 0x50
push eax
mov eax, dword [edi + 0x644]
lea ecx, [eax + ebp + 0xa0]
push ecx
call fcn.100e9f19
add esp, 0xc
test eax, eax
jne 0x100cb067
mov ecx, dword [edi + 0x644]
mov edx, ebp
push 0x50
add edx, ecx
push esi
push edx
call fcn.100e9f19
add esp, 0xc
test eax, eax
je 0x100cb07d
mov eax, dword [edi + 0x648]
inc ebx
add ebp, 0x160
cmp ebx, eax
jl 0x100cb02a
jmp 0x100cb0fd
mov ecx, dword [edi + 0x644]
lea eax, [ebx + ebx*4]
mov dword [esp + 0x10], 0
lea eax, [ebx + eax*2]
shl eax, 5
lea edx, [eax + ecx + 0x148]
lea ecx, [esi + 0x148]
mov ebx, dword [edx]
mov dword [ecx], ebx
mov ebx, dword [edx + 4]
mov dword [ecx + 4], ebx
mov ebx, dword [edx + 8]
mov dword [ecx + 8], ebx
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov ecx, dword [edi + 0x644]
mov edx, dword [esi + 0x144]
mov dword [eax + ecx + 0x144], edx
mov ecx, dword [edi + 0x644]
mov edx, dword [esi + 0x140]
mov dword [eax + ecx + 0x140], edx
mov ecx, dword [edi + 0x644]
mov edx, dword [esi + 0x158]
mov dword [eax + ecx + 0x158], edx
mov edx, dword [esi + 0x15c]
mov dword [eax + ecx + 0x15c], edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.100e91d1
lea eax, [esi + 0x148]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.10145970
add esp, 8
lea ecx, [edi + 0x414]
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
mov dword [esp + 0x38], 1
call fcn.1019600e
mov bl, 3
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], bl
call fcn.10195cf5
mov eax, dword [esp + 0x38]
push 0
push 0
push 2
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
mov eax, dword [0x102acd68]
test eax, eax
je 0x100cb1c8
mov ecx, dword [esp + 0x38]
push ecx
lea ecx, [esp + 0x18]
call fcn.10102670
mov edx, dword [esp + 0x10]
mov eax, dword [eax]
mov ecx, dword [esi + 0x144]
push edx
mov edx, dword [esi + 0x140]
push ebp
push eax
push ecx
lea eax, [esi + 0xa0]
push edx
push eax
push esi
push str.CIMMessageFile::AddInfo___s____s____d____d____s____x____d_
push str.CIMMessageFile
push 0xffffffffffffffff
push 0x102ac4d4
mov byte [esp + 0x58], 4
call fcn.10140e70
add esp, 0x2c
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], bl
call fcn.10102ee0
cmp ebp, 0xffffffff
je 0x100cb1f7
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x14]
push 0
push ecx
push edx
call fcn.100e9958
add esp, 4
shl eax, 1
push eax
mov eax, dword [esp + 0x40]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100cb24e
lea eax, [edi + 0x620]
push 1
push eax
lea ecx, [esp + 0x20]
call fcn.100e9195
lea ebp, [edi + 0x640]
push 0xffffffffffffffff
mov byte [esp + 0x30], 5
mov edi, dword [ebp + 8]
lea ecx, [edi + 1]
push ecx
mov ecx, ebp
call fcn.100c7e60
mov eax, dword [ebp + 4]
lea edx, [edi + edi*4]
mov ecx, 0x58
lea edi, [edi + edx*2]
shl edi, 5
add edi, eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.100e91d1
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], 0xffffffff
call fcn.10195cf5
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 8