Function at 0x553b40
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffaac
push esi
push edi
mov dword [ebp - 0x84], eax
mov eax, 0x606724
call fcn.005d0a3c
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.005cf744
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.0040279c
inc dword [ebp - 0x64]
inc dword [ebp - 0x64]
mov word [ebp - 0x70], 0x18
push 0x606540
push 0xff
call fcn.005d7388
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.00468e40
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 0x55442b
mov eax, dword [0x61fad4]
mov eax, dword [eax]
call fcn.004d07f8
push 0x49a
push 0
mov edx, dword [ebp - 0x84]
add edx, 0x484
push edx
call fcn.005d051b
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.00468e40
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 0x553e32
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.005de6a0
lea eax, [ebp - 0x14]
push eax
mov edx, 0x606546
lea eax, [ebp - 0x18]
call fcn.005de4c0
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.005de6a0
lea edx, [ebp - 0x1c]
push edx
mov edx, dword [ebp - 0x84]
add edx, 0x484
lea eax, [ebp - 0x20]
call fcn.005de4c0
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.005de6a0
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x28]
mov ecx, 0xfde9
call fcn.005dd96c
inc dword [ebp - 0x64]
inc dword [ebp - 0x64]
lea edx, [ebp - 0x28]
lea eax, [ebp - 4]
call fcn.005dda44
sub dword [ebp - 0x64], 2
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00402720
dec dword [ebp - 0x64]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x64]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x64]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x64]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x64]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x64]
lea eax, [ebp - 8]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x64]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x64]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.005de650
jmp 0x553eff
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.005de4c0
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.005de6a0
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x38]
mov ecx, 0xfde9
call fcn.005dd96c
inc dword [ebp - 0x64]
inc dword [ebp - 0x64]
lea edx, [ebp - 0x38]
lea eax, [ebp - 4]
call fcn.005dda44
sub dword [ebp - 0x64], 2
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00402720
dec dword [ebp - 0x64]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x64]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x64]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.005de650
push 0x80
cmp dword [ebp - 4], 0
jne 0x553ef6
mov ecx, 0x606548
jmp 0x553ef9
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.005dd8bc
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.00422c28
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.005de6a0
lea edx, [ebp - 0x48]
lea eax, [ebp - 0x4c]
mov ecx, 0xfde9
call fcn.005dd96c
inc dword [ebp - 0x64]
inc dword [ebp - 0x64]
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0xa4]
call fcn.005dda44
sub dword [ebp - 0x64], 2
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.00402720
dec dword [ebp - 0x64]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x64]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x64]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.005de650
sub dword [ebp - 0x64], 2
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.00402720
mov ecx, dword [ebp - 0x84]
cmp dword [ecx + 0x478], 0
jne 0x5540c7
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.00422c28
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.005de650
pop ecx
test cl, cl
je 0x5540c7
mov word [ebp - 0x70], 0x54
mov edx, str.error
lea eax, [ebp - 0x54]
call fcn.005de4c0
inc dword [ebp - 0x64]
mov eax, dword [eax]
call fcn.004d9e74
dec dword [ebp - 0x64]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.005de650
sub dword [ebp - 0x64], 2
lea eax, [ebp - 4]
mov edx, 2
call fcn.00402720
mov ecx, dword [ebp - 0x80]
mov dword fs:[0], ecx
jmp 0x55449c
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x84]
mov eax, dword [eax + 0x47c]
call fcn.00468e98
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMAction_rActionManager_qqrv
call sym.gta.exe__TWMActionManager_rAutoInstall_qqrv
test al, al
je 0x554425
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.005dd8bc
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.00422c28
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.005de650
sub dword [ebp - 0x64], 2
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.00402720
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMAction_rActionManager_qqrv
call sym.gta.exe__TWMActionManager_rInstallator_qqrv
test al, al
je 0x5543f7
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMAction_rActionManager_qqrv
call sym.gta.exe__TWMActionManager_rAutoInstall_qqrv
test al, al
je 0x5543f7
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMAction_rActionManager_qqrv
cmp byte [eax + 0xd9], 0
je 0x5543f7
mov edx, dword [ebp - 0x84]
cmp dword [edx + 0x46c], 0xffffffff
je 0x55432c
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 0x55420d
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.00468e6c
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.00468e6c
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.00468e6c
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.00468e6c
push 1
mov eax, dword [ebp - 0x84]
mov edx, dword [eax + 0x92a]
add edx, edx
push edx
call fcn.005cf6a8
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.00468e40
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.00468e6c
push dword [ebp - 0x90]
call fcn.005cf754
pop ecx
mov eax, dword [ebp - 0x84]
call sym.gta.exe__TWMAction_rActionManager_qqrv
inc dword [eax + 0x10c]
jmp 0x5543f7
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.00468e6c
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.00468e6c
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.00468e6c
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.00468e6c
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.00468e6c
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 0x554425
mov edx, dword [ebp - 0x84]
cmp dword [edx + 0x46c], 0xffffffff
je 0x554425
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 0x553c36
mov eax, dword [ebp - 0x84]
mov eax, dword [eax + 0x478]
call fcn.00468ef4
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + 0x47c]
call fcn.00468ef4
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.00402720
mov ecx, dword [ebp - 0x80]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret