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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x11e16ea8
push eax
mov eax, dword [0x11e4b918]
mov dword fs:[0], esp
sub esp, 0x30
test eax, eax
push ebx
push esi
mov esi, ecx
je 0x11d933ae
push str.CHealthCheckLogMgr::CreateLog
push str.CHealthCheckLogMgr
push 0xffffffffffffffff
push 0x11e4b084
call fcn.11dc80a0
add esp, 0x10
mov ecx, dword [esi + 0x10]
lea eax, [esi + 0x10]
mov edx, dword [ecx - 8]
test edx, edx
jne 0x11d933ce
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.11d9b160
push 0x11e45578
lea ecx, [esp + 0x14]
mov dword [esp + 0x48], 0
call fcn.11d9b3c0
push 0
push 0
lea edx, [esp + 0x2c]
mov ebx, 1
push 0
push edx
mov ecx, 0x11e4a6d8
mov byte [esp + 0x54], bl
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
call fcn.11d94830
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.11dada60
lea edx, [esp + 0x1c]
push str._Y__m__d__H__M__S
push edx
lea ecx, [esp + 0x34]
call fcn.11daeb30
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.11d9eae0
add esp, 0x1c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], bl
call fcn.11d9bb60
mov ecx, dword [esi + 0x6c]
push str..txt
inc ecx
mov dword [esi + 0x6c], ecx
lea ecx, [esp + 0x18]
call fcn.11d9b3c0
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.11d9c100
mov eax, dword [0x11e4b918]
mov byte [esp + 0x44], 4
test eax, eax
je 0x11d934db
mov ecx, dword [esp + 0xc]
push ecx
push str.CHealthCheckLogMgr::CreateLog_before_CreateFileW__1__wstrDest__s_
push str.CHealthCheckLogMgr
push 0xffffffffffffffff
push 0x11e4b084
call fcn.11dc80a0
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 0x11d93505
cmp eax, 0xffffffff
jne 0x11d9352a
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.11d9eae0
add esp, 0x14
inc edi
cmp edi, 3
jl 0x11d934e4
jmp 0x11d9356f
lea eax, [esp + 0x10]
lea ecx, [esi + 0x60]
push eax
call fcn.11d9bcf0
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 [0x11e4b918]
pop ebp
test eax, eax
je 0x11d93598
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 0x11e4b084
call fcn.11dc80a0
add esp, 0x18
cmp edi, 3
pop edi
jne 0x11d935ff
push 0x11e45578
lea ecx, [esi + 0x60]
call fcn.11d9bde0
lea ecx, [esp + 8]
mov dword [esi + 0x64], 0
mov byte [esp + 0x40], 3
call fcn.11d9bb60
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], bl
call fcn.11d9bb60
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 0
call fcn.11d9bb60
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], 0xffffffff
call fcn.11d9bb60
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.11d9bb60
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], bl
call fcn.11d9bb60
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 0
call fcn.11d9bb60
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], 0xffffffff
call fcn.11d9bb60
mov ecx, dword [esp + 0x38]
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret