Function at 0x4280e0
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532b69
mov eax, dword fs:[0]
push eax
mov eax, 0x290c
call fcn.0050b400
mov eax, dword [0x5949f0]
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 edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x2918], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x2800
lea eax, [ebp - 0x2850]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0050da00
add esp, 0xc
lea eax, [ebp + 0x18]
push eax
push ecx
push dword [ebp + 0x14]
push ecx
lea ecx, [ebp - 0x2850]
call fcn.004267c0
lea eax, [ebp - 0x28b8]
push eax
call fcn.00511ef5
add esp, 0x14
lea eax, [ebp - 0x28b8]
push eax
lea eax, [ebp - 0x28dc]
push eax
call fcn.005121c1
push 0x40
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.0050da00
add esp, 0x14
lea eax, [ebp - 0x50]
push dword [ebp - 0x28dc]
push dword [ebp - 0x28d8]
push dword [ebp - 0x28d4]
push str.__02d:_02d:_02d_
push eax
call fcn.0042bf60
add esp, 0x14
lea ecx, [ebp - 0x2880]
call fcn.00426ae0
lea eax, [ebp - 0x2880]
mov byte [ebp - 4], 1
push eax
mov edx, 0x5861c8
lea ecx, [ebp - 0x2914]
call fcn.0042be50
add esp, 4
push 0x5861c4
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28fc]
call fcn.004266e0
add esp, 4
mov esi, eax
lea eax, [ebp - 0x2880]
cmp eax, esi
je 0x42823e
mov eax, dword [ebp - 0x286c]
cmp eax, 0x10
jb 0x428217
inc eax
lea ecx, [ebp - 0x2880]
push eax
push dword [ebp - 0x2880]
call fcn.00423360
push esi
lea ecx, [ebp - 0x2880]
mov dword [ebp - 0x286c], 0xf
mov dword [ebp - 0x2870], 0
mov byte [ebp - 0x2880], 0
call fcn.004231e0
mov eax, dword [ebp - 0x28e8]
cmp eax, 0x10
jb 0x42825c
inc eax
lea ecx, [ebp - 0x28fc]
push eax
push dword [ebp - 0x28fc]
call fcn.00423360
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2900]
mov dword [ebp - 0x28e8], 0xf
mov dword [ebp - 0x28ec], 0
mov byte [ebp - 0x28fc], 0
cmp eax, 0x10
jb 0x428299
inc eax
lea ecx, [ebp - 0x2914]
push eax
push dword [ebp - 0x2914]
call fcn.00423360
push dword [ebp + 0x10]
lea eax, [ebp - 0x2868]
push eax
call fcn.00428790
lea eax, [ebp - 0x2868]
mov byte [ebp - 4], 4
push eax
mov edx, 0x5861c8
lea ecx, [ebp - 0x2914]
call fcn.0042be50
add esp, 4
push 0x5861c4
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28fc]
call fcn.004266e0
add esp, 4
mov esi, eax
lea eax, [ebp - 0x2868]
cmp eax, esi
je 0x428330
mov eax, dword [ebp - 0x2854]
cmp eax, 0x10
jb 0x428309
inc eax
lea ecx, [ebp - 0x2868]
push eax
push dword [ebp - 0x2868]
call fcn.00423360
push esi
lea ecx, [ebp - 0x2868]
mov dword [ebp - 0x2854], 0xf
mov dword [ebp - 0x2858], 0
mov byte [ebp - 0x2868], 0
call fcn.004231e0
mov eax, dword [ebp - 0x28e8]
cmp eax, 0x10
jb 0x42834e
inc eax
lea ecx, [ebp - 0x28fc]
push eax
push dword [ebp - 0x28fc]
call fcn.00423360
mov eax, dword [ebp - 0x2900]
mov dword [ebp - 0x28e8], 0xf
mov dword [ebp - 0x28ec], 0
mov byte [ebp - 0x28fc], 0
cmp eax, 0x10
jb 0x428387
inc eax
lea ecx, [ebp - 0x2914]
push eax
push dword [ebp - 0x2914]
call fcn.00423360
mov dword [ebp - 0x2884], 0xf
mov dword [ebp - 0x2888], 0
mov byte [ebp - 0x2898], 0
mov byte [ebp - 4], 7
cmp byte [ebp - 0x50], 0
jne 0x4283b0
xor ecx, ecx
jmp 0x4283bf
lea ecx, [ebp - 0x50]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4283b6
sub ecx, edx
push ecx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x2898]
call fcn.004237b0
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x2880]
push ecx
mov ecx, eax
call fcn.004238e0
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x2868]
push ecx
mov ecx, eax
call fcn.004238e0
push 2
push 0x5861cc
mov ecx, eax
call fcn.004237b0
cmp byte [ebp - 0x2850], 0
mov esi, eax
jne 0x428410
xor ecx, ecx
jmp 0x428429
lea ecx, [ebp - 0x2850]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x428420
sub ecx, edx
push ecx
lea eax, [ebp - 0x2850]
mov ecx, esi
push eax
call fcn.004237b0
cmp dword [edi + 0x78], 0
je 0x4286b6
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x42845f
mov eax, dword [edx]
jmp 0x428461
mov eax, edx
mov byte [eax], 0
cmp byte [ebx], 0
jne 0x42846d
xor ecx, ecx
jmp 0x42847b
mov ecx, ebx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x428472
sub ecx, esi
push ecx
push ebx
mov ecx, edx
call fcn.00422fb0
call fcn.00428850
test eax, eax
je 0x4286b6
push 1
push 0x5861d0
lea ecx, [ebp - 0x2898]
call fcn.004237b0
cmp dword [edi + 0x70], 0
lea esi, [edi + 0x60]
jne 0x4285b5
cmp dword [edi + 0x40], 0
jne 0x428556
lea ecx, [ebp - 0x28b0]
call fcn.00426bc0
push str.Logs
lea ecx, [ebp - 0x28b0]
mov byte [ebp - 4], 8
call fcn.004240e0
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x4284f6
mov eax, dword [ecx]
jmp 0x4284f8
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x28b0]
push 0
push eax
call fcn.004230b0
call fcn.00427830
add esp, 0x18
test eax, eax
jne 0x428530
sub esp, 0x18
lea eax, [ebp - 0x28b0]
mov ecx, esp
push eax
call fcn.00422d00
call fcn.00427880
add esp, 0x18
lea ecx, [edi + 0x30]
lea eax, [ebp - 0x28b0]
cmp ecx, eax
je 0x428547
push 0xffffffffffffffff
push 0
push eax
call fcn.004230b0
lea ecx, [ebp - 0x28b0]
mov byte [ebp - 4], 7
call fcn.00422b60
cmp dword [edi + 0x58], 0
jne 0x42857b
lea ecx, [ebp - 0x2914]
call fcn.00426ae0
push eax
lea ecx, [edi + 0x48]
call fcn.00422ba0
lea ecx, [ebp - 0x2914]
call fcn.00422b60
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x30]
mov ecx, esi
push eax
call fcn.004238e0
push 1
push 0x5860e4
mov ecx, eax
call fcn.004237b0
push 0xffffffffffffffff
push 0
lea ecx, [edi + 0x48]
push ecx
mov ecx, eax
call fcn.004238e0
push 4
push str..log
mov ecx, eax
call fcn.004237b0
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push esi
mov byte [ecx], 0
call fcn.004230b0
call fcn.00427750
add esp, 0x18
test eax, eax
jne 0x4285eb
cmp dword [esi + 0x14], 0x10
jb 0x42863c
mov ecx, dword [esi]
jmp 0x42863e
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push esi
mov byte [ecx], 0
call fcn.004230b0
call fcn.00427690
and eax, 0xfff00000
add esp, 0x18
cmp eax, 0xa00000
jb 0x428647
cmp dword [esi + 0x14], 0x10
jb 0x428629
mov eax, dword [esi]
jmp 0x42862b
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esi + 0x14], 0x10
jb 0x42863c
mov ecx, dword [esi]
jmp 0x42863e
mov ecx, esi
push ecx
call fcn.00427360
add esp, 4
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x28e0], 0
jb 0x428659
mov esi, dword [esi]
push 0x5861e4
lea eax, [ebp - 0x28e0]
push esi
push eax
call fcn.00511048
add esp, 0xc
test eax, eax
jne 0x4286b6
push dword [ebp - 0x28e0]
cmp dword [ebp - 0x2884], 0x10
lea eax, [ebp - 0x2898]
push 1
push dword [ebp - 0x2888]
cmovae eax, dword [ebp - 0x2898]
push eax
call fcn.00510e40
push dword [ebp - 0x28e0]
call fcn.005136b8
add esp, 0x14
push dword [ebp - 0x28e0]
call fcn.00510b88
add esp, 4
mov eax, dword [ebp - 0x2884]
cmp eax, 0x10
jb 0x4286d4
inc eax
lea ecx, [ebp - 0x2898]
push eax
push dword [ebp - 0x2898]
call fcn.00423360
mov eax, dword [ebp - 0x2854]
mov dword [ebp - 0x2884], 0xf
mov dword [ebp - 0x2888], 0
mov byte [ebp - 0x2898], 0
cmp eax, 0x10
jb 0x42870d
inc eax
lea ecx, [ebp - 0x2868]
push eax
push dword [ebp - 0x2868]
call fcn.00423360
mov eax, dword [ebp - 0x286c]
mov dword [ebp - 0x2854], 0xf
mov dword [ebp - 0x2858], 0
mov byte [ebp - 0x2868], 0
cmp eax, 0x10
jb 0x428746
inc eax
lea ecx, [ebp - 0x2880]
push eax
push dword [ebp - 0x2880]
call fcn.00423360
push edi
mov dword [ebp - 0x286c], 0xf
mov dword [ebp - 0x2870], 0
mov byte [ebp - 0x2880], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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.0050a877
mov esp, ebp
pop ebp
ret