Function at 0x100cba70
Capabilities:
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x101b3b40
push eax
mov dword fs:[0], esp
sub esp, 0x1c
xor eax, eax
push ebp
mov ebp, ecx
cmp dword [esp + 0x30], eax
je 0x100cbcff
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 0x100cbad0
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
lea eax, [ebp + 0x620]
push 1
push eax
lea ecx, [esp + 0x24]
call fcn.100ec3b5
mov ecx, dword [ebp + 0x648]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x34], eax
jle 0x100cbb84
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 0x100cbb2c
mov ecx, dword [ebp + 0x648]
mov ebx, dword [esp + 0x40]
inc eax
add edx, 0x160
cmp eax, ecx
jl 0x100cbb02
jmp 0x100cbb84
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 0x100cbb6b
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.100ee0b0
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.100ec3f1
lea ecx, [esp + 0x18]
call fcn.100ccc40
lea eax, [ebx + 0x148]
lea ecx, [esp + 0x40]
push eax
push ecx
mov dword [esp + 0x3c], 1
call fcn.101499e0
add esp, 8
push eax
lea edx, [ebp + 0x414]
lea eax, [esp + 0x14]
push edx
push eax
mov byte [esp + 0x40], 2
call fcn.1019a07e
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 4
call fcn.10199d65
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 [0x102cb7c8]
test eax, eax
je 0x100cbc5d
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x40]
push edx
call fcn.101058a0
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 0x102caf34
mov byte [esp + 0x60], 5
call fcn.10131cf0
add esp, 0x2c
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 4
call fcn.10106110
cmp esi, 0xffffffff
je 0x100cbc88
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x40]
push 0
push eax
push edi
call fcn.100ecb78
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.100ec3b5
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.100c8bd0
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.100ec3f1
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 1
call fcn.10199d65
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0xffffffff
call fcn.100ccc60
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
pop ebp
mov dword fs:[0], ecx
add esp, 0x28
ret 8