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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552357
mov eax, dword fs:[0]
push eax
mov eax, 0x2910
call fcn.0052b4c0
mov eax, dword [0x5b4b3c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
push edi
mov dword [ebp - 0x291c], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x2800
lea eax, [ebp - 0x2854]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.0052dac0
add esp, 0xc
lea eax, [ebp + 0x2c]
push eax
push ecx
push dword [ebp + 0x28]
push ecx
lea ecx, [ebp - 0x2854]
call fcn.0042ce60
lea eax, [ebp - 0x28bc]
push eax
call fcn.005321ef
add esp, 0x14
lea eax, [ebp - 0x28bc]
push eax
lea eax, [ebp - 0x28e0]
push eax
call fcn.005324bb
push 0x40
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.0052dac0
add esp, 0x14
lea eax, [ebp - 0x54]
push dword [ebp - 0x28e0]
push dword [ebp - 0x28dc]
push dword [ebp - 0x28d8]
push str.__02d:_02d:_02d_
push eax
call fcn.00434150
add esp, 0x14
lea ecx, [ebp - 0x2884]
call fcn.0042d1a0
lea eax, [ebp - 0x2884]
mov byte [ebp - 4], 2
push eax
mov edx, 0x5a45ec
lea ecx, [ebp - 0x2918]
call fcn.00434170
add esp, 4
push 0x5a45e8
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2900]
call fcn.0042cd80
add esp, 4
mov esi, eax
lea eax, [ebp - 0x2884]
cmp eax, esi
je 0x42efff
mov eax, dword [ebp - 0x2870]
cmp eax, 0x10
jb 0x42efd8
inc eax
lea ecx, [ebp - 0x2884]
push eax
push dword [ebp - 0x2884]
call fcn.00427a30
push esi
lea ecx, [ebp - 0x2884]
mov dword [ebp - 0x2870], 0xf
mov dword [ebp - 0x2874], 0
mov byte [ebp - 0x2884], 0
call fcn.004278c0
mov eax, dword [ebp - 0x28ec]
cmp eax, 0x10
jb 0x42f01d
inc eax
lea ecx, [ebp - 0x2900]
push eax
push dword [ebp - 0x2900]
call fcn.00427a30
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2904]
mov dword [ebp - 0x28ec], 0xf
mov dword [ebp - 0x28f0], 0
mov byte [ebp - 0x2900], 0
cmp eax, 0x10
jb 0x42f05a
inc eax
lea ecx, [ebp - 0x2918]
push eax
push dword [ebp - 0x2918]
call fcn.00427a30
push dword [ebp + 0x24]
lea eax, [ebp - 0x286c]
push eax
call fcn.0042f580
lea eax, [ebp - 0x286c]
mov byte [ebp - 4], 6
push eax
mov edx, 0x5a45ec
lea ecx, [ebp - 0x2918]
call fcn.00434170
add esp, 4
push 0x5a45e8
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2900]
call fcn.0042cd80
add esp, 4
mov esi, eax
lea eax, [ebp - 0x286c]
cmp eax, esi
je 0x42f0f1
mov eax, dword [ebp - 0x2858]
cmp eax, 0x10
jb 0x42f0ca
inc eax
lea ecx, [ebp - 0x286c]
push eax
push dword [ebp - 0x286c]
call fcn.00427a30
push esi
lea ecx, [ebp - 0x286c]
mov dword [ebp - 0x2858], 0xf
mov dword [ebp - 0x285c], 0
mov byte [ebp - 0x286c], 0
call fcn.004278c0
mov eax, dword [ebp - 0x28ec]
cmp eax, 0x10
jb 0x42f10f
inc eax
lea ecx, [ebp - 0x2900]
push eax
push dword [ebp - 0x2900]
call fcn.00427a30
mov eax, dword [ebp - 0x2904]
mov dword [ebp - 0x28ec], 0xf
mov dword [ebp - 0x28f0], 0
mov byte [ebp - 0x2900], 0
cmp eax, 0x10
jb 0x42f148
inc eax
lea ecx, [ebp - 0x2918]
push eax
push dword [ebp - 0x2918]
call fcn.00427a30
mov dword [ebp - 0x2888], 0xf
mov dword [ebp - 0x288c], 0
mov byte [ebp - 0x289c], 0
mov byte [ebp - 4], 0xa
cmp byte [ebp - 0x54], 0
jne 0x42f171
xor ecx, ecx
jmp 0x42f180
lea ecx, [ebp - 0x54]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42f177
sub ecx, edx
push ecx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x289c]
call fcn.00428790
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x2884]
push ecx
mov ecx, eax
call fcn.00428880
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x286c]
push ecx
mov ecx, eax
call fcn.00428880
push 2
push 0x5a45f0
mov ecx, eax
call fcn.00428790
cmp byte [ebp - 0x2854], 0
mov esi, eax
jne 0x42f1d1
xor ecx, ecx
jmp 0x42f1e9
lea ecx, [ebp - 0x2854]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42f1e0
sub ecx, edx
push ecx
lea eax, [ebp - 0x2854]
mov ecx, esi
push eax
call fcn.00428790
cmp dword [edi + 0x78], 0
je 0x42f492
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x42f21f
mov eax, dword [ecx]
jmp 0x42f221
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp + 0xc]
push 0
push eax
call fcn.004277e0
call fcn.0042f640
test eax, eax
je 0x42f492
push 1
push 0x5a45f4
lea ecx, [ebp - 0x289c]
call fcn.00428790
cmp dword [edi + 0x70], 0
lea esi, [edi + 0x60]
sete al
test al, al
je 0x42f36b
cmp dword [edi + 0x40], 0
lea ebx, [edi + 0x30]
sete al
test al, al
je 0x42f30f
lea ecx, [ebp - 0x28b4]
call fcn.0042d280
push str.Logs
lea ecx, [ebp - 0x28b4]
mov byte [ebp - 4], 0xb
call fcn.004294e0
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x42f2b0
mov eax, dword [ecx]
jmp 0x42f2b2
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x28b4]
push 0
push eax
call fcn.004277e0
call fcn.0042e3e0
add esp, 0x18
test eax, eax
jne 0x42f2ea
sub esp, 0x18
lea eax, [ebp - 0x28b4]
mov ecx, esp
push eax
call fcn.00427500
call fcn.0042e430
add esp, 0x18
lea eax, [ebp - 0x28b4]
cmp ebx, eax
je 0x42f300
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.004277e0
lea ecx, [ebp - 0x28b4]
mov byte [ebp - 4], 0xa
call fcn.00427360
cmp dword [edi + 0x58], 0
jne 0x42f334
lea ecx, [ebp - 0x2918]
call fcn.0042d1a0
push eax
lea ecx, [edi + 0x48]
call fcn.004273a0
lea ecx, [ebp - 0x2918]
call fcn.00427360
push 0xffffffffffffffff
push 0
push ebx
mov ecx, esi
call fcn.00428880
push 1
push 0x5a4488
mov ecx, eax
call fcn.00428790
push 0xffffffffffffffff
push 0
lea ecx, [edi + 0x48]
push ecx
mov ecx, eax
call fcn.00428880
push 4
push str..log
mov ecx, eax
call fcn.00428790
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.004277e0
call fcn.0042e300
add esp, 0x18
test eax, eax
jne 0x42f3a1
cmp dword [esi + 0x14], 0x10
jb 0x42f3f2
mov ecx, dword [esi]
jmp 0x42f3f4
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.004277e0
call fcn.0042dc00
and eax, 0xfff00000
add esp, 0x18
cmp eax, 0xa00000
jb 0x42f3fd
cmp dword [esi + 0x14], 0x10
jb 0x42f3df
mov eax, dword [esi]
jmp 0x42f3e1
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esi + 0x14], 0x10
jb 0x42f3f2
mov ecx, dword [esi]
jmp 0x42f3f4
mov ecx, esi
push ecx
call fcn.0042d8d0
add esp, 4
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x28e4], 0
jb 0x42f40f
mov esi, dword [esi]
push 0x5a4608
lea eax, [ebp - 0x28e4]
push esi
push eax
call fcn.00531342
add esp, 0xc
test eax, eax
jne 0x42f492
push dword [ebp - 0x28e4]
cmp dword [ebp - 0x2888], 0x10
lea eax, [ebp - 0x289c]
push 1
push dword [ebp - 0x288c]
cmovae eax, dword [ebp - 0x289c]
push eax
call fcn.0053112f
push dword [ebp - 0x28e4]
call fcn.00534369
add esp, 0x14
push dword [ebp - 0x28e4]
call fcn.00530e77
add esp, 4
lea ecx, [ebp - 0x289c]
call fcn.00427360
lea ecx, [ebp - 0x286c]
call fcn.00427360
lea ecx, [ebp - 0x2884]
call fcn.00427360
jmp 0x42f53d
mov eax, dword [ebp - 0x2888]
cmp eax, 0x10
jb 0x42f4b0
inc eax
lea ecx, [ebp - 0x289c]
push eax
push dword [ebp - 0x289c]
call fcn.00427a30
mov eax, dword [ebp - 0x2858]
mov dword [ebp - 0x2888], 0xf
mov dword [ebp - 0x288c], 0
mov byte [ebp - 0x289c], 0
cmp eax, 0x10
jb 0x42f4e9
inc eax
lea ecx, [ebp - 0x286c]
push eax
push dword [ebp - 0x286c]
call fcn.00427a30
mov eax, dword [ebp - 0x2870]
mov dword [ebp - 0x2858], 0xf
mov dword [ebp - 0x285c], 0
mov byte [ebp - 0x286c], 0
cmp eax, 0x10
jb 0x42f522
inc eax
lea ecx, [ebp - 0x2884]
push eax
push dword [ebp - 0x2884]
call fcn.00427a30
mov dword [ebp - 0x2870], 0xf
mov dword [ebp - 0x2874], 0
mov byte [ebp - 0x2884], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp + 0x20]
cmp eax, 0x10
jb 0x42f559
inc eax
lea ecx, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
call fcn.00427a30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052a949
mov esp, ebp
pop ebp
ret