Function at 0x4a3a40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 0x2b0], ecx
push edi
mov dword [ebp - 0x2b8], eax
xor eax, eax
lea ecx, [ebp - 0x2a0]
push ecx
mov dword [ebp - 0x2b4], edx
mov word [ebp - 0x2a0], ax
mov dword [ebp - 0x29e], eax
mov dword [ebp - 0x29a], eax
mov dword [ebp - 0x296], eax
mov word [ebp - 0x292], ax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x28e]
push eax
mov word [ebp - 0x290], dx
call fcn.004e8ba0
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push 0x56d3b0
lea ecx, [ebp - 0x290]
push 0x5232c0
push ecx
call esi
lea edx, [ebp - 0x290]
push edx
call fcn.004e51cd
add esp, 0x1c
cmp eax, 0xffffffff
jne 0x4a3af4
lea eax, [ebp - 0x290]
push eax
call fcn.004e519b
add esp, 4
lea eax, [ebp - 0x290]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a3b00
sub eax, edx
sar eax, 1
push ebx
lea ecx, [ebp + eax*2 - 0x290]
push 0x5230c8
push ecx
call esi
lea edx, [ebp - 0x290]
push edx
call fcn.004e51cd
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4a3b42
lea eax, [ebp - 0x290]
push eax
call fcn.004e519b
add esp, 4
lea eax, [ebp - 0x290]
lea edx, [eax + 2]
jmp 0x4a3b50
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a3b50
movzx ecx, word [ebp - 0x29a]
sub eax, edx
movzx edx, word [ebp - 0x29e]
push ecx
movzx ecx, word [ebp - 0x2a0]
push edx
push ecx
sar eax, 1
lea edx, [ebp + eax*2 - 0x290]
push str._04u_02u_02u.log
push edx
call esi
add esp, 0x14
push 0x5681b8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edi, edi
mov esi, 0x56eb00
jmp 0x4a3ba0
mov ecx, esi
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4a3bca
test dx, dx
je 0x4a3bc6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4a3bca
add eax, 4
add ecx, 4
test dx, dx
jne 0x4a3ba4
xor eax, eax
jmp 0x4a3bcf
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4a3c01
mov eax, esi
lea edx, [eax + 2]
jmp 0x4a3be0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a3be0
sub eax, edx
sar eax, 1
je 0x4a3e91
add esi, 0x40
inc edi
cmp esi, 0x56f300
jl 0x4a3ba0
mov dword [ebp - 0x2a8], edi
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0x8000080
push 3
push 0
push 3
push 0xc0000000
lea eax, [ebp - 0x290]
push eax
mov dword [ebp - 0x2a4], 0
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4a3c83
push 0
push 0x8000080
push 1
push 0
push 3
push 0xc0000000
lea ecx, [ebp - 0x290]
push ecx
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x4a3ed9
push 0
lea edx, [ebp - 0x2a4]
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 - 0x2b8], 0
je 0x4a3ed2
mov eax, dword [ebp - 0x2a8]
inc dword [eax*4 + 0x56f300]
mov ecx, dword [eax*4 + 0x56f300]
xor edx, edx
push 0x7e
push edx
lea eax, [ebp - 0x86]
push eax
mov dword [ebp - 0x2a8], ecx
mov word [ebp - 0x88], dx
call fcn.004e8ba0
movzx ecx, word [ebp - 0x292]
movzx edx, word [ebp - 0x294]
movzx eax, word [ebp - 0x296]
push ecx
movzx ecx, word [ebp - 0x298]
push edx
mov edx, dword [ebp - 0x2a8]
push eax
push ecx
push edx
lea eax, [ebp - 0x88]
push str.__i__t__02u:_02u:_02u:_03u__t_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x88]
add esp, 0x28
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a3d16
sub eax, edx
push 0
sar eax, 1
lea ecx, [ebp - 0x2a4]
push ecx
lea edx, [eax + eax]
push edx
lea eax, [ebp - 0x88]
push eax
push esi
call edi
push 2
push 0
push 0
push esi
call ebx
mov eax, dword [ebp - 0x2b8]
lea ecx, [eax + 2]
mov edi, edi
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4a3d50
sub eax, ecx
push 0
sar eax, 1
lea ecx, [ebp - 0x2a4]
push ecx
lea edx, [eax + eax]
mov eax, dword [ebp - 0x2b8]
push edx
push eax
push esi
call edi
push 2
push 0
push 0
push esi
call ebx
push 0
lea ecx, [ebp - 0x2a4]
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 0x4a3ec1
lea edx, [ebp - 0x2a4]
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 ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a3dd0
sub eax, edx
push 0
sar eax, 1
lea ecx, [ebp - 0x2a4]
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 - 0x2a4]
push ecx
push 2
push 0x5232bc
push esi
call edi
cmp dword [ebp - 0x2b4], 0
push 0
je 0x4a3eb8
lea edx, [ebp - 0x2a4]
push edx
push 2
push 0x5206d4
push esi
call edi
push 2
push 0
push 0
push esi
call ebx
mov eax, dword [ebp - 0x2b4]
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4a3e44
sub eax, ecx
push 0
sar eax, 1
lea ecx, [ebp - 0x2a4]
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 - 0x2a4]
push ecx
push 2
push 0x5232bc
push esi
call edi
push 0
lea edx, [ebp - 0x2a4]
push edx
jmp 0x4a3ec8
mov dword [ebp - 0x2a8], edi
shl edi, 6
lea edx, [edi + 0x56eb00]
mov eax, ebx
sub edx, ebx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4a3ea4
jmp 0x4a3c07
lea eax, [ebp - 0x2a4]
push eax
jmp 0x4a3ec8
lea ecx, [ebp - 0x2a4]
push ecx
push 4
push 0x51ca0c
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5681b8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e4746
mov esp, ebp
pop ebp
ret