Function at 0x5705d0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff38
push ebx
mov dword [ebp - 0x88], eax
mov eax, 0x72b858
call fcn.00654e18
mov word [ebp - 0x74], 0x18
mov edx, 0x72b588
lea eax, [ebp - 4]
call fcn.006628f0
inc dword [ebp - 0x68]
mov word [ebp - 0x74], 0xc
mov word [ebp - 0x74], 0x24
mov edx, 0x72b589
lea eax, [ebp - 8]
call fcn.006628f0
inc dword [ebp - 0x68]
mov word [ebp - 0x74], 0xc
mov word [ebp - 0x74], 0x30
mov edx, 0x72b58a
lea eax, [ebp - 0xc]
call fcn.006628f0
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.00653b20
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 0x72b58b
push 0xff
call fcn.0065b7cc
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.0048aae4
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 0x570f42
mov eax, dword [0x749280]
mov eax, dword [eax]
call fcn.004f282c
push 0x400
push 0
mov edx, dword [ebp - 0x88]
add edx, 0x46c
push edx
call fcn.006548f7
add esp, 0xc
push 0x32
push 0
mov ecx, dword [ebp - 0x88]
add ecx, 0x86c
push ecx
call fcn.006548f7
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.0048aae4
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.0048aae4
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, 0x72b591
je 0x570f3c
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
cmp byte [eax + 0xf1], 0
jne 0x570915
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.00661cfc
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.004446e8
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.0048b284
lea edx, [ebp - 0x1c]
lea eax, [ebp - 4]
call fcn.00662aa8
dec dword [ebp - 0x68]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x68]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00662a80
sub dword [ebp - 0x68], 2
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040240c
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.00662aa8
dec dword [ebp - 0x68]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x68]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00662a80
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.00661cfc
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.004446e8
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.004910e0
lea edx, [ebp - 0x34]
lea eax, [ebp - 0xc]
call fcn.00662aa8
dec dword [ebp - 0x68]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x68]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x68]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00662a80
sub dword [ebp - 0x68], 2
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.0040240c
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.00661cfc
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.004446e8
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.00662ad0
lea edx, [ebp - 0x40]
lea eax, [ebp - 0x10]
call fcn.00662aa8
dec dword [ebp - 0x68]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x68]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00662a80
sub dword [ebp - 0x68], 2
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.0040240c
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
call sym.gta.exe__TWMActionManager_rInstallator_qqrv
test al, al
je 0x570da7
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
call sym.gta.exe__TWMActionManager_rAutoInstall_qqrv
test al, al
je 0x570da7
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
cmp byte [eax + 0xd9], 0
je 0x570da7
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, 0x72b592
call fcn.00662fe8
lea eax, [ebp - 0x44]
mov eax, dword [eax]
mov dl, 1
call fcn.0048abe0
push eax
dec dword [ebp - 0x68]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00662a80
pop ecx
test cl, cl
je 0x570da7
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, 0x72b59c
call fcn.00662fe8
cmp dword [ebp - 0x48], 0
je 0x570b40
mov edx, dword [ebp - 0x48]
jmp 0x570b45
mov edx, 0x72b5a6
push edx
call sub.KERNEL32.DLL_SetFileAttributesW
dec dword [ebp - 0x68]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00662a80
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, 0x72b5a8
call fcn.00662fe8
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.00662a80
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, 0x72b5b2
call fcn.00662fe8
lea eax, [ebp - 0x50]
mov eax, dword [eax]
mov edx, 0x40
call fcn.0048aa18
mov dword [ebp - 0x90], eax
dec dword [ebp - 0x68]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.00662a80
cmp dword [ebp - 0x90], 0xffffffff
jne 0x570c37
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
cmp byte [eax + 0xf1], 0
jne 0x570f3c
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
cmp byte [eax + 0xd9], 0
je 0x570f3c
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMActionDelete_ShowMessageErrorDelete_qqrv
jmp 0x570f3c
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.0048ab10
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.0048ab10
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.0048ab10
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.0048ab10
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.0048ab10
mov eax, dword [ebp - 0xa0]
mov edx, dword [ebp - 0x88]
add eax, dword [edx + 0x458]
cmp eax, dword [ebp - 0xc4]
jbe 0x570d21
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.0048aae4
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.0048ab10
add dword [ebp - 0xa0], eax
mov eax, dword [0x749280]
mov eax, dword [eax]
call fcn.004f282c
cmp byte [ebp - 0x99], 0
je 0x570ce8
mov eax, dword [ebp - 0x90]
call fcn.0048ab98
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 0x570f3c
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, 0x72b5bc
call fcn.00662fe8
lea eax, [ebp - 0x54]
mov eax, dword [eax]
mov dl, 1
call fcn.0048abe0
push eax
dec dword [ebp - 0x68]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.00662a80
pop ecx
test cl, cl
je 0x570e95
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, 0x72b5c6
call fcn.00662fe8
lea eax, [ebp - 0x58]
mov eax, dword [eax]
call fcn.00661b68
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.00662a80
pop ecx
test cl, cl
je 0x570f3c
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
cmp byte [eax + 0xf1], 0
jne 0x570f3c
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
cmp byte [eax + 0xd9], 0
je 0x570f3c
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMActionDelete_ShowMessageErrorDelete_qqrv
jmp 0x570f3c
mov dl, 1
mov eax, dword [ebp - 0x10]
call fcn.0048ac78
test al, al
je 0x570eb7
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
cmp dword [eax + 0x88], 9
je 0x570ecb
mov eax, dword [ebp - 0x88]
call sym.gta.exe__TWMAction_rActionManager_qqrv
cmp dword [eax + 0x88], 4
jne 0x570f3c
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, 0x72b5e6
lea eax, [ebp - 0x60]
call fcn.006628f0
inc dword [ebp - 0x68]
push dword [eax]
mov word [ebp - 0x74], 0xcc
mov edx, 0x72b5d0
lea eax, [ebp - 0x5c]
call fcn.006628f0
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.00662a80
dec dword [ebp - 0x68]
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00662a80
inc dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xa4]
mov ebx, dword [ebp - 0x88]
cmp ecx, dword [ebx + 0x468]
jb 0x5706f2
dec dword [ebp - 0x68]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x68]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x68]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x68]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00662a80
mov ecx, dword [ebp - 0x84]
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret