Function at 0x100c5dc0
Capabilities:
Delete file
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x101b3176
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x23c
mov eax, dword [esp + 0x24c]
mov dword [esp + 4], ecx
or eax, dword [esp + 0x250]
je 0x100c6210
mov ecx, dword [esp + 0x254]
mov eax, dword [esp + 0x258]
or ecx, eax
je 0x100c6210
push ebx
push ebp
push esi
mov esi, dword [esp + 0x26c]
xor ebp, ebp
push edi
mov ecx, dword [esi + 4]
cmp ecx, ebp
je 0x100c5e3a
mov eax, dword [esi + 8]
cmp eax, ebp
jbe 0x100c5e3a
mov edx, ecx
mov edi, eax
mov eax, dword [edx]
cmp eax, ebp
je 0x100c5e34
mov eax, dword [eax]
cmp eax, ebp
jne 0x100c5e2e
add edx, 4
dec edi
jne 0x100c5e28
push ecx
call fcn.1019a457
mov ecx, dword [esi + 0x14]
add esp, 4
mov dword [esi + 4], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebp
call fcn.10198830
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x46]
mov word [esp + 0x44], bp
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x264]
lea edx, [esp + 0x44]
stosw word es:[edi], ax
mov eax, dword [esp + 0x268]
push 0x104
push edx
mov edx, dword [esp + 0x268]
push eax
mov eax, dword [esp + 0x268]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
mov dword [esi + 0x14], ebp
xor ebx, ebx
call fcn.100c6570
lea ecx, [esp + 0x40]
call fcn.100ccc40
lea ecx, [esp + 0x10]
mov dword [esp + 0x254], ebp
call fcn.10182a20
xor ecx, ecx
mov byte [esp + 0x254], 1
mov dword [esp + 0x28], ecx
push ebp
mov dword [esp + 0x30], ecx
push 0x80
push 3
mov dword [esp + 0x3c], ecx
push ebp
push 7
lea edx, [esp + 0x58]
mov dword [esp + 0x48], ecx
push SysReAllocString
push edx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x54], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x1c], edi
je 0x100c61a2
push ebp
push ebp
push ebp
push edi
mov dword [esp + 0x28], ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x18]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
push eax
lea ecx, [esp + 0x2c]
push 0x18
push ecx
push edi
call ebp
test eax, eax
je 0x100c6177
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100c6177
cmp dword [esp + 0x24], 1
jne 0x100c6199
mov eax, dword [esp + 0x28]
test eax, eax
je 0x100c6199
shl eax, 4
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x18]
call fcn.10182c30
lea edx, [esp + 0x18]
push ebx
push edx
lea ecx, [esp + 0x18]
call fcn.10182c20
push eax
lea ecx, [esp + 0x1c]
call fcn.10183340
push eax
push edi
call ebp
test eax, eax
je 0x100c5f93
lea ecx, [esp + 0x10]
call fcn.10182c20
cmp dword [esp + 0x18], eax
jae 0x100c5fb5
mov eax, dword [0x102cb7c8]
test eax, eax
je 0x100c5fb5
push str.CDingTalkMsgHashMgr::LoadFile_Data_Err
push str.Dingtalk
push 8
push 0x102caf34
call fcn.10131cf0
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.10182c20
push eax
lea ecx, [esp + 0x14]
call fcn.10183320
push eax
push 0
call fcn.10149d90
mov ecx, dword [esp + 0x40]
add esp, 0xc
cmp ecx, eax
jne 0x100c6141
fld qword [esp + 0x2c]
mov eax, dword [esp + 0x26c]
lea ecx, [esp + 0x10]
fstp qword [eax]
call fcn.10183340
mov ebx, eax
mov eax, dword [esp + 0x28]
test eax, eax
mov dword [esp + 0x14], 0
jbe 0x100c613a
mov eax, dword [ebx]
mov ecx, dword [esi + 8]
shr eax, 4
xor edx, edx
mov dword [esp + 0x20], ecx
div ecx
mov ecx, dword [esi + 4]
test ecx, ecx
mov dword [esp + 0x3c], edx
je 0x100c6054
mov eax, dword [ecx + edx*4]
test eax, eax
je 0x100c6050
mov edx, dword [ebx]
mov edi, dword [ebx + 4]
mov ebp, dword [eax + 8]
cmp ebp, edx
jne 0x100c6040
mov ebp, dword [eax + 0xc]
cmp ebp, edi
je 0x100c6048
mov eax, dword [eax]
test eax, eax
je 0x100c6050
jmp 0x100c6032
test eax, eax
jne 0x100c6103
test ecx, ecx
jne 0x100c6086
mov ecx, dword [esp + 0x20]
lea ebp, [ecx*4]
push ebp
call fcn.1019a42e
mov ecx, ebp
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 4], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x20]
mov dword [esi + 8], eax
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x100c60bc
mov ecx, dword [esi + 0x18]
push 0x20
lea eax, [esi + 0x14]
push ecx
push eax
call fcn.10198810
mov ecx, dword [esi + 0x18]
mov edx, ecx
shl edx, 5
dec ecx
test ecx, ecx
lea eax, [edx + eax - 0x1c]
jl 0x100c60bc
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x20
dec ecx
jne 0x100c60ae
mov edi, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
inc ecx
push 1
mov eax, dword [edi]
lea ebp, [edi + 8]
push ebp
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], ecx
call fcn.100c6730
lea ecx, [edi + 0x10]
push 1
push ecx
call fcn.100c6760
mov ecx, dword [esp + 0x3c]
mov eax, edi
mov dword [edi + 4], ecx
mov edx, dword [ebx]
mov dword [ebp], edx
mov edx, dword [ebx + 4]
mov dword [ebp + 4], edx
mov edx, dword [esi + 4]
mov edx, dword [edx + ecx*4]
mov dword [edi], edx
mov edx, dword [esi + 4]
mov dword [edx + ecx*4], edi
mov ecx, ebx
add eax, 0x10
mov edi, dword [esp + 0x1c]
add ebx, 0x10
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jb 0x100c600b
mov ebx, 1
jmp 0x100c6199
mov eax, dword [0x102cb7c8]
test eax, eax
je 0x100c6163
push str.CDingTalkMsgHashMgr::LoadFile_CRC_Err
push str.Dingtalk
push 8
push 0x102caf34
call fcn.10131cf0
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x100c61a0
mov eax, dword [0x102cb7c8]
test eax, eax
je 0x100c6199
push str.CDingTalkMsgHashMgr::LoadFile_Head_Err
push str.Dingtalk
push 8
push 0x102caf34
call fcn.10131cf0
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebp, ebp
cmp dword [0x102cb7c8], ebp
je 0x100c61ce
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x44]
push eax
push ecx
push ebx
push str.CDingTalkMsgHashMgr::LoadFile___d___s___lu_
push str.Dingtalk
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x1c
lea ecx, [esp + 0x10]
mov byte [esp + 0x254], 0
call fcn.10182b80
lea ecx, [esp + 0x40]
mov dword [esp + 0x254], 0xffffffff
call fcn.100ccc60
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
add esp, 0x248
ret 0x18
mov ecx, dword [esp + 0x23c]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x248
ret 0x18