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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54d937
mov eax, dword fs:[0]
push eax
mov eax, 0x2910
call fcn.00527690
mov eax, dword [0x5afb3c]
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.00529cc0
add esp, 0xc
lea eax, [ebp + 0x2c]
push eax
push ecx
push dword [ebp + 0x28]
push ecx
lea ecx, [ebp - 0x2854]
call fcn.0042b950
lea eax, [ebp - 0x28bc]
push eax
call fcn.0052e40f
add esp, 0x14
lea eax, [ebp - 0x28bc]
push eax
lea eax, [ebp - 0x28e0]
push eax
call fcn.0052e6db
push 0x40
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.00529cc0
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.00431f10
add esp, 0x14
lea ecx, [ebp - 0x2884]
call fcn.0042bc80
lea eax, [ebp - 0x2884]
mov byte [ebp - 4], 2
push eax
mov edx, 0x59f57c
lea ecx, [ebp - 0x2918]
call fcn.00431f30
add esp, 4
push 0x59f578
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2900]
call fcn.0042b870
add esp, 4
mov esi, eax
lea eax, [ebp - 0x2884]
cmp eax, esi
je 0x42d5ff
mov eax, dword [ebp - 0x2870]
cmp eax, 0x10
jb 0x42d5d8
inc eax
lea ecx, [ebp - 0x2884]
push eax
push dword [ebp - 0x2884]
call fcn.004279e0
push esi
lea ecx, [ebp - 0x2884]
mov dword [ebp - 0x2870], 0xf
mov dword [ebp - 0x2874], 0
mov byte [ebp - 0x2884], 0
call fcn.00427870
mov eax, dword [ebp - 0x28ec]
cmp eax, 0x10
jb 0x42d61d
inc eax
lea ecx, [ebp - 0x2900]
push eax
push dword [ebp - 0x2900]
call fcn.004279e0
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 0x42d65a
inc eax
lea ecx, [ebp - 0x2918]
push eax
push dword [ebp - 0x2918]
call fcn.004279e0
push dword [ebp + 0x24]
lea eax, [ebp - 0x286c]
push eax
call fcn.0042db80
lea eax, [ebp - 0x286c]
mov byte [ebp - 4], 6
push eax
mov edx, 0x59f57c
lea ecx, [ebp - 0x2918]
call fcn.00431f30
add esp, 4
push 0x59f578
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2900]
call fcn.0042b870
add esp, 4
mov esi, eax
lea eax, [ebp - 0x286c]
cmp eax, esi
je 0x42d6f1
mov eax, dword [ebp - 0x2858]
cmp eax, 0x10
jb 0x42d6ca
inc eax
lea ecx, [ebp - 0x286c]
push eax
push dword [ebp - 0x286c]
call fcn.004279e0
push esi
lea ecx, [ebp - 0x286c]
mov dword [ebp - 0x2858], 0xf
mov dword [ebp - 0x285c], 0
mov byte [ebp - 0x286c], 0
call fcn.00427870
mov eax, dword [ebp - 0x28ec]
cmp eax, 0x10
jb 0x42d70f
inc eax
lea ecx, [ebp - 0x2900]
push eax
push dword [ebp - 0x2900]
call fcn.004279e0
mov eax, dword [ebp - 0x2904]
mov dword [ebp - 0x28ec], 0xf
mov dword [ebp - 0x28f0], 0
mov byte [ebp - 0x2900], 0
cmp eax, 0x10
jb 0x42d748
inc eax
lea ecx, [ebp - 0x2918]
push eax
push dword [ebp - 0x2918]
call fcn.004279e0
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 0x42d771
xor ecx, ecx
jmp 0x42d780
lea ecx, [ebp - 0x54]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42d777
sub ecx, edx
push ecx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x289c]
call fcn.004283e0
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x2884]
push ecx
mov ecx, eax
call fcn.004284d0
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x286c]
push ecx
mov ecx, eax
call fcn.004284d0
push 2
push 0x59f580
mov ecx, eax
call fcn.004283e0
cmp byte [ebp - 0x2854], 0
mov esi, eax
jne 0x42d7d1
xor ecx, ecx
jmp 0x42d7e9
lea ecx, [ebp - 0x2854]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42d7e0
sub ecx, edx
push ecx
lea eax, [ebp - 0x2854]
mov ecx, esi
push eax
call fcn.004283e0
cmp dword [edi + 0x78], 0
je 0x42da92
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x42d81f
mov eax, dword [ecx]
jmp 0x42d821
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp + 0xc]
push 0
push eax
call fcn.00427790
call fcn.0042dc40
test eax, eax
je 0x42da92
push 1
push 0x59f584
lea ecx, [ebp - 0x289c]
call fcn.004283e0
cmp dword [edi + 0x70], 0
lea esi, [edi + 0x60]
sete al
test al, al
je 0x42d96b
cmp dword [edi + 0x40], 0
lea ebx, [edi + 0x30]
sete al
test al, al
je 0x42d90f
lea ecx, [ebp - 0x28b4]
call fcn.0042bd60
push str.Logs
lea ecx, [ebp - 0x28b4]
mov byte [ebp - 4], 0xb
call fcn.00429130
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x42d8b0
mov eax, dword [ecx]
jmp 0x42d8b2
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x28b4]
push 0
push eax
call fcn.00427790
call fcn.0042c880
add esp, 0x18
test eax, eax
jne 0x42d8ea
sub esp, 0x18
lea eax, [ebp - 0x28b4]
mov ecx, esp
push eax
call fcn.004274a0
call fcn.0042c8d0
add esp, 0x18
lea eax, [ebp - 0x28b4]
cmp ebx, eax
je 0x42d900
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00427790
lea ecx, [ebp - 0x28b4]
mov byte [ebp - 4], 0xa
call fcn.00427300
cmp dword [edi + 0x58], 0
jne 0x42d934
lea ecx, [ebp - 0x2918]
call fcn.0042bc80
push eax
lea ecx, [edi + 0x48]
call fcn.00427340
lea ecx, [ebp - 0x2918]
call fcn.00427300
push 0xffffffffffffffff
push 0
push ebx
mov ecx, esi
call fcn.004284d0
push 1
push 0x59f478
mov ecx, eax
call fcn.004283e0
push 0xffffffffffffffff
push 0
lea ecx, [edi + 0x48]
push ecx
mov ecx, eax
call fcn.004284d0
push 4
push str..log
mov ecx, eax
call fcn.004283e0
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.00427790
call fcn.0042c7a0
add esp, 0x18
test eax, eax
jne 0x42d9a1
cmp dword [esi + 0x14], 0x10
jb 0x42d9f2
mov ecx, dword [esi]
jmp 0x42d9f4
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.00427790
call fcn.0042c6e0
and eax, 0xfff00000
add esp, 0x18
cmp eax, 0xa00000
jb 0x42d9fd
cmp dword [esi + 0x14], 0x10
jb 0x42d9df
mov eax, dword [esi]
jmp 0x42d9e1
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esi + 0x14], 0x10
jb 0x42d9f2
mov ecx, dword [esi]
jmp 0x42d9f4
mov ecx, esi
push ecx
call fcn.0042c3b0
add esp, 4
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x28e4], 0
jb 0x42da0f
mov esi, dword [esi]
push 0x59f598
lea eax, [ebp - 0x28e4]
push esi
push eax
call fcn.0052d562
add esp, 0xc
test eax, eax
jne 0x42da92
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.0052d34f
push dword [ebp - 0x28e4]
call fcn.0052fcf4
add esp, 0x14
push dword [ebp - 0x28e4]
call fcn.0052d097
add esp, 4
lea ecx, [ebp - 0x289c]
call fcn.00427300
lea ecx, [ebp - 0x286c]
call fcn.00427300
lea ecx, [ebp - 0x2884]
call fcn.00427300
jmp 0x42db3d
mov eax, dword [ebp - 0x2888]
cmp eax, 0x10
jb 0x42dab0
inc eax
lea ecx, [ebp - 0x289c]
push eax
push dword [ebp - 0x289c]
call fcn.004279e0
mov eax, dword [ebp - 0x2858]
mov dword [ebp - 0x2888], 0xf
mov dword [ebp - 0x288c], 0
mov byte [ebp - 0x289c], 0
cmp eax, 0x10
jb 0x42dae9
inc eax
lea ecx, [ebp - 0x286c]
push eax
push dword [ebp - 0x286c]
call fcn.004279e0
mov eax, dword [ebp - 0x2870]
mov dword [ebp - 0x2858], 0xf
mov dword [ebp - 0x285c], 0
mov byte [ebp - 0x286c], 0
cmp eax, 0x10
jb 0x42db22
inc eax
lea ecx, [ebp - 0x2884]
push eax
push dword [ebp - 0x2884]
call fcn.004279e0
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 0x42db59
inc eax
lea ecx, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
call fcn.004279e0
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.00526b2d
mov esp, ebp
pop ebp
ret