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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4747a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x268
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x23c], ecx
lea ecx, [ebp - 0x14]
call fcn.004116d0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x1fc]
push eax
mov ecx, dword [ebp - 0x23c]
add ecx, 0x58
call fcn.00411540
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
jmp 0x4105ee
push 0
lea edx, [ebp - 0x200]
push edx
lea ecx, [ebp - 0x14]
call fcn.00411710
lea eax, [ebp - 0x204]
push eax
mov ecx, dword [ebp - 0x23c]
add ecx, 0x58
call fcn.004117f0
push eax
lea ecx, [ebp - 0x14]
call fcn.0040da10
movzx ecx, al
test ecx, ecx
je 0x410637
lea ecx, [ebp - 0x14]
call fcn.004116f0
mov edx, dword [eax + 4]
mov dword [ebp - 0x1cc], edx
mov ecx, dword [ebp - 0x1cc]
call fcn.00411690
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
jmp 0x4105dd
lea ecx, [ebp - 0x1d0]
call fcn.00407420
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c8]
call fcn.0041c9a0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x208]
push eax
mov ecx, dword [ebp - 0x23c]
add ecx, 0x58
call fcn.00411540
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
jmp 0x410685
push 0
lea edx, [ebp - 0x20c]
push edx
lea ecx, [ebp - 0x14]
call fcn.00411710
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x23c]
add ecx, 0x58
call fcn.004117f0
push eax
lea ecx, [ebp - 0x14]
call fcn.0040da10
movzx ecx, al
test ecx, ecx
je 0x410c65
mov edx, dword [ebp - 0x23c]
movzx eax, byte [edx + 0x64]
test eax, eax
je 0x4106ef
mov byte [ebp - 0x211], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c8]
call fcn.0041c280
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1d0]
call fcn.004069e0
mov al, byte [ebp - 0x211]
jmp 0x410caa
lea ecx, [ebp - 0x14]
call fcn.004116f0
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x14]
call fcn.004116f0
mov edx, dword [eax + 4]
mov dword [ebp - 0x1cc], edx
mov byte [ebp - 4], 2
push 0x47940c
mov eax, dword [ebp - 0x23c]
add eax, 0x34
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.0040d640
add esp, 0xc
mov dword [ebp - 0x240], eax
mov edx, dword [ebp - 0x240]
mov dword [ebp - 0x244], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x244]
push ecx
lea edx, [ebp - 0x21c]
push edx
call fcn.0040d640
add esp, 0xc
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x24c], eax
mov byte [ebp - 4], 4
push 0x479404
mov ecx, dword [ebp - 0x24c]
push ecx
lea edx, [ebp - 0x220]
push edx
call fcn.0040d640
add esp, 0xc
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x254], eax
mov byte [ebp - 4], 5
push 0
push 0
mov ecx, dword [ebp - 0x254]
call fcn.00413160
push eax
lea ecx, [ebp - 0x1c8]
call fcn.0041c380
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x220]
call fcn.004069e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x21c]
call fcn.004069e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x218]
call fcn.004069e0
jmp 0x410876
mov dword [ebp - 4], 1
mov dword [ebp - 0x1e0], 0
jmp 0x410898
mov edx, dword [ebp - 0x1e0]
add edx, 1
mov dword [ebp - 0x1e0], edx
mov ecx, dword [ebp - 0x1cc]
call fcn.00411690
cmp dword [ebp - 0x1e0], eax
jae 0x410b91
push 0
push 2
mov eax, dword [ebp - 0x1e0]
push eax
mov ecx, dword [ebp - 0x1cc]
call fcn.004061d0
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x1c8]
call fcn.0041b8e0
mov dword [ebp - 0x1e4], eax
cmp dword [ebp - 0x1e4], 0xffffffff
je 0x410b8c
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x1e0]
push eax
mov ecx, dword [ebp - 0x1cc]
call fcn.004061d0
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x1e0]
push edx
mov ecx, dword [ebp - 0x1cc]
call fcn.004061d0
mov eax, dword [eax]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
push str.__d__d__Extracting__s_s
lea eax, [ebp - 0x1d0]
push eax
call fcn.00408370
add esp, 0x18
lea ecx, [ebp - 0x1d0]
call fcn.00413160
push eax
mov ecx, dword [0x49ca60]
call fcn.00406e30
push 0
mov ecx, dword [0x49ca60]
call fcn.00406130
push 0x479444
mov ecx, dword [ebp - 0x23c]
add ecx, 0x34
push ecx
lea edx, [ebp - 0x224]
push edx
call fcn.0040d640
add esp, 0xc
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x1e0]
push ecx
mov ecx, dword [ebp - 0x1cc]
call fcn.004061d0
mov edx, dword [eax]
push edx
mov eax, dword [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x228]
push ecx
call fcn.0040d640
add esp, 0xc
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 - 0x1d0]
call fcn.00409820
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x228]
call fcn.004069e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x224]
call fcn.004069e0
mov dword [ebp - 0x1f8], 0
lea ecx, [ebp - 0x1d0]
call fcn.00413160
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x1f8], eax
cmp dword [ebp - 0x1f8], 0xffffffff
je 0x410ac6
mov ecx, dword [ebp - 0x1f8]
and ecx, 4
je 0x410a60
mov edx, dword [ebp - 0x1f8]
and edx, 0xfffffffb
mov dword [ebp - 0x1f8], edx
mov eax, dword [ebp - 0x1f8]
push eax
lea ecx, [ebp - 0x1d0]
call fcn.00413160
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [ebp - 0x1f8]
and ecx, 2
je 0x410a93
mov edx, dword [ebp - 0x1f8]
and edx, 0xfffffffd
mov dword [ebp - 0x1f8], edx
mov eax, dword [ebp - 0x1f8]
push eax
lea ecx, [ebp - 0x1d0]
call fcn.00413160
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [ebp - 0x1f8]
and ecx, 1
je 0x410ac6
mov edx, dword [ebp - 0x1f8]
and edx, 0xfffffffe
mov dword [ebp - 0x1f8], edx
mov eax, dword [ebp - 0x1f8]
push eax
lea ecx, [ebp - 0x1d0]
call fcn.00413160
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x10000
push 0
push 1
mov ecx, dword [ebp - 0x23c]
add ecx, 0x34
call fcn.00413160
push eax
mov cx, word [ebp - 0x1e4]
push ecx
lea ecx, [ebp - 0x1c8]
call fcn.0041de00
mov edx, dword [ebp - 0x23c]
mov eax, dword [edx + 0x38]
fild dword [ebp - 0x1c]
fild dword [ebp - 0x18]
fmul dword [0x479494]
fdivrp st(1)
fadd dword [0x479498]
fstp dword [eax]
lea ecx, [ebp - 0x1f4]
call fcn.00401510
mov dword [ebp - 0x1f4], 0x1f
mov dword [ebp - 0x1f0], 0x1ab
mov dword [ebp - 0x1ec], 0x1ef
mov dword [ebp - 0x1e8], 0x1bb
push 0
lea ecx, [ebp - 0x1f4]
call fcn.00401510
push eax
mov ecx, dword [0x49ca64]
call fcn.00408340
mov ecx, dword [ebp - 0x1e0]
push ecx
mov ecx, dword [ebp - 0x1cc]
call fcn.004061d0
mov edx, dword [eax]
push edx
push str.Login.new
call fcn.00444e72
add esp, 8
test eax, eax
jne 0x410b8c
mov dword [0x49ca68], 1
jmp 0x410889
push 0
push 0
lea ecx, [ebp - 0x1c8]
call fcn.0041d3e0
push 0x47945c
mov eax, dword [ebp - 0x23c]
add eax, 0x34
push eax
lea ecx, [ebp - 0x22c]
push ecx
call fcn.0040d640
add esp, 0xc
mov dword [ebp - 0x268], eax
mov edx, dword [ebp - 0x268]
mov dword [ebp - 0x26c], edx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x26c]
push ecx
lea edx, [ebp - 0x230]
push edx
call fcn.0040d640
add esp, 0xc
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 - 0x234]
push edx
call fcn.0040d640
add esp, 0xc
mov dword [ebp - 0x278], eax
mov ecx, dword [ebp - 0x278]
call fcn.00413160
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x234]
call fcn.004069e0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x230]
call fcn.004069e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.004069e0
jmp 0x410674
mov ecx, dword [ebp - 0x23c]
add ecx, 0x44
call fcn.00413160
mov ecx, dword [ebp - 0x23c]
mov dword [ecx + 0x24], eax
mov byte [ebp - 0x235], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c8]
call fcn.0041c280
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1d0]
call fcn.004069e0
mov al, byte [ebp - 0x235]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret