Function at 0x4535bd
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push 0x3bc
mov eax, 0x4d2154
call fcn.004a9f73
mov dword [ebp - 0x3c8], edx
cmp dword [ecx + 0x14], 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c0], eax
jb 0x453397
mov ecx, dword [ecx]
push ecx
push ecx
call fcn.00457036
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4533ad
xor al, al
jmp 0x4537d9
xor ebx, ebx
mov dword [ebp - 0x22c], 0xf
mov dword [ebp - 0x230], ebx
mov byte [ebp - 0x240], bl
lea eax, [ebp - 0x210]
mov dword [ebp - 4], ebx
push eax
mov edi, 0x200
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x45348e
lea ecx, [ebp - 0x210]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4533ec
sub ecx, edx
cmp byte [ebp + ecx - 0x211], 0x5c
jne 0x45340f
dec ecx
cmp ecx, edi
jae 0x453489
mov byte [ebp + ecx - 0x210], bl
lea eax, [ebp - 0x210]
push eax
call fcn.00404843
pop ecx
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x240]
call fcn.004047ca
lea ecx, [ebp - 0x240]
call fcn.0045c677
test eax, eax
jne 0x4534de
push 0x64
pop edx
lea ecx, [ebp - 0x258]
call fcn.0045b59c
push str.tempUnCompress
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x228]
call fcn.00403ba6
pop ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.004036f5
push ebx
push 1
lea ecx, [ebp - 0x228]
call fcn.00404b60
lea ecx, [ebp - 0x258]
jmp 0x4534d3
call fcn.004a6d2c
push 0x64
pop edx
lea ecx, [ebp - 0x228]
call fcn.0045b59c
push str.tempUnCompress
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x258]
call fcn.00403ba6
pop ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.004036f5
push ebx
push 1
lea ecx, [ebp - 0x258]
call fcn.00404b60
lea ecx, [ebp - 0x228]
push ebx
push 1
mov byte [ebp - 4], bl
call fcn.00404b60
lea eax, [ebp - 0x3b8]
mov bl, 1
push eax
or edx, 0xffffffff
mov byte [ebp - 0x3b9], bl
mov ecx, esi
call fcn.004570f2
mov eax, dword [ebp - 0x3b8]
xor edi, edi
mov dword [ebp - 0x3c4], eax
pop ecx
test eax, eax
jle 0x453697
lea eax, [ebp - 0x3b8]
mov edx, edi
push eax
mov ecx, esi
call fcn.004570f2
lea edx, [ebp - 0x240]
mov dword [esp], 0x4ecf28
lea ecx, [ebp - 0x258]
call fcn.00403ad6
pop ecx
lea ecx, [ebp - 0x3b4]
mov byte [ebp - 4], 3
push ecx
mov edx, eax
lea ecx, [ebp - 0x228]
call fcn.00403ba6
pop ecx
push 0
push 1
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 5
call fcn.00404b60
push 0x10
pop ebx
cmp dword [ebp - 0x214], ebx
lea eax, [ebp - 0x228]
push ecx
cmovae eax, dword [ebp - 0x228]
mov edx, edi
push ecx
push eax
mov ecx, esi
call fcn.00457130
add esp, 0xc
test eax, eax
jne 0x453669
mov edx, dword [ebp - 0x3c8]
lea ecx, [ebp - 0x270]
push 0x4ecf28
call fcn.00403ad6
pop ecx
lea ecx, [ebp - 0x3b4]
mov byte [ebp - 4], 6
push ecx
mov edx, eax
lea ecx, [ebp - 0x288]
call fcn.00403ba6
pop ecx
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], ebx
jb 0x4535cb
mov eax, dword [eax]
cmp dword [ebp - 0x214], ebx
lea ecx, [ebp - 0x228]
mov edx, eax
cmovae ecx, dword [ebp - 0x228]
call fcn.00452d05
mov ebx, eax
lea ecx, [ebp - 0x288]
push 0
neg ebx
push 1
sbb bl, bl
call fcn.00404b60
push 0
push 1
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 5
call fcn.00404b60
inc bl
jne 0x453683
lea eax, [ebp - 0x3b4]
push eax
lea ecx, [ebp - 0x270]
call fcn.00404860
mov ecx, dword [ebp - 0x3c0]
push eax
mov byte [ebp - 4], 8
call fcn.004037b4
push 0
push 1
lea ecx, [ebp - 0x270]
call fcn.00404b60
push 0
push 1
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], bl
call fcn.00404b60
inc edi
cmp edi, dword [ebp - 0x3c4]
jl 0x45350e
mov bl, byte [ebp - 0x3b9]
jmp 0x453697
cmp dword [ebp - 0x214], ebx
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
xor bl, bl
lea ecx, [ebp - 0x228]
push 1
mov byte [ebp - 4], bl
call fcn.00404b60
mov ecx, esi
call fcn.004571ab
test al, al
je 0x4536a9
call fcn.00457161
jmp 0x4536ae
call fcn.0045a8d5
test bl, bl
je 0x4537c8
and dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0xf
mov byte [ebp - 0x228], 0
mov esi, dword [ebp - 0x3c0]
xor edi, edi
mov byte [ebp - 4], 9
push 0x18
pop ecx
mov eax, dword [esi + 4]
sub eax, dword [esi]
cdq
idiv ecx
test eax, eax
je 0x4537b9
and dword [ebp - 0x3c0], edi
push 0x4ecf28
lea edx, [ebp - 0x240]
lea ecx, [ebp - 0x288]
call fcn.00403ad6
pop ecx
mov byte [ebp - 4], 0xa
mov edx, eax
mov ecx, dword [esi]
add ecx, dword [ebp - 0x3c0]
push ecx
lea ecx, [ebp - 0x270]
call fcn.00403bd8
pop ecx
push eax
lea ecx, [ebp - 0x228]
call fcn.004036f5
push 0
push 1
lea ecx, [ebp - 0x270]
call fcn.00404b60
push 0
push 1
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 9
call fcn.00404b60
cmp dword [ebp - 0x214], 0x10
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x45379f
test al, 0x10
je 0x453784
lea ecx, [ebp - 0x228]
call fcn.0045c8f0
jmp 0x45379f
cmp dword [ebp - 0x214], 0x10
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esi + 4]
inc edi
sub eax, dword [esi]
push 0x18
pop ecx
cdq
idiv ecx
add dword [ebp - 0x3c0], ecx
cmp edi, eax
jb 0x4536f3
push 0
push 1
lea ecx, [ebp - 0x228]
call fcn.00404b60
push 0
push 1
lea ecx, [ebp - 0x240]
call fcn.00404b60
mov al, bl
call fcn.004a9f22
ret