Function at 0x4367d0
Capabilities:
Check if file exists
Delete file
Get file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55da99
mov eax, dword fs:[0]
push eax
mov eax, 0x2954
call fcn.00533fa0
mov eax, dword [0x5c49f0]
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 - 0x295c], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x2800
lea eax, [ebp - 0x2890]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00536540
add esp, 0xc
lea eax, [ebp + 0x18]
push eax
push ecx
push dword [ebp + 0x14]
push ecx
lea ecx, [ebp - 0x2890]
call fcn.00434790
lea eax, [ebp - 0x28f8]
push eax
call fcn.00540356
add esp, 0x14
lea eax, [ebp - 0x28f8]
push eax
lea eax, [ebp - 0x291c]
push eax
call fcn.0053d14d
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.00536540
mov eax, dword [ebp - 0x290c]
add esp, 0x14
inc eax
push dword [ebp - 0x291c]
push dword [ebp - 0x2918]
push dword [ebp - 0x2914]
push dword [ebp - 0x2910]
push eax
mov eax, dword [ebp - 0x2908]
add eax, 0x76c
push eax
lea eax, [ebp - 0x90]
push str.__04d__02d__02d__02d:_02d:_02d_
push eax
call fcn.00439ba0
lea ecx, [ebp - 0x28c0]
call fcn.004349e0
lea eax, [ebp - 0x28c0]
mov byte [ebp - 4], 1
push eax
mov edx, 0x5b1974
lea ecx, [ebp - 0x2958]
call fcn.0042da70
add esp, 0x24
push 0x5b1970
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2940]
call fcn.0042db80
add esp, 4
mov esi, eax
lea eax, [ebp - 0x28c0]
cmp eax, esi
je 0x43694e
mov eax, dword [ebp - 0x28ac]
cmp eax, 0x10
jb 0x436927
inc eax
lea ecx, [ebp - 0x28c0]
push eax
push dword [ebp - 0x28c0]
call fcn.0042ce80
push esi
lea ecx, [ebp - 0x28c0]
mov dword [ebp - 0x28ac], 0xf
mov dword [ebp - 0x28b0], 0
mov byte [ebp - 0x28c0], 0
call fcn.0042c6c0
mov eax, dword [ebp - 0x292c]
cmp eax, 0x10
jb 0x43696c
inc eax
lea ecx, [ebp - 0x2940]
push eax
push dword [ebp - 0x2940]
call fcn.0042ce80
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2944]
mov dword [ebp - 0x292c], 0xf
mov dword [ebp - 0x2930], 0
mov byte [ebp - 0x2940], 0
cmp eax, 0x10
jb 0x4369a9
inc eax
lea ecx, [ebp - 0x2958]
push eax
push dword [ebp - 0x2958]
call fcn.0042ce80
push dword [ebp + 0x10]
lea eax, [ebp - 0x28a8]
push eax
call fcn.00436ef0
lea eax, [ebp - 0x28a8]
mov byte [ebp - 4], 4
push eax
mov edx, 0x5b1974
lea ecx, [ebp - 0x2958]
call fcn.0042da70
add esp, 4
push 0x5b1970
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2940]
call fcn.0042db80
add esp, 4
mov esi, eax
lea eax, [ebp - 0x28a8]
cmp eax, esi
je 0x436a40
mov eax, dword [ebp - 0x2894]
cmp eax, 0x10
jb 0x436a19
inc eax
lea ecx, [ebp - 0x28a8]
push eax
push dword [ebp - 0x28a8]
call fcn.0042ce80
push esi
lea ecx, [ebp - 0x28a8]
mov dword [ebp - 0x2894], 0xf
mov dword [ebp - 0x2898], 0
mov byte [ebp - 0x28a8], 0
call fcn.0042c6c0
mov eax, dword [ebp - 0x292c]
cmp eax, 0x10
jb 0x436a5e
inc eax
lea ecx, [ebp - 0x2940]
push eax
push dword [ebp - 0x2940]
call fcn.0042ce80
mov eax, dword [ebp - 0x2944]
mov dword [ebp - 0x292c], 0xf
mov dword [ebp - 0x2930], 0
mov byte [ebp - 0x2940], 0
cmp eax, 0x10
jb 0x436a97
inc eax
lea ecx, [ebp - 0x2958]
push eax
push dword [ebp - 0x2958]
call fcn.0042ce80
mov dword [ebp - 0x28c4], 0xf
mov dword [ebp - 0x28c8], 0
mov byte [ebp - 0x28d8], 0
mov byte [ebp - 4], 7
cmp byte [ebp - 0x90], 0
jne 0x436ac3
xor ecx, ecx
jmp 0x436ad9
lea ecx, [ebp - 0x90]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x436ad0
sub ecx, edx
push ecx
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x28d8]
call fcn.0042c490
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x28c0]
push ecx
mov ecx, eax
call fcn.0042c5c0
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x28a8]
push ecx
mov ecx, eax
call fcn.0042c5c0
push 2
push 0x5b1978
mov ecx, eax
call fcn.0042c490
cmp byte [ebp - 0x2890], 0
mov esi, eax
jne 0x436b2d
xor ecx, ecx
jmp 0x436b3f
lea ecx, [ebp - 0x2890]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x436b36
sub ecx, edx
push ecx
lea eax, [ebp - 0x2890]
mov ecx, esi
push eax
call fcn.0042c490
cmp dword [edi + 0x78], 0
je 0x436e1a
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x436b75
mov eax, dword [edx]
jmp 0x436b77
mov eax, edx
mov byte [eax], 0
cmp byte [ebx], 0
jne 0x436b83
xor ecx, ecx
jmp 0x436b91
mov ecx, ebx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x436b88
sub ecx, esi
push ecx
push ebx
mov ecx, edx
call fcn.0042c1b0
call fcn.00436fb0
test eax, eax
je 0x436e1a
push 1
push 0x5b197c
lea ecx, [ebp - 0x28d8]
call fcn.0042c490
cmp dword [edi + 0x70], 0
lea esi, [edi + 0x60]
jne 0x436ccb
cmp dword [edi + 0x40], 0
jne 0x436c6c
lea ecx, [ebp - 0x28f0]
call fcn.00434ac0
push str.Logs
lea ecx, [ebp - 0x28f0]
mov byte [ebp - 4], 8
call fcn.0042a300
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x436c0c
mov eax, dword [ecx]
jmp 0x436c0e
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x28f0]
push 0
push eax
call fcn.0042c2b0
call fcn.00436320
add esp, 0x18
test eax, eax
jne 0x436c46
sub esp, 0x18
lea eax, [ebp - 0x28f0]
mov ecx, esp
push eax
call fcn.0042a520
call fcn.00436370
add esp, 0x18
lea ecx, [edi + 0x30]
lea eax, [ebp - 0x28f0]
cmp ecx, eax
je 0x436c5d
push 0xffffffffffffffff
push 0
push eax
call fcn.0042c2b0
lea ecx, [ebp - 0x28f0]
mov byte [ebp - 4], 7
call fcn.0042a380
cmp dword [edi + 0x58], 0
jne 0x436c91
lea ecx, [ebp - 0x2958]
call fcn.004349e0
push eax
lea ecx, [edi + 0x48]
call fcn.0042a3c0
lea ecx, [ebp - 0x2958]
call fcn.0042a380
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x30]
mov ecx, esi
push eax
call fcn.0042c5c0
push 1
push 0x5b0c88
mov ecx, eax
call fcn.0042c490
push 0xffffffffffffffff
push 0
lea ecx, [edi + 0x48]
push ecx
mov ecx, eax
call fcn.0042c5c0
push 4
push str..log
mov ecx, eax
call fcn.0042c490
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x2940]
mov dword [ebp - 0x292c], 0xf
mov dword [ebp - 0x2930], 0
mov byte [ebp - 0x2940], 0
call fcn.0042c2b0
cmp dword [ebp - 0x292c], 0x10
lea eax, [ebp - 0x2940]
cmovae eax, dword [ebp - 0x2940]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x436d21
test al, 0x10
jne 0x436d21
mov ebx, 1
jmp 0x436d23
xor ebx, ebx
mov eax, dword [ebp - 0x292c]
cmp eax, 0x10
jb 0x436d41
inc eax
lea ecx, [ebp - 0x2940]
push eax
push dword [ebp - 0x2940]
call fcn.0042ce80
test ebx, ebx
jne 0x436d4f
cmp dword [esi + 0x14], 0x10
jb 0x436da0
mov ecx, dword [esi]
jmp 0x436da2
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.0042c2b0
call fcn.00435c50
and eax, 0xfff00000
add esp, 0x18
cmp eax, 0xa00000
jb 0x436dab
cmp dword [esi + 0x14], 0x10
jb 0x436d8d
mov eax, dword [esi]
jmp 0x436d8f
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esi + 0x14], 0x10
jb 0x436da0
mov ecx, dword [esi]
jmp 0x436da2
mov ecx, esi
push ecx
call fcn.00435980
add esp, 4
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x2920], 0
jb 0x436dbd
mov esi, dword [esi]
push 0x5b1990
lea eax, [ebp - 0x2920]
push esi
push eax
call fcn.0053ab19
add esp, 0xc
test eax, eax
jne 0x436e1a
push dword [ebp - 0x2920]
cmp dword [ebp - 0x28c4], 0x10
lea eax, [ebp - 0x28d8]
push 1
push dword [ebp - 0x28c8]
cmovae eax, dword [ebp - 0x28d8]
push eax
call fcn.0053a87a
push dword [ebp - 0x2920]
call fcn.00539dee
add esp, 0x14
push dword [ebp - 0x2920]
call fcn.00539ebd
add esp, 4
mov eax, dword [ebp - 0x28c4]
cmp eax, 0x10
jb 0x436e38
inc eax
lea ecx, [ebp - 0x28d8]
push eax
push dword [ebp - 0x28d8]
call fcn.0042ce80
mov eax, dword [ebp - 0x2894]
mov dword [ebp - 0x28c4], 0xf
mov dword [ebp - 0x28c8], 0
mov byte [ebp - 0x28d8], 0
cmp eax, 0x10
jb 0x436e71
inc eax
lea ecx, [ebp - 0x28a8]
push eax
push dword [ebp - 0x28a8]
call fcn.0042ce80
mov eax, dword [ebp - 0x28ac]
mov dword [ebp - 0x2894], 0xf
mov dword [ebp - 0x2898], 0
mov byte [ebp - 0x28a8], 0
cmp eax, 0x10
jb 0x436eaa
inc eax
lea ecx, [ebp - 0x28c0]
push eax
push dword [ebp - 0x28c0]
call fcn.0042ce80
push edi
mov dword [ebp - 0x28ac], 0xf
mov dword [ebp - 0x28b0], 0
mov byte [ebp - 0x28c0], 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.0053342f
mov esp, ebp
pop ebp
ret