Function at 0x11d725f0
Capabilities:
Access peb ldr_data
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x11df5fa8
push eax
mov eax, dword [0x11e297e0]
mov dword fs:[0], esp
sub esp, 0x30
test eax, eax
push ebx
push esi
mov esi, ecx
je 0x11d7262e
push str.CHealthCheckLogMgr::CreateLog
push str.CHealthCheckLogMgr
push 0xffffffffffffffff
push 0x11e28f4c
call fcn.11da6ef0
add esp, 0x10
mov ecx, dword [esi + 0x10]
lea eax, [esi + 0x10]
mov edx, dword [ecx - 8]
test edx, edx
jne 0x11d7264e
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.11d7a3e0
push 0x11e23498
lea ecx, [esp + 0x14]
mov dword [esp + 0x48], 0
call fcn.11d7a640
push 0
push 0
lea edx, [esp + 0x2c]
mov ebx, 1
push 0
push edx
mov ecx, 0x11e285a0
mov byte [esp + 0x54], bl
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
call fcn.11d73ab0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.11d8c8b0
lea edx, [esp + 0x1c]
push str._Y__m__d__H__M__S
push edx
lea ecx, [esp + 0x34]
call fcn.11d8d980
mov edi, eax
mov eax, dword [esi + 0x6c]
mov byte [esp + 0x44], 2
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi]
mov edx, dword [esp + 0x1c]
push eax
push ecx
push str.HealthCheckLog
push edx
lea eax, [esp + 0x24]
push str._s_s__s__d__d
push eax
call fcn.11d7dd60
add esp, 0x1c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], bl
call fcn.11d7ade0
mov ecx, dword [esi + 0x6c]
push str..txt
inc ecx
mov dword [esi + 0x6c], ecx
lea ecx, [esp + 0x18]
call fcn.11d7a640
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x10]
push edx
push eax
mov byte [esp + 0x50], 3
call fcn.11d7b380
mov eax, dword [0x11e297e0]
mov byte [esp + 0x44], 4
test eax, eax
je 0x11d7275b
mov ecx, dword [esp + 0xc]
push ecx
push str.CHealthCheckLogMgr::CreateLog_before_CreateFileW__1__wstrDest__s_
push str.CHealthCheckLogMgr
push 0xffffffffffffffff
push 0x11e28f4c
call fcn.11da6ef0
add esp, 0x14
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, ebx
mov edx, dword [esp + 0x10]
push 0
push 0
push ebx
push 0
push 7
push 0xc0000000
push edx
call ebp
test eax, eax
mov dword [esi + 0x64], eax
je 0x11d72785
cmp eax, 0xffffffff
jne 0x11d727aa
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push edi
push ecx
lea edx, [esp + 0x1c]
push str._s__d_s
push edx
call fcn.11d7dd60
add esp, 0x14
inc edi
cmp edi, 3
jl 0x11d72764
jmp 0x11d727ef
lea eax, [esp + 0x10]
lea ecx, [esi + 0x60]
push eax
call fcn.11d7af70
mov ecx, dword [esi + 0x64]
push 2
push 0
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [esi + 0x64]
lea edx, [esp + 0x20]
push 0
push edx
lea eax, [esp + 0x2c]
push 2
push eax
push ecx
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0xfeff
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [0x11e297e0]
pop ebp
test eax, eax
je 0x11d72818
mov edx, dword [esp + 0xc]
push edx
push edi
push str.CHealthCheckLogMgr::CreateDataFile_before_CreateFileW__2__nReTry__d__wstrDest__s_
push str.CHealthCheckLogMgr
push 0xffffffffffffffff
push 0x11e28f4c
call fcn.11da6ef0
add esp, 0x18
cmp edi, 3
pop edi
jne 0x11d7287f
push 0x11e23498
lea ecx, [esi + 0x60]
call fcn.11d7b060
lea ecx, [esp + 8]
mov dword [esi + 0x64], 0
mov byte [esp + 0x40], 3
call fcn.11d7ade0
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], bl
call fcn.11d7ade0
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 0
call fcn.11d7ade0
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], 0xffffffff
call fcn.11d7ade0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
lea ecx, [esp + 8]
mov byte [esp + 0x40], 3
call fcn.11d7ade0
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], bl
call fcn.11d7ade0
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 0
call fcn.11d7ade0
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], 0xffffffff
call fcn.11d7ade0
mov ecx, dword [esp + 0x38]
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret