Function at 0x575394
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffaac
push esi
push edi
mov dword [ebp - 0x84], eax
mov eax, 0x72edf4
call fcn.00654e18
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMAction_rIdSimbo_qqrv
mov byte [ebp - 0x85], al
mov dword [ebp - 0x8c], 1
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMAction_RefreshBufferSize_qqrv
mov edx, dword [ebp - 0x84]
push dword [edx + 0x458]
call fcn.00653b20
pop ecx
mov dword [ebp - 0x90], eax
mov byte [ebp - 0x91], 0
xor ecx, ecx
mov dword [ebp - 0x98], ecx
xor eax, eax
mov dword [ebp - 0x9c], eax
mov word [ebp - 0x70], 0xc
lea eax, [ebp - 4]
call fcn.00402d54
inc dword [ebp - 0x64]
inc dword [ebp - 0x64]
mov word [ebp - 0x70], 0x18
push 0x72ec10
push 0xff
call fcn.0065b7cc
add esp, 8
mov edx, dword [ebp - 0x84]
xor ecx, ecx
mov dword [edx + 0x478], ecx
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x11c]
mov edx, dword [ebp - 0x84]
add edx, 0x480
mov ecx, 4
call fcn.0048aae4
push eax
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMAction_rActionManager_qqrv
pop edx
call sym.gta.exe__TWMActionManager_wProgress_qqrul
xor ecx, ecx
mov dword [ebp - 0xa0], ecx
mov word [ebp - 0x70], 0x18
jmp 0x575c7f
mov eax, dword [0x749280]
mov eax, dword [eax]
call fcn.004f282c
push 0x49a
push 0
mov edx, dword [ebp - 0x84]
add edx, 0x484
push edx
call fcn.006548f7
add esp, 0xc
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x11c]
mov edx, dword [ebp - 0x84]
add edx, 0x484
mov ecx, 0x49a
call fcn.0048aae4
push eax
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMAction_rActionManager_qqrv
pop edx
call sym.gta.exe__TWMActionManager_wProgress_qqrul
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMAction_rActionManager_qqrv
call sym.gta.exe__TWMActionManager_rAutoInstall_qqrv
test al, al
jne 0x575686
mov word [ebp - 0x70], 0x24
xor edx, edx
mov dword [ebp - 0x10], edx
lea ecx, [ebp - 0x10]
push ecx
inc dword [ebp - 0x64]
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMAction_rActionManager_qqrv
xor edx, edx
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0xc]
inc dword [ebp - 0x64]
call sym.gta.exe__TWMActionManager_rCurrentLanguage_qqrv
lea ecx, [ebp - 0xc]
mov ecx, dword [ecx]
mov edx, 2
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMLangSource_rLangPhrase_qqri20System_UnicodeString
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMAction_rActionManager_qqrv
xor edx, edx
mov dword [ebp - 8], edx
lea edx, [ebp - 8]
inc dword [ebp - 0x64]
call sym.gta.exe__TWMActionManager_rGamePath_qqrv
lea eax, [ebp - 8]
xor ecx, ecx
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x14]
inc dword [ebp - 0x64]
pop edx
call fcn.00662ad0
lea eax, [ebp - 0x14]
push eax
mov edx, 0x72ec16
lea eax, [ebp - 0x18]
call fcn.006628f0
inc dword [ebp - 0x64]
lea edx, [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x1c]
inc dword [ebp - 0x64]
pop eax
call fcn.00662ad0
lea edx, [ebp - 0x1c]
push edx
mov edx, dword [ebp - 0x84]
add edx, 0x484
lea eax, [ebp - 0x20]
call fcn.006628f0
inc dword [ebp - 0x64]
lea edx, [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x24]
inc dword [ebp - 0x64]
pop eax
call fcn.00662ad0
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x28]
mov ecx, 0xfde9
call fcn.00661dac
inc dword [ebp - 0x64]
inc dword [ebp - 0x64]
lea edx, [ebp - 0x28]
lea eax, [ebp - 4]
call fcn.00661e84
sub dword [ebp - 0x64], 2
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.0040240c
dec dword [ebp - 0x64]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x64]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x64]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x64]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x64]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x64]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x64]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x64]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00662a80
jmp 0x575753
mov word [ebp - 0x70], 0x30
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMAction_rActionManager_qqrv
xor edx, edx
mov dword [ebp - 0x2c], edx
lea edx, [ebp - 0x2c]
inc dword [ebp - 0x64]
call sym.gta.exe__TWMActionManager_rGamePath_qqrv
lea eax, [ebp - 0x2c]
push eax
mov edx, dword [ebp - 0x84]
add edx, 0x484
lea eax, [ebp - 0x30]
call fcn.006628f0
inc dword [ebp - 0x64]
lea edx, [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x34]
inc dword [ebp - 0x64]
pop eax
call fcn.00662ad0
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x38]
mov ecx, 0xfde9
call fcn.00661dac
inc dword [ebp - 0x64]
inc dword [ebp - 0x64]
lea edx, [ebp - 0x38]
lea eax, [ebp - 4]
call fcn.00661e84
sub dword [ebp - 0x64], 2
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.0040240c
dec dword [ebp - 0x64]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x64]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x64]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00662a80
push 0x80
cmp dword [ebp - 4], 0
jne 0x57574a
mov ecx, 0x72ec18
jmp 0x57574d
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.DLL_SetFileAttributesA
mov eax, dword [ebp - 0x84]
add eax, 0x468
mov dword [ebp - 0xa4], eax
mov word [ebp - 0x70], 0x3c
mov edx, dword [ebp - 0x84]
add edx, 0x484
mov dword [ebp - 0xac], edx
lea eax, [ebp - 0x40]
mov ecx, 0xfde9
mov edx, dword [ebp - 0xac]
call fcn.00661cfc
inc dword [ebp - 0x64]
lea eax, [ebp - 0x40]
inc dword [ebp - 0x64]
mov dword [ebp - 0xa8], eax
xor edx, edx
mov dword [ebp - 0x44], edx
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0xa8]
call fcn.004446e8
inc dword [ebp - 0x64]
lea ecx, [ebp - 0x44]
push ecx
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMAction_rActionManager_qqrv
xor edx, edx
mov dword [ebp - 0x3c], edx
lea edx, [ebp - 0x3c]
inc dword [ebp - 0x64]
call sym.gta.exe__TWMActionManager_rGamePath_qqrv
lea eax, [ebp - 0x3c]
xor ecx, ecx
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0x48]
inc dword [ebp - 0x64]
pop edx
call fcn.00662ad0
lea edx, [ebp - 0x48]
lea eax, [ebp - 0x4c]
mov ecx, 0xfde9
call fcn.00661dac
inc dword [ebp - 0x64]
inc dword [ebp - 0x64]
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0xa4]
call fcn.00661e84
sub dword [ebp - 0x64], 2
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.0040240c
dec dword [ebp - 0x64]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x64]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x64]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00662a80
sub dword [ebp - 0x64], 2
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.0040240c
mov ecx, dword [ebp - 0x84]
cmp dword [ecx + 0x478], 0
jne 0x57591b
mov word [ebp - 0x70], 0x48
mov eax, dword [ebp - 0x84]
add eax, 0x468
mov dword [ebp - 0xb0], eax
xor edx, edx
mov dword [ebp - 0x50], edx
lea eax, [ebp - 0x50]
mov edx, dword [ebp - 0xb0]
call fcn.004446e8
lea ecx, [ebp - 0x50]
inc dword [ebp - 0x64]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMActionGTADeleteVC_OpenIMG_qqr20System_UnicodeString
xor ecx, ecx
mov cl, al
cmp ecx, 1
sbb eax, eax
neg eax
push eax
dec dword [ebp - 0x64]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.00662a80
pop ecx
test cl, cl
je 0x57591b
mov word [ebp - 0x70], 0x54
mov edx, str.error
lea eax, [ebp - 0x54]
call fcn.006628f0
inc dword [ebp - 0x64]
mov eax, dword [eax]
call fcn.004fd858
dec dword [ebp - 0x64]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.00662a80
sub dword [ebp - 0x64], 2
lea eax, [ebp - 4]
mov edx, 2
call fcn.0040240c
mov ecx, dword [ebp - 0x80]
mov dword fs:[0], ecx
jmp 0x575cf0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x84]
mov eax, dword [eax + 0x47c]
call fcn.0048ab3c
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMAction_rActionManager_qqrv
call sym.gta.exe__TWMActionManager_rAutoInstall_qqrv
test al, al
je 0x575c79
mov word [ebp - 0x70], 0x60
mov edx, dword [ebp - 0x84]
add edx, 0x884
mov dword [ebp - 0xb8], edx
lea eax, [ebp - 0x58]
mov ecx, 0xfde9
mov edx, dword [ebp - 0xb8]
call fcn.00661cfc
inc dword [ebp - 0x64]
lea eax, [ebp - 0x58]
inc dword [ebp - 0x64]
mov dword [ebp - 0xb4], eax
xor edx, edx
mov dword [ebp - 0x5c], edx
lea eax, [ebp - 0x5c]
mov edx, dword [ebp - 0xb4]
call fcn.004446e8
lea ecx, [ebp - 0x5c]
inc dword [ebp - 0x64]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMActionGTADeleteVC_FindFileToIMG_qqr20System_UnicodeString
mov ecx, dword [ebp - 0x84]
mov dword [ecx + 0x46c], eax
dec dword [ebp - 0x64]
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00662a80
sub dword [ebp - 0x64], 2
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.0040240c
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMAction_rActionManager_qqrv
call sym.gta.exe__TWMActionManager_rInstallator_qqrv
test al, al
je 0x575c4b
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMAction_rActionManager_qqrv
call sym.gta.exe__TWMActionManager_rAutoInstall_qqrv
test al, al
je 0x575c4b
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMAction_rActionManager_qqrv
cmp byte [eax + 0xd9], 0
je 0x575c4b
mov edx, dword [ebp - 0x84]
cmp dword [edx + 0x46c], 0xffffffff
je 0x575b80
mov ecx, dword [ebp - 0x84]
lea esi, [ecx + 0x484]
lea edi, [ebp - 0x554]
mov ecx, 0x126
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, dword [ebp - 0x84]
mov edx, dword [eax + 0x46c]
test edx, edx
jns 0x575a61
add edx, 0x7ff
sar edx, 0xb
mov dword [ebp - 0xbe], edx
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x120]
lea edx, [ebp - 0x85]
mov ecx, 1
call fcn.0048ab10
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x120]
mov ecx, 4
mov edx, dword [ebp - 0x84]
mov edx, dword [edx + 0x464]
call fcn.0048ab10
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x120]
lea edx, [ebp - 0x8c]
mov ecx, 4
call fcn.0048ab10
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x120]
lea edx, [ebp - 0x554]
mov ecx, 0x49a
call fcn.0048ab10
push 1
mov eax, dword [ebp - 0x84]
mov edx, dword [eax + 0x92a]
add edx, edx
push edx
call fcn.00653a84
add esp, 8
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x84]
mov ecx, dword [ecx + 0x92a]
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x84]
mov eax, dword [eax + 0x478]
call fcn.0048aae4
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x120]
mov edx, dword [ebp - 0x84]
mov ecx, dword [edx + 0x92a]
mov edx, dword [ebp - 0x90]
call fcn.0048ab10
push dword [ebp - 0x90]
call fcn.00653b30
pop ecx
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMAction_rActionManager_qqrv
inc dword [eax + 0x10c]
jmp 0x575c4b
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x120]
lea edx, [ebp - 0x85]
mov ecx, 1
call fcn.0048ab10
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x120]
mov edx, dword [ebp - 0x84]
mov edx, dword [edx + 0x464]
add edx, 4
mov ecx, 4
call fcn.0048ab10
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x120]
lea edx, [ebp - 0x8c]
mov ecx, 4
call fcn.0048ab10
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x120]
mov edx, dword [ebp - 0x84]
add edx, 0x484
mov ecx, 0x400
call fcn.0048ab10
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x120]
mov edx, dword [ebp - 0x84]
add edx, 0x884
mov ecx, 0x64
call fcn.0048ab10
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMAction_rActionManager_qqrv
inc dword [eax + 0x10c]
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMAction_rActionManager_qqrv
call sym.gta.exe__TWMActionManager_rAutoInstall_qqrv
test al, al
je 0x575c79
mov edx, dword [ebp - 0x84]
cmp dword [edx + 0x46c], 0xffffffff
je 0x575c79
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMActionGTADeleteVC_RemoveFile_qqrv
inc dword [ebp - 0xa0]
mov edx, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x84]
cmp edx, dword [ecx + 0x480]
jb 0x57548a
mov eax, dword [ebp - 0x84]
mov eax, dword [eax + 0x478]
call fcn.0048ab98
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + 0x47c]
call fcn.0048ab98
mov edx, dword [ebp - 0x84]
xor ecx, ecx
mov dword [edx + 0x47c], ecx
mov eax, dword [ebp - 0x84]
xor edx, edx
mov dword [eax + 0x478], edx
sub dword [ebp - 0x64], 2
lea eax, [ebp - 4]
mov edx, 2
call fcn.0040240c
mov ecx, dword [ebp - 0x80]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret