Function at 0x100c6230
Capabilities:
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x101b3196
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 0x100c64ab
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.100c6570
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.10182a20
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
shl ecx, 4
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x24c], esi
call fcn.10182c30
lea ecx, [esp + 0x10]
call fcn.10183340
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x14], esi
neg ecx
sbb ecx, ecx
cmp ecx, esi
je 0x100c63b0
jmp 0x100c632d
mov ebx, dword [esp + 0x264]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
cmp edx, esi
je 0x100c63b0
cmp ecx, 0xffffffff
mov esi, ecx
jne 0x100c635a
mov edi, dword [ebx + 8]
xor ecx, ecx
test edi, edi
jbe 0x100c635a
mov edx, dword [ebx + 4]
mov esi, dword [edx]
test esi, esi
jne 0x100c635a
inc ecx
add edx, 4
cmp ecx, edi
jb 0x100c634c
mov ecx, dword [esi]
test ecx, ecx
jne 0x100c637f
mov edx, dword [esi + 4]
mov ebp, dword [ebx + 8]
inc edx
cmp edx, ebp
jae 0x100c637f
mov ecx, dword [ebx + 4]
lea edi, [ecx + edx*4]
mov ecx, dword [edi]
test ecx, ecx
jne 0x100c637f
inc edx
add edi, 4
cmp edx, ebp
jb 0x100c6371
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 0x100c6326
lea ecx, [esp + 0x10]
call fcn.10182c20
push eax
lea ecx, [esp + 0x14]
call fcn.10183320
push eax
push 0
call fcn.10149d90
mov dword [esp + 0x34], eax
mov eax, dword [0x102cb7c8]
add esp, 0xc
test eax, eax
je 0x100c63fe
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 0x102caf34
call fcn.10131cf0
add esp, 0x18
lea ecx, [esp + 0x30]
call fcn.100ccc40
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.10182c20
push eax
lea ecx, [esp + 0x1c]
call fcn.10183320
push eax
push esi
call edi
pop edi
cmp esi, 0xffffffff
pop ebp
je 0x100c6486
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x28]
mov byte [esp + 0x23c], 0
call fcn.100ccc60
lea ecx, [esp + 8]
mov dword [esp + 0x23c], 0xffffffff
call fcn.10182b80
mov ecx, dword [esp + 0x234]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x238
ret 0x1c