Function at 0x4302d1
Capabilities:
Write file on windows

Disassembly:
push 0x80
mov eax, 0x46b883
call fcn.004509ac
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x88]
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x7a]
push eax
movzx eax, word [ebp - 0x7c]
push eax
movzx eax, word [ebp - 0x7e]
push eax
movzx eax, word [ebp - 0x80]
push eax
movzx eax, word [ebp - 0x88]
push eax
movzx eax, word [ebp - 0x86]
push eax
movzx eax, word [ebp - 0x82]
push eax
push str.__02d._02d._04d___02d:_02d:_02d._03d_
lea eax, [ebp - 0x60]
push 0x28
push eax
call fcn.0044e180
add esp, 0x28
call fcn.0043ec5a
push eax
lea ecx, [ebp - 0x68]
call fcn.00401970
push dword [esi + 8]
xor ebx, ebx
push dword [esi + 4]
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x68]
push str._s__ThID:__6d____60s_Ln:_4d_
push eax
call fcn.004090f0
add esp, 0x18
call fcn.0043ec5a
push eax
lea ecx, [ebp - 0x6c]
call fcn.00401970
push edi
push dword [esi]
lea eax, [ebp - 0x6c]
push dword [ebp - 0x68]
mov byte [ebp - 4], 1
push str._s_data:__s__s_r_n
push eax
call fcn.004090f0
add esp, 0x14
cmp dword [esi + 0xc], ebx
mov byte [ebp - 0x61], 1
je 0x430437
call fcn.0043ec5a
push eax
lea ecx, [ebp - 0x70]
call fcn.00401970
lea eax, [ebp - 0x70]
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0042ff2d
cmp al, 1
mov byte [ebp - 0x61], al
jne 0x430428
push 0x475b78
lea ecx, [ebp - 0x74]
call fcn.004018b0
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x8c]
push eax
mov byte [ebp - 4], 3
call fcn.004062a0
lea ecx, [ebp - 0x70]
push ecx
push eax
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 4], 4
call fcn.004062a0
add esp, 0x18
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 5
call fcn.00406110
mov ecx, dword [ebp - 0x78]
add ecx, 0xfffffff0
call fcn.00401830
mov ecx, dword [ebp - 0x8c]
add ecx, 0xfffffff0
call fcn.00401830
mov ecx, dword [ebp - 0x74]
add ecx, 0xfffffff0
call fcn.00401830
mov ecx, dword [ebp - 0x70]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00401830
push 0xfa0
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4304d4
mov eax, dword [esi + 0x10]
push ebx
push 0x80
push 4
push ebx
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x430476
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4304d4
push 2
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], ebx
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp byte [ebp - 0x61], bl
jne 0x4304d4
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
call esi
push eax
push str.WriteLog___Error_while_trying_to_get_Error_code_and_text__Failed_with_Error_code__d__0x_x_
push 1
push 0xe2
push str.CLogger::WriteLog
call fcn.00430235
add esp, 0x18
mov ecx, dword [ebp - 0x6c]
add ecx, 0xfffffff0
call fcn.00401830
mov ecx, dword [ebp - 0x68]
add ecx, 0xfffffff0
call fcn.00401830
call fcn.00450a2f
ret 4