Function at 0x5528e8
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, 0x606278
call fcn.005d0a3c
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.005cf744
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.0040279c
inc dword [ebp - 0x70]
inc dword [ebp - 0x70]
mov word [ebp - 0x7c], 0x18
push 0x606084
push 0xff
call fcn.005d7388
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.00468e40
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 0x553309
mov eax, dword [0x61fad4]
mov eax, dword [eax]
call fcn.004d07f8
push 0x49a
push 0
mov edx, dword [ebp - 0x90]
add edx, 0x488
push edx
call fcn.005d051b
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.00468e40
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.005dd8bc
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.00422c28
inc dword [ebp - 0x70]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x90]
add eax, 0x468
call fcn.005de678
dec dword [ebp - 0x70]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.005de650
sub dword [ebp - 0x70], 2
lea eax, [ebp - 8]
mov edx, 2
call fcn.00402720
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.005de678
dec dword [ebp - 0x70]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x70]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.005de650
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 0x552d18
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.005de6a0
lea eax, [ebp - 0x24]
push eax
mov edx, 0x60608a
lea eax, [ebp - 0x28]
call fcn.005de4c0
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.005de6a0
lea edx, [ebp - 0x2c]
push edx
mov edx, dword [ebp - 0x90]
add edx, 0x488
lea eax, [ebp - 0x30]
call fcn.005de4c0
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.005de6a0
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x38]
mov ecx, 0xfde9
call fcn.005dd96c
inc dword [ebp - 0x70]
inc dword [ebp - 0x70]
lea edx, [ebp - 0x38]
lea eax, [ebp - 4]
call fcn.005dda44
sub dword [ebp - 0x70], 2
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00402720
dec dword [ebp - 0x70]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x70]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x70]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x70]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x70]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x70]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x70]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x70]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.005de650
jmp 0x552de5
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.005de4c0
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.005de6a0
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x48]
mov ecx, 0xfde9
call fcn.005dd96c
inc dword [ebp - 0x70]
inc dword [ebp - 0x70]
lea edx, [ebp - 0x48]
lea eax, [ebp - 4]
call fcn.005dda44
sub dword [ebp - 0x70], 2
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00402720
dec dword [ebp - 0x70]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x70]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x70]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.005de650
push 0x80
cmp dword [ebp - 4], 0
jne 0x552ddc
mov ecx, 0x60608c
jmp 0x552ddf
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.005dd8bc
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.00422c28
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.005de6a0
lea edx, [ebp - 0x58]
lea eax, [ebp - 0x5c]
mov ecx, 0xfde9
call fcn.005dd96c
inc dword [ebp - 0x70]
inc dword [ebp - 0x70]
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0xbc]
call fcn.005dda44
sub dword [ebp - 0x70], 2
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00402720
dec dword [ebp - 0x70]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x70]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x70]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.005de650
sub dword [ebp - 0x70], 2
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.00402720
mov ecx, dword [ebp - 0x90]
cmp dword [ecx + 0x480], 0
jne 0x552f83
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.00422c28
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.005de650
pop ecx
test cl, cl
je 0x552f83
sub dword [ebp - 0x70], 2
lea eax, [ebp - 4]
mov edx, 2
call fcn.00402720
mov ecx, dword [ebp - 0x8c]
mov dword fs:[0], ecx
jmp 0x55335e
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x90]
mov eax, dword [eax + 0x480]
call fcn.00468e98
mov edx, dword [ebp - 0x90]
add edx, 0x922
mov ecx, 8
mov eax, dword [ebp - 0x90]
mov eax, dword [eax + 0x480]
call fcn.00468e40
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMAction_rActionManager_qqrv
call sym.gta.exe__TWMActionManager_rAutoInstall_qqrv
test al, al
je 0x553303
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.005dd8bc
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.00422c28
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.005de650
sub dword [ebp - 0x70], 2
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.00402720
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMAction_rActionManager_qqrv
call sym.gta.exe__TWMActionManager_rInstallator_qqrv
test al, al
je 0x5532d5
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMAction_rActionManager_qqrv
call sym.gta.exe__TWMActionManager_rAutoInstall_qqrv
test al, al
je 0x5532d5
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMAction_rActionManager_qqrv
cmp byte [eax + 0xd9], 0
je 0x5532d5
mov edx, dword [ebp - 0x90]
cmp dword [edx + 0x474], 0xffffffff
je 0x55320a
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 0x5530eb
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.00468e6c
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.00468e6c
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.00468e6c
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.00468e6c
push 1
mov eax, dword [ebp - 0x90]
mov edx, dword [eax + 0x92e]
add edx, edx
push edx
call fcn.005cf6a8
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.00468e40
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.00468e6c
push dword [ebp - 0x9c]
call fcn.005cf754
pop ecx
mov eax, dword [ebp - 0x90]
call sym.gta.exe__TWMAction_rActionManager_qqrv
inc dword [eax + 0x10c]
jmp 0x5532d5
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.00468e6c
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.00468e6c
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.00468e6c
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.00468e6c
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.00468e6c
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 0x553303
mov edx, dword [ebp - 0x90]
cmp dword [edx + 0x474], 0xffffffff
je 0x553303
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 0x5529df
mov eax, dword [ebp - 0x90]
mov eax, dword [eax + 0x480]
call fcn.00468ef4
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.00402720
mov ecx, dword [ebp - 0x8c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret