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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5322f9
mov eax, dword fs:[0]
push eax
mov eax, 0x290c
call fcn.0050ac20
mov eax, dword [0x5939f0]
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.0050d200
add esp, 0xc
lea eax, [ebp + 0x18]
push eax
push ecx
push dword [ebp + 0x14]
push ecx
lea ecx, [ebp - 0x2850]
call fcn.004267f0
lea eax, [ebp - 0x28b8]
push eax
call fcn.005116b9
add esp, 0x14
lea eax, [ebp - 0x28b8]
push eax
lea eax, [ebp - 0x28dc]
push eax
call fcn.00511985
push 0x40
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.0050d200
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.0042bc20
add esp, 0x14
lea ecx, [ebp - 0x2880]
call fcn.00426b10
lea eax, [ebp - 0x2880]
mov byte [ebp - 4], 1
push eax
mov edx, 0x5851c8
lea ecx, [ebp - 0x2914]
call fcn.0042bb10
add esp, 4
push 0x5851c4
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28fc]
call fcn.00426710
add esp, 4
mov esi, eax
lea eax, [ebp - 0x2880]
cmp eax, esi
je 0x427efe
mov eax, dword [ebp - 0x286c]
cmp eax, 0x10
jb 0x427ed7
inc eax
lea ecx, [ebp - 0x2880]
push eax
push dword [ebp - 0x2880]
call fcn.00423390
push esi
lea ecx, [ebp - 0x2880]
mov dword [ebp - 0x286c], 0xf
mov dword [ebp - 0x2870], 0
mov byte [ebp - 0x2880], 0
call fcn.00423210
mov eax, dword [ebp - 0x28e8]
cmp eax, 0x10
jb 0x427f1c
inc eax
lea ecx, [ebp - 0x28fc]
push eax
push dword [ebp - 0x28fc]
call fcn.00423390
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 0x427f59
inc eax
lea ecx, [ebp - 0x2914]
push eax
push dword [ebp - 0x2914]
call fcn.00423390
push dword [ebp + 0x10]
lea eax, [ebp - 0x2868]
push eax
call fcn.00428450
lea eax, [ebp - 0x2868]
mov byte [ebp - 4], 4
push eax
mov edx, 0x5851c8
lea ecx, [ebp - 0x2914]
call fcn.0042bb10
add esp, 4
push 0x5851c4
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28fc]
call fcn.00426710
add esp, 4
mov esi, eax
lea eax, [ebp - 0x2868]
cmp eax, esi
je 0x427ff0
mov eax, dword [ebp - 0x2854]
cmp eax, 0x10
jb 0x427fc9
inc eax
lea ecx, [ebp - 0x2868]
push eax
push dword [ebp - 0x2868]
call fcn.00423390
push esi
lea ecx, [ebp - 0x2868]
mov dword [ebp - 0x2854], 0xf
mov dword [ebp - 0x2858], 0
mov byte [ebp - 0x2868], 0
call fcn.00423210
mov eax, dword [ebp - 0x28e8]
cmp eax, 0x10
jb 0x42800e
inc eax
lea ecx, [ebp - 0x28fc]
push eax
push dword [ebp - 0x28fc]
call fcn.00423390
mov eax, dword [ebp - 0x2900]
mov dword [ebp - 0x28e8], 0xf
mov dword [ebp - 0x28ec], 0
mov byte [ebp - 0x28fc], 0
cmp eax, 0x10
jb 0x428047
inc eax
lea ecx, [ebp - 0x2914]
push eax
push dword [ebp - 0x2914]
call fcn.00423390
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 0x428070
xor ecx, ecx
jmp 0x42807f
lea ecx, [ebp - 0x50]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x428076
sub ecx, edx
push ecx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x2898]
call fcn.004237e0
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x2880]
push ecx
mov ecx, eax
call fcn.00423910
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x2868]
push ecx
mov ecx, eax
call fcn.00423910
push 2
push 0x5851cc
mov ecx, eax
call fcn.004237e0
cmp byte [ebp - 0x2850], 0
mov esi, eax
jne 0x4280d0
xor ecx, ecx
jmp 0x4280e9
lea ecx, [ebp - 0x2850]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4280e0
sub ecx, edx
push ecx
lea eax, [ebp - 0x2850]
mov ecx, esi
push eax
call fcn.004237e0
cmp dword [edi + 0x78], 0
je 0x428376
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x42811f
mov eax, dword [edx]
jmp 0x428121
mov eax, edx
mov byte [eax], 0
cmp byte [ebx], 0
jne 0x42812d
xor ecx, ecx
jmp 0x42813b
mov ecx, ebx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x428132
sub ecx, esi
push ecx
push ebx
mov ecx, edx
call fcn.00422fe0
call fcn.00428510
test eax, eax
je 0x428376
push 1
push 0x5851d0
lea ecx, [ebp - 0x2898]
call fcn.004237e0
cmp dword [edi + 0x70], 0
lea esi, [edi + 0x60]
jne 0x428275
cmp dword [edi + 0x40], 0
jne 0x428216
lea ecx, [ebp - 0x28b0]
call fcn.00426bf0
push str.Logs
lea ecx, [ebp - 0x28b0]
mov byte [ebp - 4], 8
call fcn.00424110
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x4281b6
mov eax, dword [ecx]
jmp 0x4281b8
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x28b0]
push 0
push eax
call fcn.004230e0
call fcn.00427860
add esp, 0x18
test eax, eax
jne 0x4281f0
sub esp, 0x18
lea eax, [ebp - 0x28b0]
mov ecx, esp
push eax
call fcn.00422d00
call fcn.004278b0
add esp, 0x18
lea ecx, [edi + 0x30]
lea eax, [ebp - 0x28b0]
cmp ecx, eax
je 0x428207
push 0xffffffffffffffff
push 0
push eax
call fcn.004230e0
lea ecx, [ebp - 0x28b0]
mov byte [ebp - 4], 7
call fcn.00422b60
cmp dword [edi + 0x58], 0
jne 0x42823b
lea ecx, [ebp - 0x2914]
call fcn.00426b10
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.00423910
push 1
push 0x5850e4
mov ecx, eax
call fcn.004237e0
push 0xffffffffffffffff
push 0
lea ecx, [edi + 0x48]
push ecx
mov ecx, eax
call fcn.00423910
push 4
push str..log
mov ecx, eax
call fcn.004237e0
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.004230e0
call fcn.00427780
add esp, 0x18
test eax, eax
jne 0x4282ab
cmp dword [esi + 0x14], 0x10
jb 0x4282fc
mov ecx, dword [esi]
jmp 0x4282fe
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.004230e0
call fcn.004276c0
and eax, 0xfff00000
add esp, 0x18
cmp eax, 0xa00000
jb 0x428307
cmp dword [esi + 0x14], 0x10
jb 0x4282e9
mov eax, dword [esi]
jmp 0x4282eb
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esi + 0x14], 0x10
jb 0x4282fc
mov ecx, dword [esi]
jmp 0x4282fe
mov ecx, esi
push ecx
call fcn.00427390
add esp, 4
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x28e0], 0
jb 0x428319
mov esi, dword [esi]
push 0x5851e4
lea eax, [ebp - 0x28e0]
push esi
push eax
call fcn.00510827
add esp, 0xc
test eax, eax
jne 0x428376
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.0051061f
push dword [ebp - 0x28e0]
call fcn.00512efc
add esp, 0x14
push dword [ebp - 0x28e0]
call fcn.00510367
add esp, 4
mov eax, dword [ebp - 0x2884]
cmp eax, 0x10
jb 0x428394
inc eax
lea ecx, [ebp - 0x2898]
push eax
push dword [ebp - 0x2898]
call fcn.00423390
mov eax, dword [ebp - 0x2854]
mov dword [ebp - 0x2884], 0xf
mov dword [ebp - 0x2888], 0
mov byte [ebp - 0x2898], 0
cmp eax, 0x10
jb 0x4283cd
inc eax
lea ecx, [ebp - 0x2868]
push eax
push dword [ebp - 0x2868]
call fcn.00423390
mov eax, dword [ebp - 0x286c]
mov dword [ebp - 0x2854], 0xf
mov dword [ebp - 0x2858], 0
mov byte [ebp - 0x2868], 0
cmp eax, 0x10
jb 0x428406
inc eax
lea ecx, [ebp - 0x2880]
push eax
push dword [ebp - 0x2880]
call fcn.00423390
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.0050a094
mov esp, ebp
pop ebp
ret