Function at 0x11d72a10
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1c
mov eax, dword [0x11e297e0]
push ebx
push ebp
push esi
push edi
xor edi, edi
cmp eax, edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], edi
je 0x11d72a5b
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
push ebp
mov eax, dword [ebx + 4]
push esi
push eax
push str.CHealthCheckLogMgr::WriteLogsInner_dwLogsNum__d__dwStart__d__dwEnd__d_
push str.CHealthCheckLogMgr
push 0xffffffffffffffff
push 0x11e28f4c
call fcn.11da6ef0
add esp, 0x1c
jmp 0x11d72a67
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov eax, dword [ebx + 4]
cmp esi, eax
jae 0x11d72c5d
cmp ebp, eax
jae 0x11d72c5d
cmp esi, ebp
ja 0x11d72c5d
lea eax, [ebp + 1]
xor edx, edx
cmp esi, eax
jae 0x11d72c3f
mov ecx, dword [ebx]
sub eax, esi
lea ecx, [ecx + esi*4]
jmp 0x11d72a9c
mov edx, dword [esp + 0x18]
mov edi, dword [ecx]
add ecx, 4
dec eax
mov edi, dword [edi - 8]
lea edx, [edx + edi*2 + 8]
mov dword [esp + 0x18], edx
jne 0x11d72a98
mov edi, edx
test edi, edi
je 0x11d72c3f
push edi
call fcn.11d8efa0
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x1c], ebp
je 0x11d72c49
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov dword [esp + 0x14], esi
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x11d72aee
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx]
shl eax, 2
add ecx, eax
push 0
mov edx, dword [ecx]
mov ebx, dword [edx - 8]
shl ebx, 1
call fcn.11d7bab0
mov ecx, ebx
mov esi, eax
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x14]
mov ecx, eax
and ecx, 3
push 0xffffffffffffffff
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x34]
lea eax, [edx*4]
mov ecx, dword [ecx]
add ecx, eax
call fcn.11d7bb80
mov ecx, dword [str._r_n_r_n]
add ebp, ebx
mov eax, ebp
add ebp, 8
mov dword [eax], ecx
mov edx, dword [0x11e1a9a4]
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x14]
inc eax
inc ecx
cmp eax, ecx
mov dword [esp + 0x14], eax
jb 0x11d72aea
mov esi, dword [esp + 0x28]
push 2
push 0
push 0
mov edx, dword [esi + 0x64]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0x64]
lea eax, [esp + 0x24]
push 0
push eax
push edi
push ecx
push edx
mov dword [esp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x11d72c53
cmp edi, dword [esp + 0x24]
jne 0x11d72c53
mov eax, dword [esi + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov ecx, dword [esi + 0x68]
mov edx, dword [esp + 0x34]
sub ecx, edx
mov edx, dword [esp + 0x38]
lea eax, [ecx + edx + 1]
xor edx, edx
div dword [esi + 8]
mov dword [esi + 0x68], edx
mov eax, dword [0x11e297e0]
test eax, eax
je 0x11d72bee
push edx
push str.CHealthCheckLogMgr::WriteLogsInner_after_write_m_dwCurLogsNum__d_
push str.CHealthCheckLogMgr
push 0xffffffffffffffff
push 0x11e28f4c
call fcn.11da6ef0
add esp, 0x14
mov dword [esp + 0x20], 1
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x11d72c07
push ebp
call fcn.11d8efae
add esp, 4
mov eax, dword [0x11e297e0]
test eax, eax
je 0x11d72c8b
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
push eax
push esi
push str.CHealthCheckLogMgr::WriteLogsInner_bRet__d__dwDebug__d_
push str.CHealthCheckLogMgr
push 0xffffffffffffffff
push 0x11e28f4c
call fcn.11da6ef0
add esp, 0x18
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0xc
mov dword [esp + 0x10], 2
jmp 0x11d72c07
mov dword [esp + 0x10], 3
jmp 0x11d72bfa
mov dword [esp + 0x10], 4
jmp 0x11d72bf6
cmp dword [0x11e297e0], edi
je 0x11d72c7e
push str.CHealthCheckLogMgr::WriteLogsInner_error_param
push str.CHealthCheckLogMgr
push 0xffffffffffffffff
push 0x11e28f4c
call fcn.11da6ef0
add esp, 0x10
mov dword [esp + 0x10], 1
jmp 0x11d72c07
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0xc