Function at 0x100c54c0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x101af046
push eax
mov dword fs:[0], esp
sub esp, 0x22c
mov edx, ecx
push ebx
mov ebx, dword [esp + 0x258]
push esi
xor esi, esi
mov eax, dword [ebx + 0xc]
cmp eax, esi
je 0x100c573b
push ebp
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x36]
mov word [esp + 0x34], si
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x258]
push 0x104
stosw word es:[edi], ax
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x25c]
push ecx
mov ecx, dword [esp + 0x25c]
push eax
mov eax, dword [esp + 0x25c]
push ecx
push eax
mov ecx, edx
call fcn.100c5800
mov eax, dword [esp + 0x260]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x25c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], eax
call fcn.1017c8c0
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
shl ecx, 4
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x24c], esi
call fcn.1017cad0
lea ecx, [esp + 0x10]
call fcn.1017d1e0
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x14], esi
neg ecx
sbb ecx, ecx
cmp ecx, esi
je 0x100c5640
jmp 0x100c55bd
mov ebx, dword [esp + 0x264]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
cmp edx, esi
je 0x100c5640
cmp ecx, 0xffffffff
mov esi, ecx
jne 0x100c55ea
mov edi, dword [ebx + 8]
xor ecx, ecx
test edi, edi
jbe 0x100c55ea
mov edx, dword [ebx + 4]
mov esi, dword [edx]
test esi, esi
jne 0x100c55ea
inc ecx
add edx, 4
cmp ecx, edi
jb 0x100c55dc
mov ecx, dword [esi]
test ecx, ecx
jne 0x100c560f
mov edx, dword [esi + 4]
mov ebp, dword [ebx + 8]
inc edx
cmp edx, ebp
jae 0x100c560f
mov ecx, dword [ebx + 4]
lea edi, [ecx + edx*4]
mov ecx, dword [edi]
test ecx, ecx
jne 0x100c560f
inc edx
add edi, 4
cmp edx, ebp
jb 0x100c5601
add esi, 0x10
mov ebx, esi
mov edx, dword [ebx]
mov esi, dword [ebx + 4]
mov edi, dword [ebx + 8]
mov ebp, dword [ebx + 0xc]
mov ebx, eax
add eax, 0x10
mov dword [ebx], edx
mov dword [ebx + 4], esi
mov esi, dword [esp + 0x14]
inc esi
mov dword [ebx + 8], edi
mov dword [esp + 0x14], esi
test ecx, ecx
mov dword [ebx + 0xc], ebp
jne 0x100c55b6
lea ecx, [esp + 0x10]
call fcn.1017cac0
push eax
lea ecx, [esp + 0x14]
call fcn.1017d1c0
push eax
push 0
call fcn.10145d20
mov dword [esp + 0x34], eax
mov eax, dword [0x102acd68]
add esp, 0xc
test eax, eax
je 0x100c568e
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x34]
push edx
push eax
push str.CDingTalkMsgHashMgr::SaveFile___s___lu_
push str.Dingtalk
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x18
lea ecx, [esp + 0x30]
call fcn.100cbed0
push 0
push 0x80
push 4
push 0
push 7
lea ecx, [esp + 0x48]
push 0xc0000000
push ecx
mov byte [esp + 0x260], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
mov esi, eax
push 0
push 0
push esi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea edx, [esp + 0x14]
push 0
push edx
lea eax, [esp + 0x20]
push 0x18
push eax
push esi
call edi
lea ecx, [esp + 0x14]
push 0
push ecx
lea ecx, [esp + 0x18]
call fcn.1017cac0
push eax
lea ecx, [esp + 0x1c]
call fcn.1017d1c0
push eax
push esi
call edi
pop edi
cmp esi, 0xffffffff
pop ebp
je 0x100c5716
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x28]
mov byte [esp + 0x23c], 0
call fcn.100cbef0
lea ecx, [esp + 8]
mov dword [esp + 0x23c], 0xffffffff
call fcn.1017ca20
mov ecx, dword [esp + 0x234]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x238
ret 0x1c