Function at 0x57413c
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffa94
push ebx
push esi
push edi
mov dword [ebp - 0x90], eax
mov eax, 0x72e948
call fcn.00654e18
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMAction_rIdSimbo_qqrv
mov byte [ebp - 0x91], al
mov dword [ebp - 0x98], 1
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMAction_RefreshBufferSize_qqrv
mov edx, dword [ebp - 0x90]
push dword [edx + 0x458]
call fcn.00653b20
pop ecx
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x9d], 0
xor ecx, ecx
mov dword [ebp - 0xa4], ecx
xor eax, eax
mov dword [ebp - 0xa8], eax
mov word [ebp - 0x7c], 0xc
lea eax, [ebp - 4]
call fcn.00402d54
inc dword [ebp - 0x70]
inc dword [ebp - 0x70]
mov word [ebp - 0x7c], 0x18
push 0x72e754
push 0xff
call fcn.0065b7cc
add esp, 8
mov edx, dword [ebp - 0x90]
xor ecx, ecx
mov dword [edx + 0x480], ecx
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x11c]
mov edx, dword [ebp - 0x90]
add edx, 0x484
mov ecx, 4
call fcn.0048aae4
push eax
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMAction_rActionManager_qqrv
pop edx
call sym.gta.exe__TWMActionManager_wProgress_qqrul
xor ecx, ecx
mov dword [ebp - 0xac], ecx
mov word [ebp - 0x7c], 0x18
jmp 0x574b5d
mov eax, dword [0x749280]
mov eax, dword [eax]
call fcn.004f282c
push 0x49a
push 0
mov edx, dword [ebp - 0x90]
add edx, 0x488
push edx
call fcn.006548f7
add esp, 0xc
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x11c]
mov edx, dword [ebp - 0x90]
add edx, 0x488
mov ecx, 0x49a
call fcn.0048aae4
push eax
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMAction_rActionManager_qqrv
pop edx
call sym.gta.exe__TWMActionManager_wProgress_qqrul
mov word [ebp - 0x7c], 0x24
mov ecx, dword [ebp - 0x90]
add ecx, 0x888
mov dword [ebp - 0xb4], ecx
lea eax, [ebp - 8]
mov ecx, 0xfde9
mov edx, dword [ebp - 0xb4]
call fcn.00661cfc
inc dword [ebp - 0x70]
lea eax, [ebp - 8]
inc dword [ebp - 0x70]
mov dword [ebp - 0xb0], eax
xor edx, edx
mov dword [ebp - 0xc], edx
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0xb0]
call fcn.004446e8
inc dword [ebp - 0x70]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x90]
add eax, 0x468
call fcn.00662aa8
dec dword [ebp - 0x70]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00662a80
sub dword [ebp - 0x70], 2
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040240c
mov word [ebp - 0x7c], 0x30
xor ecx, ecx
mov dword [ebp - 0x14], ecx
lea eax, [ebp - 0x14]
push eax
inc dword [ebp - 0x70]
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMAction_rActionManager_qqrv
xor edx, edx
mov dword [ebp - 0x10], edx
lea edx, [ebp - 0x10]
inc dword [ebp - 0x70]
call sym.gta.exe__TWMActionManager_rCurrentLanguage_qqrv
lea ecx, [ebp - 0x10]
mov ecx, dword [ecx]
mov edx, 1
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMLangSource_rLangPhrase_qqri20System_UnicodeString
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x90]
add eax, 0x46c
call fcn.00662aa8
dec dword [ebp - 0x70]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x70]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00662a80
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMAction_rActionManager_qqrv
add eax, 0x48
mov dword [ebp - 0xb8], eax
mov edx, dword [ebp - 0x90]
add edx, 0x46c
push edx
mov ecx, dword [ebp - 0x90]
add ecx, 0x468
mov ebx, dword [ebp - 0xb8]
mov eax, dword [ebx + 4]
mov ebx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0x90]
call dword [ebx]
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMAction_rActionManager_qqrv
call sym.gta.exe__TWMActionManager_rAutoInstall_qqrv
test al, al
jne 0x57456c
mov word [ebp - 0x7c], 0x3c
xor ecx, ecx
mov dword [ebp - 0x20], ecx
lea eax, [ebp - 0x20]
push eax
inc dword [ebp - 0x70]
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMAction_rActionManager_qqrv
xor edx, edx
mov dword [ebp - 0x1c], edx
lea edx, [ebp - 0x1c]
inc dword [ebp - 0x70]
call sym.gta.exe__TWMActionManager_rCurrentLanguage_qqrv
lea ecx, [ebp - 0x1c]
mov ecx, dword [ecx]
mov edx, 2
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMLangSource_rLangPhrase_qqri20System_UnicodeString
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMAction_rActionManager_qqrv
xor edx, edx
mov dword [ebp - 0x18], edx
lea edx, [ebp - 0x18]
inc dword [ebp - 0x70]
call sym.gta.exe__TWMActionManager_rGamePath_qqrv
lea eax, [ebp - 0x18]
xor ecx, ecx
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x24]
inc dword [ebp - 0x70]
pop edx
call fcn.00662ad0
lea eax, [ebp - 0x24]
push eax
mov edx, 0x72e75a
lea eax, [ebp - 0x28]
call fcn.006628f0
inc dword [ebp - 0x70]
lea edx, [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x2c]
inc dword [ebp - 0x70]
pop eax
call fcn.00662ad0
lea edx, [ebp - 0x2c]
push edx
mov edx, dword [ebp - 0x90]
add edx, 0x488
lea eax, [ebp - 0x30]
call fcn.006628f0
inc dword [ebp - 0x70]
lea edx, [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x34]
inc dword [ebp - 0x70]
pop eax
call fcn.00662ad0
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x38]
mov ecx, 0xfde9
call fcn.00661dac
inc dword [ebp - 0x70]
inc dword [ebp - 0x70]
lea edx, [ebp - 0x38]
lea eax, [ebp - 4]
call fcn.00661e84
sub dword [ebp - 0x70], 2
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.0040240c
dec dword [ebp - 0x70]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x70]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x70]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x70]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x70]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x70]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x70]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x70]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00662a80
jmp 0x574639
mov word [ebp - 0x7c], 0x48
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMAction_rActionManager_qqrv
xor edx, edx
mov dword [ebp - 0x3c], edx
lea edx, [ebp - 0x3c]
inc dword [ebp - 0x70]
call sym.gta.exe__TWMActionManager_rGamePath_qqrv
lea eax, [ebp - 0x3c]
push eax
mov edx, dword [ebp - 0x90]
add edx, 0x488
lea eax, [ebp - 0x40]
call fcn.006628f0
inc dword [ebp - 0x70]
lea edx, [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x44]
inc dword [ebp - 0x70]
pop eax
call fcn.00662ad0
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x48]
mov ecx, 0xfde9
call fcn.00661dac
inc dword [ebp - 0x70]
inc dword [ebp - 0x70]
lea edx, [ebp - 0x48]
lea eax, [ebp - 4]
call fcn.00661e84
sub dword [ebp - 0x70], 2
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0040240c
dec dword [ebp - 0x70]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x70]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x70]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00662a80
push 0x80
cmp dword [ebp - 4], 0
jne 0x574630
mov ecx, 0x72e75c
jmp 0x574633
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.DLL_SetFileAttributesA
mov eax, dword [ebp - 0x90]
add eax, 0x470
mov dword [ebp - 0xbc], eax
mov word [ebp - 0x7c], 0x54
mov edx, dword [ebp - 0x90]
add edx, 0x488
mov dword [ebp - 0xc4], edx
lea eax, [ebp - 0x50]
mov ecx, 0xfde9
mov edx, dword [ebp - 0xc4]
call fcn.00661cfc
inc dword [ebp - 0x70]
lea eax, [ebp - 0x50]
inc dword [ebp - 0x70]
mov dword [ebp - 0xc0], eax
xor edx, edx
mov dword [ebp - 0x54], edx
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 0xc0]
call fcn.004446e8
inc dword [ebp - 0x70]
lea ecx, [ebp - 0x54]
push ecx
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMAction_rActionManager_qqrv
xor edx, edx
mov dword [ebp - 0x4c], edx
lea edx, [ebp - 0x4c]
inc dword [ebp - 0x70]
call sym.gta.exe__TWMActionManager_rGamePath_qqrv
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov dword [ebp - 0x58], ecx
lea ecx, [ebp - 0x58]
inc dword [ebp - 0x70]
pop edx
call fcn.00662ad0
lea edx, [ebp - 0x58]
lea eax, [ebp - 0x5c]
mov ecx, 0xfde9
call fcn.00661dac
inc dword [ebp - 0x70]
inc dword [ebp - 0x70]
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0xbc]
call fcn.00661e84
sub dword [ebp - 0x70], 2
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.0040240c
dec dword [ebp - 0x70]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x70]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x70]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.00662a80
sub dword [ebp - 0x70], 2
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.0040240c
mov ecx, dword [ebp - 0x90]
cmp dword [ecx + 0x480], 0
jne 0x5747d7
mov word [ebp - 0x7c], 0x60
mov eax, dword [ebp - 0x90]
add eax, 0x470
mov dword [ebp - 0xc8], eax
xor edx, edx
mov dword [ebp - 0x60], edx
lea eax, [ebp - 0x60]
mov edx, dword [ebp - 0xc8]
call fcn.004446e8
lea ecx, [ebp - 0x60]
inc dword [ebp - 0x70]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMActionGTADeleteSA_OpenIMG_qqr20System_UnicodeString
xor ecx, ecx
mov cl, al
cmp ecx, 1
sbb eax, eax
neg eax
push eax
dec dword [ebp - 0x70]
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.00662a80
pop ecx
test cl, cl
je 0x5747d7
sub dword [ebp - 0x70], 2
lea eax, [ebp - 4]
mov edx, 2
call fcn.0040240c
mov ecx, dword [ebp - 0x8c]
mov dword fs:[0], ecx
jmp 0x574bb2
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x90]
mov eax, dword [eax + 0x480]
call fcn.0048ab3c
mov edx, dword [ebp - 0x90]
add edx, 0x922
mov ecx, 8
mov eax, dword [ebp - 0x90]
mov eax, dword [eax + 0x480]
call fcn.0048aae4
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMAction_rActionManager_qqrv
call sym.gta.exe__TWMActionManager_rAutoInstall_qqrv
test al, al
je 0x574b57
mov word [ebp - 0x7c], 0x6c
mov edx, dword [ebp - 0x90]
add edx, 0x888
mov dword [ebp - 0xd0], edx
lea eax, [ebp - 0x64]
mov ecx, 0xfde9
mov edx, dword [ebp - 0xd0]
call fcn.00661cfc
inc dword [ebp - 0x70]
lea eax, [ebp - 0x64]
inc dword [ebp - 0x70]
mov dword [ebp - 0xcc], eax
xor edx, edx
mov dword [ebp - 0x68], edx
lea eax, [ebp - 0x68]
mov edx, dword [ebp - 0xcc]
call fcn.004446e8
lea ecx, [ebp - 0x68]
inc dword [ebp - 0x70]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMActionGTADeleteSA_FindFileToIMG_qqr20System_UnicodeString
mov ecx, dword [ebp - 0x90]
mov dword [ecx + 0x474], eax
dec dword [ebp - 0x70]
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.00662a80
sub dword [ebp - 0x70], 2
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.0040240c
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMAction_rActionManager_qqrv
call sym.gta.exe__TWMActionManager_rInstallator_qqrv
test al, al
je 0x574b29
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMAction_rActionManager_qqrv
call sym.gta.exe__TWMActionManager_rAutoInstall_qqrv
test al, al
je 0x574b29
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMAction_rActionManager_qqrv
cmp byte [eax + 0xd9], 0
je 0x574b29
mov edx, dword [ebp - 0x90]
cmp dword [edx + 0x474], 0xffffffff
je 0x574a5e
mov ecx, dword [ebp - 0x90]
lea esi, [ecx + 0x488]
lea edi, [ebp - 0x56c]
mov ecx, 0x126
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, dword [ebp - 0x90]
mov edx, dword [eax + 0x474]
test edx, edx
jns 0x57493f
add edx, 0x7ff
sar edx, 0xb
mov dword [ebp - 0xd6], edx
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x120]
lea edx, [ebp - 0x91]
mov ecx, 1
call fcn.0048ab10
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x120]
mov ecx, 4
mov edx, dword [ebp - 0x90]
mov edx, dword [edx + 0x464]
call fcn.0048ab10
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x120]
lea edx, [ebp - 0x98]
mov ecx, 4
call fcn.0048ab10
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x120]
lea edx, [ebp - 0x56c]
mov ecx, 0x49a
call fcn.0048ab10
push 1
mov eax, dword [ebp - 0x90]
mov edx, dword [eax + 0x92e]
add edx, edx
push edx
call fcn.00653a84
add esp, 8
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x90]
mov ecx, dword [ecx + 0x92e]
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x90]
mov eax, dword [eax + 0x480]
call fcn.0048aae4
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x120]
mov edx, dword [ebp - 0x90]
mov ecx, dword [edx + 0x92e]
mov edx, dword [ebp - 0x9c]
call fcn.0048ab10
push dword [ebp - 0x9c]
call fcn.00653b30
pop ecx
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMAction_rActionManager_qqrv
inc dword [eax + 0x10c]
jmp 0x574b29
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x120]
lea edx, [ebp - 0x91]
mov ecx, 1
call fcn.0048ab10
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x120]
mov edx, dword [ebp - 0x90]
mov edx, dword [edx + 0x464]
add edx, 4
mov ecx, 4
call fcn.0048ab10
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x120]
lea edx, [ebp - 0x98]
mov ecx, 4
call fcn.0048ab10
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x120]
mov edx, dword [ebp - 0x90]
add edx, 0x488
mov ecx, 0x400
call fcn.0048ab10
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x120]
mov edx, dword [ebp - 0x90]
add edx, 0x888
mov ecx, 0x64
call fcn.0048ab10
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMAction_rActionManager_qqrv
inc dword [eax + 0x10c]
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMAction_rActionManager_qqrv
call sym.gta.exe__TWMActionManager_rAutoInstall_qqrv
test al, al
je 0x574b57
mov edx, dword [ebp - 0x90]
cmp dword [edx + 0x474], 0xffffffff
je 0x574b57
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMActionGTADeleteSA_RemoveFile_qqrv
inc dword [ebp - 0xac]
mov edx, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x90]
cmp edx, dword [ecx + 0x484]
jb 0x574233
mov eax, dword [ebp - 0x90]
mov eax, dword [eax + 0x480]
call fcn.0048ab98
mov edx, dword [ebp - 0x90]
xor ecx, ecx
mov dword [edx + 0x480], ecx
sub dword [ebp - 0x70], 2
lea eax, [ebp - 4]
mov edx, 2
call fcn.0040240c
mov ecx, dword [ebp - 0x8c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret