Function at 0x43c2d0
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x258
push ebx
push edi
push str.KaseyaStatisticLogByPeriodSema
push 0
lea eax, [esp + 0x18]
mov edi, 1
push eax
mov dword [esp + 0x1c], 0xc
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x43c336
lea ecx, [esp + 0x60]
push str.ERROR:_Failed_to_create_mutex_in_writeNetStatsLog__._n
push ecx
call fcn.00458ee7
lea edx, [esp + 0x64]
push edx
mov dword [esp + 0x68], edi
call fcn.0043e010
add esp, 0xc
pop edi
pop ebx
add esp, 0x258
ret
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x43c373
lea eax, [esp + 0x60]
push str.ERROR:_Failed_to_obtain_mutex_in_writeNetStatsLog__._n
push eax
call fcn.00458ee7
lea ecx, [esp + 0x64]
push ecx
mov dword [esp + 0x68], edi
call fcn.0043e010
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
add esp, 0x258
ret
mov eax, dword [0x4ccb0c]
push esi
xor esi, esi
test eax, eax
je 0x43c399
nop
mov ecx, dword [eax + 4]
test ecx, ecx
jg 0x43c38e
mov ecx, dword [eax + 8]
test ecx, ecx
jle 0x43c38f
inc esi
mov eax, dword [eax]
test eax, eax
jne 0x43c380
test esi, esi
jne 0x43c3b1
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
pop ebx
add esp, 0x258
ret
imul esi, esi, 0x14c
push ebp
push esi
call fcn.00459619
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x43c3e8
push esi
lea edx, [esp + 0x6c]
push str.Failed_to_allocate__d_bytes_to_write_to_the_net_stats_log._n
push edx
call fcn.00458ee7
lea eax, [esp + 0x70]
push eax
mov dword [esp + 0x74], edi
call fcn.0043e010
add esp, 0x10
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x10]
push eax
call fcn.0045a1c9
lea ecx, [esp + 0x14]
push ecx
call fcn.0045b026
xor edx, edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edx
push eax
mov dword [esp + 0x40], edx
push str._H:_M:_S__b__d__Y
mov dword [esp + 0x48], edx
lea eax, [esp + 0x34]
mov dword [esp + 0x4c], edx
push 0x20
push eax
mov dword [esp + 0x58], edx
call fcn.0045b00b
mov eax, dword [0x4ccb0c]
add esp, 0x18
test eax, eax
mov ebx, eax
je 0x43c604
mov eax, dword [ebx + 4]
test eax, eax
jg 0x43c468
mov eax, dword [ebx + 8]
test eax, eax
jle 0x43c5fa
lea eax, [esp + 0x24]
mov esi, eax
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43c470
mov edi, ebp
sub eax, esi
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x43c480
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 4]
push ecx
lea edx, [esp + 0x48]
push str.___7d
push edx
call fcn.00458ee7
lea eax, [esp + 0x50]
add esp, 0xc
mov dword [ebx + 4], 0
mov ecx, eax
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43c4c0
mov edi, ebp
sub eax, ecx
mov esi, ecx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x43c4d0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 8]
push eax
lea ecx, [esp + 0x48]
push str.___7d
push ecx
call fcn.00458ee7
lea eax, [esp + 0x50]
add esp, 0xc
mov dword [ebx + 8], 0
mov ecx, eax
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43c510
mov edi, ebp
sub eax, ecx
mov esi, ecx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x43c520
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x43c540
mov edx, dword [0x47ac20]
lea esi, [ebx + 0xc]
push 0x27
push esi
mov dword [edi], edx
call fcn.004590c0
add esp, 8
test eax, eax
jne 0x43c58c
mov eax, esi
mov edx, esi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43c566
mov edi, ebp
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x43c572
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x43c5d8
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43c591
sub eax, edx
mov edx, eax
mov eax, esi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43c5a1
sub eax, edi
mov ecx, eax
test ecx, ecx
jle 0x43c5d8
lea eax, [edx + ebp]
mov edx, ecx
mov cl, byte [esi]
cmp cl, 0x27
jne 0x43c5d1
mov byte [eax], 0x26
inc eax
mov byte [eax], 0x23
inc eax
mov byte [eax], 0x33
inc eax
mov byte [eax], 0x39
inc eax
mov byte [eax], 0x3b
jmp 0x43c5d3
mov byte [eax], cl
inc eax
inc esi
dec edx
jne 0x43c5b5
mov edi, ebp
dec edi
jmp 0x43c5e0
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x43c5e0
mov ax, word [0x47ac1c]
mov word [edi], ax
mov cl, byte [0x47ac1e]
mov byte [edi + 2], cl
mov ebx, dword [ebx]
test ebx, ebx
jne 0x43c456
push 2
call fcn.0043d240
mov esi, eax
add esp, 4
test esi, esi
je 0x43c624
push ebp
push esi
call fcn.0045917e
push esi
call fcn.00459521
add esp, 0xc
push ebp
call fcn.0045932f
mov esi, dword [esp + 0x18]
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop esi
pop edi
pop ebx
add esp, 0x258
ret