Function at 0x5576d0
Capabilities:
Get common file path
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cebe1
mov eax, dword fs:[0]
push eax
sub esp, 0x494
mov eax, dword [0x70c0f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x43c], ecx
mov ecx, dword [ebp - 0x43c]
call fcn.00557660
movzx eax, al
test eax, eax
jne 0x55771a
xor al, al
jmp 0x557acf
lea ecx, [ebp - 0x448]
call fcn.00553c20
mov dword [ebp - 4], 0
mov byte [ebp - 0x425], 0
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x5579ac
lea ecx, [ebp - 0x478]
call fcn.00448600
mov byte [ebp - 4], 1
lea edx, [ebp - 0x478]
push edx
call fcn.00559210
add esp, 4
mov eax, 2
imul ecx, eax, 0
mov dword [ebp - 0x44c], ecx
cmp dword [ebp - 0x44c], 0x20c
jae 0x557779
jmp 0x55777e
call fcn.00496028
xor edx, edx
mov eax, dword [ebp - 0x44c]
mov word [ebp + eax - 0x424], dx
push 0x105
lea ecx, [ebp - 0x424]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor edx, edx
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.004e1330
add esp, 0xc
mov ecx, 2
imul edx, ecx, 0
movzx eax, word [ebp + edx - 0x424]
push eax
push str._c:_
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov dword [ebp - 0x430], 0
jmp 0x557800
mov edx, dword [ebp - 0x430]
add edx, 1
mov dword [ebp - 0x430], edx
lea ecx, [ebp - 0x478]
call fcn.00448210
cmp dword [ebp - 0x430], eax
jae 0x55799d
mov eax, dword [ebp - 0x430]
push eax
lea ecx, [ebp - 0x478]
call fcn.004481f0
mov dword [ebp - 0x434], eax
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0x434]
push edx
call fcn.004478c0
add esp, 8
movzx eax, al
test eax, eax
je 0x55784e
jmp 0x5577f1
mov ecx, dword [ebp - 0x434]
call fcn.00447710
push eax
call fcn.0055ced0
add esp, 4
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x450], 5
je 0x55787a
cmp dword [ebp - 0x450], 2
jne 0x55787f
jmp 0x5577f1
xorps xmm0, xmm0
movlpd qword [ebp - 0x480], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x46c], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x488], xmm0
lea ecx, [ebp - 0x46c]
push ecx
lea edx, [ebp - 0x480]
push edx
lea eax, [ebp - 0x488]
push eax
mov ecx, dword [ebp - 0x434]
call fcn.00447710
push eax
call fcn.0055cdf0
add esp, 0x10
mov ecx, dword [ebp - 0x468]
cmp ecx, dword [ebp + 0x14]
jb 0x557998
ja 0x5578e9
mov edx, dword [ebp - 0x46c]
cmp edx, dword [ebp + 0x10]
jbe 0x557998
mov byte [ebp - 0x425], 1
push str.7zAutoSwitchDir_
mov eax, dword [ebp - 0x434]
push eax
lea ecx, [ebp - 0x494]
push ecx
call fcn.00552e70
add esp, 0xc
mov dword [ebp - 0x458], eax
mov edx, dword [ebp - 0x458]
mov dword [ebp - 0x45c], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x45c]
push eax
lea ecx, [ebp - 0x448]
call fcn.00553b70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x494]
call fcn.00447680
lea ecx, [ebp - 0x448]
call fcn.00447710
push eax
call fcn.00557b60
add esp, 4
lea ecx, [ebp - 0x448]
call fcn.00447710
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x438], eax
mov ecx, dword [ebp - 0x438]
or ecx, 2
mov dword [ebp - 0x438], ecx
mov edx, dword [ebp - 0x438]
push edx
lea ecx, [ebp - 0x448]
call fcn.00447710
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x55799d
jmp 0x5577f1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x478]
call fcn.00448470
movzx eax, byte [ebp - 0x425]
test eax, eax
jne 0x5579f1
lea ecx, [ebp - 0x448]
push ecx
call fcn.00558700
add esp, 4
movzx edx, al
test edx, edx
jne 0x5579f1
mov byte [ebp - 0x426], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x448]
call fcn.00447680
mov al, byte [ebp - 0x426]
jmp 0x557acf
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x448]
push ecx
lea edx, [ebp - 0x4a0]
push edx
call fcn.00552e70
add esp, 0xc
mov dword [ebp - 0x460], eax
mov eax, dword [ebp - 0x460]
mov dword [ebp - 0x464], eax
mov byte [ebp - 4], 3
push 0
mov ecx, dword [ebp - 0x43c]
add ecx, 4
push ecx
push 1
mov ecx, dword [ebp - 0x464]
call fcn.00447710
push eax
call fcn.00556dd0
add esp, 0x10
movzx edx, al
test edx, edx
jne 0x557a56
mov dword [ebp - 0x454], 1
jmp 0x557a60
mov dword [ebp - 0x454], 0
mov al, byte [ebp - 0x454]
mov byte [ebp - 0x427], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4a0]
call fcn.00447680
movzx ecx, byte [ebp - 0x427]
test ecx, ecx
je 0x557aa7
mov byte [ebp - 0x428], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x448]
call fcn.00447680
mov al, byte [ebp - 0x428]
jmp 0x557acf
mov edx, dword [ebp - 0x43c]
mov byte [edx], 1
mov byte [ebp - 0x429], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x448]
call fcn.00447680
mov al, byte [ebp - 0x429]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00495c0c
mov esp, ebp
pop ebp
ret 0x10