Function at 0x4032f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c798
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x5cbe64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebp - 0x278]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x40
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.0054de20
movzx eax, word [ebp - 0x26a]
add esp, 0xc
push eax
movzx eax, word [ebp - 0x26c]
push eax
movzx eax, word [ebp - 0x26e]
push eax
movzx eax, word [ebp - 0x270]
push eax
movzx eax, word [ebp - 0x272]
push eax
movzx eax, word [ebp - 0x276]
push eax
movzx eax, word [ebp - 0x278]
push eax
lea eax, [ebp - 0x50]
push str._04d__02d__02d__02d:_02d:_02d._d
push eax
call fcn.00403b00
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x268], 0
add esp, 0x24
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x268], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4033b8
sub ecx, edx
lea eax, [ebp - 0x50]
push ecx
push eax
lea ecx, [ebp - 0x268]
call fcn.00403940
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x254]
mov eax, edx
mov ecx, dword [ebp - 0x258]
sub eax, ecx
cmp eax, 1
jb 0x40340b
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x268]
cmovae eax, dword [ebp - 0x268]
mov word [eax + ecx], 0x20
jmp 0x40342c
push 1
push 0x5ad744
mov byte [ebp - 0x27c], 0
lea ecx, [ebp - 0x268]
push dword [ebp - 0x27c]
push 1
call fcn.00403650
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
mov esi, dword [ebp - 0x254]
mov eax, esi
cmovae ecx, dword [ebp + 8]
mov edi, dword [ebp + 0x18]
mov edx, dword [ebp - 0x258]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x40347b
lea eax, [edx + edi]
cmp esi, 0x10
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x268]
cmovae eax, dword [ebp - 0x268]
lea esi, [eax + edx]
push esi
call fcn.0054d8a0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x403494
mov byte [ebp - 0x27c], 0
lea ecx, [ebp - 0x268]
push dword [ebp - 0x27c]
push edi
call fcn.00403650
mov edx, dword [ebp - 0x254]
mov eax, edx
mov ecx, dword [ebp - 0x258]
sub eax, ecx
cmp eax, 1
jb 0x4034ca
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x268]
cmovae eax, dword [ebp - 0x268]
mov word [eax + ecx], 0xa
jmp 0x4034eb
push 1
push 0x5ad748
mov byte [ebp - 0x27c], 0
lea ecx, [ebp - 0x268]
push dword [ebp - 0x27c]
push 1
call fcn.00403650
push 0x200
lea eax, [ebp - 0x250]
push 0
push eax
call fcn.0054de20
mov eax, dword [ebx + 0xd4]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x403521
push dword [eax - 0xc]
lea ecx, [ebx + 0xd4]
call fcn.00402670
mov eax, dword [ebx + 0xd4]
push eax
lea eax, [ebp - 0x250]
push str._slancontrol.log
push eax
call fcn.00403b00
add esp, 0xc
lea eax, [ebp - 0x250]
push 0x5ad760
push eax
call fcn.005536d1
mov esi, eax
add esp, 8
test esi, esi
je 0x40357c
cmp dword [ebp - 0x254], 0x10
lea ecx, [ebp - 0x268]
push esi
cmovae ecx, dword [ebp - 0x268]
push 1
push dword [ebp - 0x258]
push ecx
call fcn.00553907
push esi
call fcn.005539e1
add esp, 0x14
mov edx, dword [ebp - 0x254]
cmp edx, 0x10
jb 0x4035b2
mov ecx, dword [ebp - 0x268]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4035a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40361b
push edx
push ecx
call fcn.0054beac
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0xf
mov byte [ebp - 0x268], 0
cmp edx, 0x10
jb 0x4035fd
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4035f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40361b
push edx
push ecx
call fcn.0054beac
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054bc2a
mov esp, ebp
pop ebp
ret 0x18
call fcn.00552fa6
int3