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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4746f3
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.004116f0
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.004114d0
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
jmp 0x41059e
push 0
lea edx, [ebp - 0x200]
push edx
lea ecx, [ebp - 0x14]
call fcn.00411730
lea eax, [ebp - 0x204]
push eax
mov ecx, dword [ebp - 0x23c]
add ecx, 0x58
call fcn.00406230
push eax
lea ecx, [ebp - 0x14]
call fcn.00411760
movzx ecx, al
test ecx, ecx
je 0x4105e7
lea ecx, [ebp - 0x14]
call fcn.00411710
mov edx, dword [eax + 4]
mov dword [ebp - 0x1cc], edx
mov ecx, dword [ebp - 0x1cc]
call fcn.00411640
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
jmp 0x41058d
lea ecx, [ebp - 0x1d0]
call fcn.00407430
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c8]
call fcn.0041c8f0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x208]
push eax
mov ecx, dword [ebp - 0x23c]
add ecx, 0x58
call fcn.004114d0
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
jmp 0x410635
push 0
lea edx, [ebp - 0x20c]
push edx
lea ecx, [ebp - 0x14]
call fcn.00411730
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x23c]
add ecx, 0x58
call fcn.00406230
push eax
lea ecx, [ebp - 0x14]
call fcn.00411760
movzx ecx, al
test ecx, ecx
je 0x410c15
mov edx, dword [ebp - 0x23c]
movzx eax, byte [edx + 0x64]
test eax, eax
je 0x41069f
mov byte [ebp - 0x211], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c8]
call fcn.0041c1d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1d0]
call fcn.004069f0
mov al, byte [ebp - 0x211]
jmp 0x410c5a
lea ecx, [ebp - 0x14]
call fcn.00411710
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x14]
call fcn.00411710
mov edx, dword [eax + 4]
mov dword [ebp - 0x1cc], edx
mov byte [ebp - 4], 2
push 0x47943c
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 0x479434
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.00406190
push eax
lea ecx, [ebp - 0x1c8]
call fcn.0041c2d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x220]
call fcn.004069f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x21c]
call fcn.004069f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x218]
call fcn.004069f0
jmp 0x410826
mov dword [ebp - 4], 1
mov dword [ebp - 0x1e0], 0
jmp 0x410848
mov edx, dword [ebp - 0x1e0]
add edx, 1
mov dword [ebp - 0x1e0], edx
mov ecx, dword [ebp - 0x1cc]
call fcn.00411640
cmp dword [ebp - 0x1e0], eax
jae 0x410b41
push 0
push 2
mov eax, dword [ebp - 0x1e0]
push eax
mov ecx, dword [ebp - 0x1cc]
call fcn.004061f0
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x1c8]
call fcn.0041b830
mov dword [ebp - 0x1e4], eax
cmp dword [ebp - 0x1e4], 0xffffffff
je 0x410b3c
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.004061f0
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x1e0]
push edx
mov ecx, dword [ebp - 0x1cc]
call fcn.004061f0
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.00408380
add esp, 0x18
lea ecx, [ebp - 0x1d0]
call fcn.00406190
push eax
mov ecx, dword [0x49ca60]
call fcn.00406e40
push 0
mov ecx, dword [0x49ca60]
call fcn.00406140
push 0x479474
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.004061f0
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.004098c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x228]
call fcn.004069f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x224]
call fcn.004069f0
mov dword [ebp - 0x1f8], 0
lea ecx, [ebp - 0x1d0]
call fcn.00406190
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x1f8], eax
cmp dword [ebp - 0x1f8], 0xffffffff
je 0x410a76
mov ecx, dword [ebp - 0x1f8]
and ecx, 4
je 0x410a10
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.00406190
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [ebp - 0x1f8]
and ecx, 2
je 0x410a43
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.00406190
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [ebp - 0x1f8]
and ecx, 1
je 0x410a76
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.00406190
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.00406190
push eax
mov cx, word [ebp - 0x1e4]
push ecx
lea ecx, [ebp - 0x1c8]
call fcn.0041dd50
mov edx, dword [ebp - 0x23c]
mov eax, dword [edx + 0x38]
fild dword [ebp - 0x1c]
fild dword [ebp - 0x18]
fmul dword [0x4794c4]
fdivrp st(1)
fadd dword [0x4794c8]
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.00408350
mov ecx, dword [ebp - 0x1e0]
push ecx
mov ecx, dword [ebp - 0x1cc]
call fcn.004061f0
mov edx, dword [eax]
push edx
push str.Login.new
call fcn.00444dc2
add esp, 8
test eax, eax
jne 0x410b3c
mov dword [0x49ca68], 1
jmp 0x410839
push 0
push 0
lea ecx, [ebp - 0x1c8]
call fcn.0041d330
push 0x47948c
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.00406190
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x234]
call fcn.004069f0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x230]
call fcn.004069f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.004069f0
jmp 0x410624
mov ecx, dword [ebp - 0x23c]
add ecx, 0x44
call fcn.00406190
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.0041c1d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1d0]
call fcn.004069f0
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