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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f8e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x26c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x238], ecx
lea ecx, [ebp - 0x1cc]
call fcn.0040b9e0
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1c4], 0
lea eax, [ebp - 0x1f8]
push eax
mov ecx, dword [ebp - 0x238]
add ecx, 0x58
call fcn.0040b840
mov ecx, dword [eax]
mov dword [ebp - 0x1cc], ecx
jmp 0x40aa4d
push 0
lea edx, [ebp - 0x1fc]
push edx
lea ecx, [ebp - 0x1cc]
call fcn.0040ba20
lea eax, [ebp - 0x200]
push eax
mov ecx, dword [ebp - 0x238]
add ecx, 0x58
call fcn.0040b860
push eax
lea ecx, [ebp - 0x1cc]
call fcn.0040ba70
and eax, 0xff
test eax, eax
je 0x40aaa6
lea ecx, [ebp - 0x1cc]
call fcn.0040ba00
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1bc], ecx
mov ecx, dword [ebp - 0x1bc]
call fcn.00402580
mov edx, dword [ebp - 0x1b8]
add edx, eax
mov dword [ebp - 0x1b8], edx
jmp 0x40aa39
lea ecx, [ebp - 0x1c8]
call fcn.00403260
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1b4]
call fcn.00419a10
mov byte [ebp - 4], 1
lea eax, [ebp - 0x204]
push eax
mov ecx, dword [ebp - 0x238]
add ecx, 0x58
call fcn.0040b840
mov ecx, dword [eax]
mov dword [ebp - 0x1cc], ecx
jmp 0x40aafa
push 0
lea edx, [ebp - 0x208]
push edx
lea ecx, [ebp - 0x1cc]
call fcn.0040ba20
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp - 0x238]
add ecx, 0x58
call fcn.0040b860
push eax
lea ecx, [ebp - 0x1cc]
call fcn.0040ba70
and eax, 0xff
test eax, eax
je 0x40b10f
mov ecx, dword [ebp - 0x238]
xor edx, edx
mov dl, byte [ecx + 0x68]
test edx, edx
je 0x40ab6a
mov byte [ebp - 0x210], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1b4]
call fcn.00419c70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c8]
call fcn.00465d19
mov al, byte [ebp - 0x210]
jmp 0x40b154
lea ecx, [ebp - 0x1cc]
call fcn.0040ba00
mov eax, dword [eax]
mov dword [ebp - 0x1c0], eax
lea ecx, [ebp - 0x1cc]
call fcn.0040ba00
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1bc], ecx
mov byte [ebp - 4], 2
push 0x48b238
mov edx, dword [ebp - 0x238]
add edx, 0x34
push edx
lea eax, [ebp - 0x214]
push eax
call fcn.00465fae
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x23c]
mov dword [ebp - 0x240], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x1c0]
push edx
mov eax, dword [ebp - 0x240]
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.00465fae
mov dword [ebp - 0x244], eax
mov edx, dword [ebp - 0x244]
mov dword [ebp - 0x248], edx
mov byte [ebp - 4], 4
push 0x48b230
mov eax, dword [ebp - 0x248]
push eax
lea ecx, [ebp - 0x21c]
push ecx
call fcn.00465fae
mov dword [ebp - 0x24c], eax
mov edx, dword [ebp - 0x24c]
mov dword [ebp - 0x250], edx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x250]
call fcn.00402400
mov dword [ebp - 0x254], eax
push 0
push 0
mov eax, dword [ebp - 0x254]
push eax
lea ecx, [ebp - 0x1b4]
call fcn.00419d80
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x21c]
call fcn.00465d19
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x218]
call fcn.00465d19
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x214]
call fcn.00465d19
jmp 0x40ad00
mov dword [ebp - 4], 1
mov dword [ebp - 0x1d0], 0
jmp 0x40ad22
mov edx, dword [ebp - 0x1d0]
add edx, 1
mov dword [ebp - 0x1d0], edx
mov ecx, dword [ebp - 0x1bc]
call fcn.00402580
cmp dword [ebp - 0x1d0], eax
jae 0x40b02d
push 0
push 2
mov eax, dword [ebp - 0x1d0]
push eax
mov ecx, dword [ebp - 0x1bc]
call fcn.0040bb70
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x1b4]
call fcn.0041a060
mov dword [ebp - 0x1e0], eax
cmp dword [ebp - 0x1e0], 0xffffffff
je 0x40b028
mov edx, dword [ebp - 0x1c4]
add edx, 1
mov dword [ebp - 0x1c4], edx
mov eax, dword [ebp - 0x1d0]
push eax
mov ecx, dword [ebp - 0x1bc]
call fcn.0040bb70
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x1d0]
push edx
mov ecx, dword [ebp - 0x1bc]
call fcn.0040bb70
mov eax, dword [eax]
push eax
mov ecx, dword [ebp - 0x1b8]
push ecx
mov edx, dword [ebp - 0x1c4]
push edx
push str.__d__d__Extracting__s_s
lea eax, [ebp - 0x1c8]
push eax
call fcn.00460c4e
add esp, 0x18
lea ecx, [ebp - 0x1c8]
call fcn.00402400
push eax
mov ecx, dword [0x495510]
call fcn.004031e6
push 0
mov ecx, dword [0x495510]
call fcn.004024d0
push 0x48b270
mov ecx, dword [ebp - 0x238]
add ecx, 0x34
push ecx
lea edx, [ebp - 0x220]
push edx
call fcn.00465fae
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x1d0]
push ecx
mov ecx, dword [ebp - 0x1bc]
call fcn.0040bb70
mov edx, dword [eax]
push edx
mov eax, dword [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x224]
push ecx
call fcn.00465fae
mov dword [ebp - 0x260], eax
mov edx, dword [ebp - 0x260]
mov dword [ebp - 0x264], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x264]
push eax
lea ecx, [ebp - 0x1c8]
call fcn.00465e52
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x224]
call fcn.00465d19
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x220]
call fcn.00465d19
mov dword [ebp - 0x1f4], 0
lea ecx, [ebp - 0x1c8]
call fcn.00402400
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x1f4], eax
cmp dword [ebp - 0x1f4], 0xffffffff
je 0x40af5c
mov ecx, dword [ebp - 0x1f4]
and ecx, 4
test ecx, ecx
je 0x40aef2
mov edx, dword [ebp - 0x1f4]
and edx, 0xfffffffb
mov dword [ebp - 0x1f4], edx
mov eax, dword [ebp - 0x1f4]
push eax
lea ecx, [ebp - 0x1c8]
call fcn.00402400
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [ebp - 0x1f4]
and ecx, 2
test ecx, ecx
je 0x40af27
mov edx, dword [ebp - 0x1f4]
and edx, 0xfffffffd
mov dword [ebp - 0x1f4], edx
mov eax, dword [ebp - 0x1f4]
push eax
lea ecx, [ebp - 0x1c8]
call fcn.00402400
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [ebp - 0x1f4]
and ecx, 1
test ecx, ecx
je 0x40af5c
mov edx, dword [ebp - 0x1f4]
and edx, 0xfffffffe
mov dword [ebp - 0x1f4], edx
mov eax, dword [ebp - 0x1f4]
push eax
lea ecx, [ebp - 0x1c8]
call fcn.00402400
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x10000
push 0
push 1
mov ecx, dword [ebp - 0x238]
add ecx, 0x34
call fcn.00402400
push eax
mov cx, word [ebp - 0x1e0]
push ecx
lea ecx, [ebp - 0x1b4]
call fcn.0041a750
mov edx, dword [ebp - 0x238]
mov eax, dword [edx + 0x38]
fild dword [ebp - 0x1b8]
fild dword [ebp - 0x1c4]
fmul dword [0x474500]
fdivrp st(1)
fadd dword [0x474504]
fstp dword [eax]
lea ecx, [ebp - 0x1f0]
call fcn.00403300
mov dword [ebp - 0x1f0], 0x1f
mov dword [ebp - 0x1ec], 0x1ab
mov dword [ebp - 0x1e8], 0x1ef
mov dword [ebp - 0x1e4], 0x1bb
push 0
lea ecx, [ebp - 0x1f0]
call fcn.00403fe0
push eax
mov ecx, dword [0x495514]
call fcn.00403ff0
mov ecx, dword [ebp - 0x1d0]
push ecx
mov ecx, dword [ebp - 0x1bc]
call fcn.0040bb70
mov edx, dword [eax]
push edx
push str.Login.new
call fcn.00439b00
add esp, 8
test eax, eax
jne 0x40b028
mov dword [0x495518], 1
jmp 0x40ad13
push 0
push 0
lea ecx, [ebp - 0x1b4]
call fcn.0041a470
push 0x48b288
mov eax, dword [ebp - 0x238]
add eax, 0x34
push eax
lea ecx, [ebp - 0x228]
push ecx
call fcn.00465fae
mov dword [ebp - 0x268], eax
mov edx, dword [ebp - 0x268]
mov dword [ebp - 0x26c], edx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x1c0]
push eax
mov ecx, dword [ebp - 0x26c]
push ecx
lea edx, [ebp - 0x22c]
push edx
call fcn.00465fae
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x274], eax
mov byte [ebp - 4], 0xb
push str..zip
mov ecx, dword [ebp - 0x274]
push ecx
lea edx, [ebp - 0x230]
push edx
call fcn.00465fae
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x27c], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x27c]
call fcn.00402400
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x230]
call fcn.00465d19
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x22c]
call fcn.00465d19
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x228]
call fcn.00465d19
jmp 0x40aae6
mov ecx, dword [ebp - 0x238]
add ecx, 0x44
call fcn.0040cd90
mov ecx, dword [ebp - 0x238]
mov dword [ecx + 0x24], eax
mov byte [ebp - 0x234], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1b4]
call fcn.00419c70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c8]
call fcn.00465d19
mov al, byte [ebp - 0x234]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret