Function at 0x54ed7c
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff38
push ebx
mov dword [ebp - 0x88], eax
mov eax, 0x603188
call fcn.005d0a3c
mov word [ebp - 0x74], 0x18
mov edx, 0x602eb8
lea eax, [ebp - 4]
call fcn.005de4c0
inc dword [ebp - 0x68]
mov word [ebp - 0x74], 0xc
mov word [ebp - 0x74], 0x24
mov edx, 0x602eb9
lea eax, [ebp - 8]
call fcn.005de4c0
inc dword [ebp - 0x68]
mov word [ebp - 0x74], 0xc
mov word [ebp - 0x74], 0x30
mov edx, 0x602eba
lea eax, [ebp - 0xc]
call fcn.005de4c0
inc dword [ebp - 0x68]
mov word [ebp - 0x74], 0xc
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rIdSimbo_qqrv
mov byte [ebp - 0x89], al
mov dword [ebp - 0x94], 1
mov edx, dword [ebp - 0x88]
push dword [edx + 0x458]
call fcn.005cf744
pop ecx
mov dword [ebp - 0x98], eax
mov byte [ebp - 0x99], 0
xor ecx, ecx
mov dword [ebp - 0xa0], ecx
mov word [ebp - 0x74], 0x3c
xor eax, eax
mov dword [ebp - 0x10], eax
inc dword [ebp - 0x68]
mov word [ebp - 0x74], 0xc
push 0x602ebb
push 0xff
call fcn.005d7388
add esp, 8
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x11c]
mov edx, dword [ebp - 0x88]
add edx, 0x468
mov ecx, 4
call fcn.00468e40
push eax
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
pop edx
call sym.gta.exe__TWMActionManager_wProgress_qqrul
xor ecx, ecx
mov dword [ebp - 0xa4], ecx
mov word [ebp - 0x74], 0xc
jmp 0x54f6ee
mov eax, dword [0x61fad4]
mov eax, dword [eax]
call fcn.004d07f8
push 0x400
push 0
mov edx, dword [ebp - 0x88]
add edx, 0x46c
push edx
call fcn.005d051b
add esp, 0xc
push 0x32
push 0
mov ecx, dword [ebp - 0x88]
add ecx, 0x86c
push ecx
call fcn.005d051b
add esp, 0xc
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x11c]
mov edx, dword [ebp - 0x88]
add edx, 0x46c
mov ecx, 0x400
call fcn.00468e40
push eax
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
pop edx
call sym.gta.exe__TWMActionManager_wProgress_qqrul
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x11c]
mov edx, dword [ebp - 0x88]
add edx, 0x86c
mov ecx, 0x32
call fcn.00468e40
push eax
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
pop edx
call sym.gta.exe__TWMActionManager_wProgress_qqrul
mov ecx, dword [ebp - 0x88]
add ecx, 0x46c
cmp ecx, 0x602ec1
je 0x54f6e8
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
cmp byte [eax + 0xf1], 0
jne 0x54f0c1
mov word [ebp - 0x74], 0x48
mov edx, dword [ebp - 0x88]
add edx, 0x46c
mov dword [ebp - 0xac], edx
lea eax, [ebp - 0x14]
mov ecx, 0xfde9
mov edx, dword [ebp - 0xac]
call fcn.005dd8bc
inc dword [ebp - 0x68]
lea eax, [ebp - 0x14]
inc dword [ebp - 0x68]
mov dword [ebp - 0xa8], eax
xor edx, edx
mov dword [ebp - 0x18], edx
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0xa8]
call fcn.00422c28
lea ecx, [ebp - 0x18]
inc dword [ebp - 0x68]
mov eax, dword [ecx]
xor edx, edx
mov dword [ebp - 0x1c], edx
lea edx, [ebp - 0x1c]
inc dword [ebp - 0x68]
call fcn.004695e0
lea edx, [ebp - 0x1c]
lea eax, [ebp - 4]
call fcn.005de678
dec dword [ebp - 0x68]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x68]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.005de650
sub dword [ebp - 0x68], 2
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00402720
mov word [ebp - 0x74], 0x54
xor ecx, ecx
mov dword [ebp - 0x24], ecx
lea eax, [ebp - 0x24]
push eax
inc dword [ebp - 0x68]
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
xor edx, edx
mov dword [ebp - 0x20], edx
lea edx, [ebp - 0x20]
inc dword [ebp - 0x68]
call sym.gta.exe__TWMActionManager_rCurrentLanguage_qqrv
lea ecx, [ebp - 0x20]
mov ecx, dword [ecx]
mov edx, 0xb
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMLangSource_rLangPhrase_qqri20System_UnicodeString
lea edx, [ebp - 0x24]
lea eax, [ebp - 8]
call fcn.005de678
dec dword [ebp - 0x68]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x68]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.005de650
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
add eax, 0x48
mov dword [ebp - 0xb0], eax
lea edx, [ebp - 8]
push edx
lea ecx, [ebp - 4]
mov ebx, dword [ebp - 0xb0]
mov eax, dword [ebx + 4]
mov ebx, dword [ebp - 0xb0]
mov edx, dword [ebp - 0x88]
call dword [ebx]
mov word [ebp - 0x74], 0x60
mov eax, dword [ebp - 0x88]
add eax, 0x86c
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0x28]
mov ecx, 0xfde9
mov edx, dword [ebp - 0xb8]
call fcn.005dd8bc
inc dword [ebp - 0x68]
lea eax, [ebp - 0x28]
inc dword [ebp - 0x68]
mov dword [ebp - 0xb4], eax
xor edx, edx
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0xb4]
call fcn.00422c28
lea ecx, [ebp - 0x2c]
inc dword [ebp - 0x68]
push dword [ecx]
push dword [ebp - 0x88]
xor eax, eax
mov dword [ebp - 0x30], eax
lea edx, [ebp - 0x30]
push edx
inc dword [ebp - 0x68]
call sym.gta.exe__TWMAction_ChDirToGame_q20System_UnicodeString
add esp, 0xc
lea eax, [ebp - 0x30]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 0x34], edx
lea edx, [ebp - 0x34]
inc dword [ebp - 0x68]
call fcn.0046f388
lea edx, [ebp - 0x34]
lea eax, [ebp - 0xc]
call fcn.005de678
dec dword [ebp - 0x68]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x68]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x68]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.005de650
sub dword [ebp - 0x68], 2
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00402720
mov word [ebp - 0x74], 0x6c
mov ecx, dword [ebp - 0x88]
add ecx, 0x46c
mov dword [ebp - 0xc0], ecx
lea eax, [ebp - 0x38]
mov ecx, 0xfde9
mov edx, dword [ebp - 0xc0]
call fcn.005dd8bc
inc dword [ebp - 0x68]
lea eax, [ebp - 0x38]
inc dword [ebp - 0x68]
mov dword [ebp - 0xbc], eax
xor edx, edx
mov dword [ebp - 0x3c], edx
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0xbc]
call fcn.00422c28
inc dword [ebp - 0x68]
lea edx, [ebp - 0x3c]
xor eax, eax
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x40]
inc dword [ebp - 0x68]
lea eax, [ebp - 0xc]
call fcn.005de6a0
lea edx, [ebp - 0x40]
lea eax, [ebp - 0x10]
call fcn.005de678
dec dword [ebp - 0x68]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x68]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.005de650
sub dword [ebp - 0x68], 2
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00402720
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
call sym.gta.exe__TWMActionManager_rInstallator_qqrv
test al, al
je 0x54f553
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
call sym.gta.exe__TWMActionManager_rAutoInstall_qqrv
test al, al
je 0x54f553
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
cmp byte [eax + 0xd9], 0
je 0x54f553
mov word [ebp - 0x74], 0x78
xor edx, edx
mov dword [ebp - 0x44], edx
lea ecx, [ebp - 0x44]
inc dword [ebp - 0x68]
lea edx, [ebp - 0x10]
mov eax, 0x602ec2
call fcn.005debac
lea eax, [ebp - 0x44]
mov eax, dword [eax]
mov dl, 1
call fcn.00468f3c
push eax
dec dword [ebp - 0x68]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.005de650
pop ecx
test cl, cl
je 0x54f553
push 0x80
mov word [ebp - 0x74], 0x84
xor eax, eax
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x48]
inc dword [ebp - 0x68]
lea edx, [ebp - 0x10]
mov eax, 0x602ecc
call fcn.005debac
cmp dword [ebp - 0x48], 0
je 0x54f2ec
mov edx, dword [ebp - 0x48]
jmp 0x54f2f1
mov edx, 0x602ed6
push edx
call sub.KERNEL32.DLL_SetFileAttributesW
dec dword [ebp - 0x68]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.005de650
mov word [ebp - 0x74], 0x9c
xor eax, eax
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x4c]
inc dword [ebp - 0x68]
lea edx, [ebp - 0x10]
mov eax, 0x602ed8
call fcn.005debac
lea ecx, [ebp - 0x4c]
push dword [ecx]
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
pop edx
call sym.gta.exe__TWMActionManager_FileSize_qqr20System_UnicodeString
mov dword [ebp - 0xc4], eax
dec dword [ebp - 0x68]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.005de650
mov word [ebp - 0x74], 0x90
mov word [ebp - 0x74], 0xa8
xor ecx, ecx
mov dword [ebp - 0x50], ecx
lea ecx, [ebp - 0x50]
inc dword [ebp - 0x68]
lea edx, [ebp - 0x10]
mov eax, 0x602ee2
call fcn.005debac
lea eax, [ebp - 0x50]
mov eax, dword [eax]
mov edx, 0x40
call fcn.00468d74
mov dword [ebp - 0x90], eax
dec dword [ebp - 0x68]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.005de650
cmp dword [ebp - 0x90], 0xffffffff
jne 0x54f3e3
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
cmp byte [eax + 0xf1], 0
jne 0x54f6e8
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
cmp byte [eax + 0xd9], 0
je 0x54f6e8
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMActionDelete_ShowMessageErrorDelete_qqrv
jmp 0x54f6e8
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x120]
lea edx, [ebp - 0x89]
mov ecx, 1
call fcn.00468e6c
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x120]
mov ecx, 4
mov edx, dword [ebp - 0x88]
mov edx, dword [edx + 0x464]
call fcn.00468e6c
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x120]
lea edx, [ebp - 0x94]
mov ecx, 4
call fcn.00468e6c
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x120]
mov edx, dword [ebp - 0x88]
add edx, 0x46c
mov ecx, 0x400
call fcn.00468e6c
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x120]
lea edx, [ebp - 0xc4]
mov ecx, 4
call fcn.00468e6c
mov eax, dword [ebp - 0xa0]
mov edx, dword [ebp - 0x88]
add eax, dword [edx + 0x458]
cmp eax, dword [ebp - 0xc4]
jbe 0x54f4cd
mov ecx, dword [ebp - 0xc4]
sub ecx, dword [ebp - 0xa0]
mov ebx, dword [ebp - 0x88]
mov dword [ebx + 0x458], ecx
mov byte [ebp - 0x99], 1
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax + 0x458]
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x90]
call fcn.00468e40
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x120]
mov edx, dword [ebp - 0x88]
mov ecx, dword [edx + 0x458]
mov edx, dword [ebp - 0x98]
call fcn.00468e6c
add dword [ebp - 0xa0], eax
mov eax, dword [0x61fad4]
mov eax, dword [eax]
call fcn.004d07f8
cmp byte [ebp - 0x99], 0
je 0x54f494
mov eax, dword [ebp - 0x90]
call fcn.00468ef4
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
inc dword [eax + 0x10c]
mov word [ebp - 0x74], 0xc
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
call sym.gta.exe__TWMActionManager_rAutoInstall_qqrv
test al, al
je 0x54f6e8
mov word [ebp - 0x74], 0xb4
xor edx, edx
mov dword [ebp - 0x54], edx
lea ecx, [ebp - 0x54]
inc dword [ebp - 0x68]
lea edx, [ebp - 0x10]
mov eax, 0x602eec
call fcn.005debac
lea eax, [ebp - 0x54]
mov eax, dword [eax]
mov dl, 1
call fcn.00468f3c
push eax
dec dword [ebp - 0x68]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.005de650
pop ecx
test cl, cl
je 0x54f641
mov word [ebp - 0x74], 0xc0
xor eax, eax
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x58]
inc dword [ebp - 0x68]
lea edx, [ebp - 0x10]
mov eax, 0x602ef6
call fcn.005debac
lea eax, [ebp - 0x58]
mov eax, dword [eax]
call fcn.005dd714
xor edx, edx
mov dl, al
cmp edx, 1
sbb ecx, ecx
neg ecx
push ecx
dec dword [ebp - 0x68]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.005de650
pop ecx
test cl, cl
je 0x54f6e8
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
cmp byte [eax + 0xf1], 0
jne 0x54f6e8
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
cmp byte [eax + 0xd9], 0
je 0x54f6e8
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMActionDelete_ShowMessageErrorDelete_qqrv
jmp 0x54f6e8
mov dl, 1
mov eax, dword [ebp - 0x10]
call fcn.00468fd4
test al, al
je 0x54f663
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
cmp dword [eax + 0x88], 9
je 0x54f677
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
cmp dword [eax + 0x88], 4
jne 0x54f6e8
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
add eax, 0xfc
mov dword [ebp - 0xc8], eax
push dword [ebp - 0x10]
mov edx, 0x602f16
lea eax, [ebp - 0x60]
call fcn.005de4c0
inc dword [ebp - 0x68]
push dword [eax]
mov word [ebp - 0x74], 0xcc
mov edx, 0x602f00
lea eax, [ebp - 0x5c]
call fcn.005de4c0
inc dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xc8]
mov eax, dword [ecx]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0xc]
dec dword [ebp - 0x68]
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x68]
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.005de650
inc dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xa4]
mov ebx, dword [ebp - 0x88]
cmp ecx, dword [ebx + 0x468]
jb 0x54ee9e
dec dword [ebp - 0x68]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x68]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x68]
lea eax, [ebp - 8]
mov edx, 2
call fcn.005de650
dec dword [ebp - 0x68]
lea eax, [ebp - 4]
mov edx, 2
call fcn.005de650
mov ecx, dword [ebp - 0x84]
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret