Function at 0x4a3f00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x2b4], ecx
push edi
mov dword [ebp - 0x2b8], eax
xor eax, eax
lea ecx, [ebp - 0x2a4]
push ecx
mov dword [ebp - 0x2b0], edx
mov word [ebp - 0x2a4], ax
mov dword [ebp - 0x2a2], eax
mov dword [ebp - 0x29e], eax
mov dword [ebp - 0x29a], eax
mov word [ebp - 0x296], ax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x292]
push eax
mov word [ebp - 0x294], dx
call fcn.004e8ba0
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push 0x56d3b0
lea ecx, [ebp - 0x294]
push str._sErrorLog
push ecx
call esi
lea edx, [ebp - 0x294]
push edx
call fcn.004e51cd
add esp, 0x1c
cmp eax, 0xffffffff
jne 0x4a3fb1
lea eax, [ebp - 0x294]
push eax
call fcn.004e519b
add esp, 4
lea eax, [ebp - 0x294]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a3fc0
movzx ecx, word [ebp - 0x29e]
sub eax, edx
movzx edx, word [ebp - 0x2a2]
push ecx
movzx ecx, word [ebp - 0x2a4]
push edx
push ecx
sar eax, 1
lea edx, [ebp + eax*2 - 0x294]
push str._04u_02u_02u.log
push edx
call esi
add esp, 0x14
push 0x5681e8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0x8000080
push 3
push 0
push 3
push 0xc0000000
lea eax, [ebp - 0x294]
push eax
mov dword [ebp - 0x2a8], 0
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4a4080
push 0
push 0x8000080
push 1
push 0
push 3
push 0xc0000000
lea ecx, [ebp - 0x294]
push ecx
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x4a4225
push 0
lea edx, [ebp - 0x2a8]
push edx
push 2
lea eax, [ebp - 0x2ac]
push eax
push esi
mov word [ebp - 0x2ac], 0xfeff
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 2
push 0
push 0
push esi
call ebx
cmp dword [ebp - 0x2b4], 0
je 0x4a421e
xor ecx, ecx
push 0x7e
push ecx
lea edx, [ebp - 0x8a]
push edx
mov word [ebp - 0x8c], cx
call fcn.004e8ba0
movzx eax, word [ebp - 0x296]
movzx ecx, word [ebp - 0x298]
movzx edx, word [ebp - 0x29a]
add esp, 0xc
push eax
movzx eax, word [ebp - 0x29c]
push ecx
mov ecx, dword [ebp - 0x2b8]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea edx, [ebp - 0x8c]
push str.__i__t__s__t__02u:_02u:_02u:_03u__t_
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x8c]
add esp, 0x20
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a4103
sub eax, edx
push 0
sar eax, 1
lea ecx, [ebp - 0x2a8]
push ecx
lea edx, [eax + eax]
push edx
lea eax, [ebp - 0x8c]
push eax
push esi
call edi
push 2
push 0
push 0
push esi
call ebx
mov eax, dword [ebp - 0x2b4]
lea ecx, [eax + 2]
jmp 0x4a4140
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4a4140
sub eax, ecx
push 0
sar eax, 1
lea ecx, [ebp - 0x2a8]
push ecx
lea edx, [eax + eax]
mov eax, dword [ebp - 0x2b4]
push edx
push eax
push esi
call edi
push 2
push 0
push 0
push esi
call ebx
push 0
lea ecx, [ebp - 0x2a8]
push ecx
push 2
push 0x5232bc
push esi
call edi
push 2
push 0
push 0
push esi
call ebx
cmp dword [ebp - 0x2b0], 0
push 0
je 0x4a420d
lea edx, [ebp - 0x2a8]
push edx
push 2
push 0x5206d4
push esi
call edi
push 2
push 0
push 0
push esi
call ebx
mov eax, dword [ebp - 0x2b0]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a41c0
sub eax, edx
push 0
sar eax, 1
lea ecx, [ebp - 0x2a8]
push ecx
lea edx, [eax + eax]
mov eax, dword [ebp - 0x2b0]
push edx
push eax
push esi
call edi
push 2
push 0
push 0
push esi
call ebx
push 0
lea ecx, [ebp - 0x2a8]
push ecx
push 2
push 0x5232bc
push esi
call edi
push 0
lea edx, [ebp - 0x2a8]
push edx
jmp 0x4a4214
lea eax, [ebp - 0x2a8]
push eax
push 4
push 0x51ca0c
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5681e8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e4746
mov esp, ebp
pop ebp
ret