Function at 0x547564
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff38
push ebx
mov dword [ebp - 0x88], eax
mov eax, 0x5d620c
call fcn.005ae2c8
mov word [ebp - 0x74], 0x18
mov edx, 0x5d5f3c
lea eax, [ebp - 4]
call fcn.005bbcb4
inc dword [ebp - 0x68]
mov word [ebp - 0x74], 0xc
mov word [ebp - 0x74], 0x24
mov edx, 0x5d5f3d
lea eax, [ebp - 8]
call fcn.005bbcb4
inc dword [ebp - 0x68]
mov word [ebp - 0x74], 0xc
mov word [ebp - 0x74], 0x30
mov edx, 0x5d5f3e
lea eax, [ebp - 0xc]
call fcn.005bbcb4
inc dword [ebp - 0x68]
mov word [ebp - 0x74], 0xc
mov eax, dword [ebp - 0x88]
call sym.default.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.005ad020
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 0x5d5f3f
push 0xff
call fcn.005b4c14
add esp, 8
mov eax, dword [ebp - 0x88]
call sym.default.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x11c]
mov edx, dword [ebp - 0x88]
add edx, 0x468
mov ecx, 4
call fcn.00468b50
push eax
mov eax, dword [ebp - 0x88]
call sym.default.exe__TWMAction_rActionManager_qqrv
pop edx
call sym.default.exe__TWMActionManager_wProgress_qqrul
xor ecx, ecx
mov dword [ebp - 0xa4], ecx
mov word [ebp - 0x74], 0xc
jmp 0x547ed6
mov eax, dword [0x5e7530]
mov eax, dword [eax]
call fcn.004d0498
push 0x400
push 0
mov edx, dword [ebp - 0x88]
add edx, 0x46c
push edx
call fcn.005addf7
add esp, 0xc
push 0x32
push 0
mov ecx, dword [ebp - 0x88]
add ecx, 0x86c
push ecx
call fcn.005addf7
add esp, 0xc
mov eax, dword [ebp - 0x88]
call sym.default.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x11c]
mov edx, dword [ebp - 0x88]
add edx, 0x46c
mov ecx, 0x400
call fcn.00468b50
push eax
mov eax, dword [ebp - 0x88]
call sym.default.exe__TWMAction_rActionManager_qqrv
pop edx
call sym.default.exe__TWMActionManager_wProgress_qqrul
mov eax, dword [ebp - 0x88]
call sym.default.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x11c]
mov edx, dword [ebp - 0x88]
add edx, 0x86c
mov ecx, 0x32
call fcn.00468b50
push eax
mov eax, dword [ebp - 0x88]
call sym.default.exe__TWMAction_rActionManager_qqrv
pop edx
call sym.default.exe__TWMActionManager_wProgress_qqrul
mov ecx, dword [ebp - 0x88]
add ecx, 0x46c
cmp ecx, 0x5d5f45
je 0x547ed0
mov eax, dword [ebp - 0x88]
call sym.default.exe__TWMAction_rActionManager_qqrv
cmp byte [eax + 0xf1], 0
jne 0x5478a9
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.005bb148
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.00422344
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.004692f0
lea edx, [ebp - 0x1c]
lea eax, [ebp - 4]
call fcn.005bbe6c
dec dword [ebp - 0x68]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.005bbe44
dec dword [ebp - 0x68]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.005bbe44
sub dword [ebp - 0x68], 2
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004026fc
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.default.exe__TWMAction_rActionManager_qqrv
xor edx, edx
mov dword [ebp - 0x20], edx
lea edx, [ebp - 0x20]
inc dword [ebp - 0x68]
call sym.default.exe__TWMActionManager_rCurrentLanguage_qqrv
lea ecx, [ebp - 0x20]
mov ecx, dword [ecx]
mov edx, 0xb
mov eax, dword [ebp - 0x88]
call sym.default.exe__TWMLangSource_rLangPhrase_qqri20System_UnicodeString
lea edx, [ebp - 0x24]
lea eax, [ebp - 8]
call fcn.005bbe6c
dec dword [ebp - 0x68]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.005bbe44
dec dword [ebp - 0x68]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.005bbe44
mov eax, dword [ebp - 0x88]
call sym.default.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.005bb148
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.00422344
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.default.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.0046f098
lea edx, [ebp - 0x34]
lea eax, [ebp - 0xc]
call fcn.005bbe6c
dec dword [ebp - 0x68]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.005bbe44
dec dword [ebp - 0x68]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.005bbe44
dec dword [ebp - 0x68]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.005bbe44
sub dword [ebp - 0x68], 2
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004026fc
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.005bb148
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.00422344
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.005bbe94
lea edx, [ebp - 0x40]
lea eax, [ebp - 0x10]
call fcn.005bbe6c
dec dword [ebp - 0x68]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.005bbe44
dec dword [ebp - 0x68]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.005bbe44
sub dword [ebp - 0x68], 2
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.004026fc
mov eax, dword [ebp - 0x88]
call sym.default.exe__TWMAction_rActionManager_qqrv
call sym.default.exe__TWMActionManager_rInstallator_qqrv
test al, al
je 0x547d3b
mov eax, dword [ebp - 0x88]
call sym.default.exe__TWMAction_rActionManager_qqrv
call sym.default.exe__TWMActionManager_rAutoInstall_qqrv
test al, al
je 0x547d3b
mov eax, dword [ebp - 0x88]
call sym.default.exe__TWMAction_rActionManager_qqrv
cmp byte [eax + 0xd9], 0
je 0x547d3b
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, 0x5d5f46
call fcn.005bc314
lea eax, [ebp - 0x44]
mov eax, dword [eax]
mov dl, 1
call fcn.00468c4c
push eax
dec dword [ebp - 0x68]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.005bbe44
pop ecx
test cl, cl
je 0x547d3b
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, 0x5d5f50
call fcn.005bc314
cmp dword [ebp - 0x48], 0
je 0x547ad4
mov edx, dword [ebp - 0x48]
jmp 0x547ad9
mov edx, 0x5d5f5a
push edx
call sub.KERNEL32.DLL_SetFileAttributesW
dec dword [ebp - 0x68]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.005bbe44
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, 0x5d5f5c
call fcn.005bc314
lea ecx, [ebp - 0x4c]
push dword [ecx]
mov eax, dword [ebp - 0x88]
call sym.default.exe__TWMAction_rActionManager_qqrv
pop edx
call sym.default.exe__TWMActionManager_FileSize_qqr20System_UnicodeString
mov dword [ebp - 0xc4], eax
dec dword [ebp - 0x68]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.005bbe44
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, 0x5d5f66
call fcn.005bc314
lea eax, [ebp - 0x50]
mov eax, dword [eax]
mov edx, 0x40
call fcn.00468a94
mov dword [ebp - 0x90], eax
dec dword [ebp - 0x68]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.005bbe44
cmp dword [ebp - 0x90], 0xffffffff
jne 0x547bcb
mov eax, dword [ebp - 0x88]
call sym.default.exe__TWMAction_rActionManager_qqrv
cmp byte [eax + 0xf1], 0
jne 0x547ed0
mov eax, dword [ebp - 0x88]
call sym.default.exe__TWMAction_rActionManager_qqrv
cmp byte [eax + 0xd9], 0
je 0x547ed0
mov eax, dword [ebp - 0x88]
call sym.default.exe__TWMActionDelete_ShowMessageErrorDelete_qqrv
jmp 0x547ed0
mov eax, dword [ebp - 0x88]
call sym.default.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x120]
lea edx, [ebp - 0x89]
mov ecx, 1
call fcn.00468b7c
mov eax, dword [ebp - 0x88]
call sym.default.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x120]
mov ecx, 4
mov edx, dword [ebp - 0x88]
mov edx, dword [edx + 0x464]
call fcn.00468b7c
mov eax, dword [ebp - 0x88]
call sym.default.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x120]
lea edx, [ebp - 0x94]
mov ecx, 4
call fcn.00468b7c
mov eax, dword [ebp - 0x88]
call sym.default.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x120]
mov edx, dword [ebp - 0x88]
add edx, 0x46c
mov ecx, 0x400
call fcn.00468b7c
mov eax, dword [ebp - 0x88]
call sym.default.exe__TWMAction_rActionManager_qqrv
mov eax, dword [eax + 0x120]
lea edx, [ebp - 0xc4]
mov ecx, 4
call fcn.00468b7c
mov eax, dword [ebp - 0xa0]
mov edx, dword [ebp - 0x88]
add eax, dword [edx + 0x458]
cmp eax, dword [ebp - 0xc4]
jbe 0x547cb5
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.00468b50
mov eax, dword [ebp - 0x88]
call sym.default.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.00468b7c
add dword [ebp - 0xa0], eax
mov eax, dword [0x5e7530]
mov eax, dword [eax]
call fcn.004d0498
cmp byte [ebp - 0x99], 0
je 0x547c7c
mov eax, dword [ebp - 0x90]
call fcn.00468c04
mov eax, dword [ebp - 0x88]
call sym.default.exe__TWMAction_rActionManager_qqrv
inc dword [eax + 0x10c]
mov word [ebp - 0x74], 0xc
mov eax, dword [ebp - 0x88]
call sym.default.exe__TWMAction_rActionManager_qqrv
call sym.default.exe__TWMActionManager_rAutoInstall_qqrv
test al, al
je 0x547ed0
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, 0x5d5f70
call fcn.005bc314
lea eax, [ebp - 0x54]
mov eax, dword [eax]
mov dl, 1
call fcn.00468c4c
push eax
dec dword [ebp - 0x68]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.005bbe44
pop ecx
test cl, cl
je 0x547e29
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, 0x5d5f7a
call fcn.005bc314
lea eax, [ebp - 0x58]
mov eax, dword [eax]
call fcn.005bafa0
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.005bbe44
pop ecx
test cl, cl
je 0x547ed0
mov eax, dword [ebp - 0x88]
call sym.default.exe__TWMAction_rActionManager_qqrv
cmp byte [eax + 0xf1], 0
jne 0x547ed0
mov eax, dword [ebp - 0x88]
call sym.default.exe__TWMAction_rActionManager_qqrv
cmp byte [eax + 0xd9], 0
je 0x547ed0
mov eax, dword [ebp - 0x88]
call sym.default.exe__TWMActionDelete_ShowMessageErrorDelete_qqrv
jmp 0x547ed0
mov dl, 1
mov eax, dword [ebp - 0x10]
call fcn.00468ce4
test al, al
je 0x547e4b
mov eax, dword [ebp - 0x88]
call sym.default.exe__TWMAction_rActionManager_qqrv
cmp dword [eax + 0x88], 9
je 0x547e5f
mov eax, dword [ebp - 0x88]
call sym.default.exe__TWMAction_rActionManager_qqrv
cmp dword [eax + 0x88], 4
jne 0x547ed0
mov eax, dword [ebp - 0x88]
call sym.default.exe__TWMAction_rActionManager_qqrv
add eax, 0xfc
mov dword [ebp - 0xc8], eax
push dword [ebp - 0x10]
mov edx, 0x5d5f9a
lea eax, [ebp - 0x60]
call fcn.005bbcb4
inc dword [ebp - 0x68]
push dword [eax]
mov word [ebp - 0x74], 0xcc
mov edx, 0x5d5f84
lea eax, [ebp - 0x5c]
call fcn.005bbcb4
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.005bbe44
dec dword [ebp - 0x68]
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.005bbe44
inc dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xa4]
mov ebx, dword [ebp - 0x88]
cmp ecx, dword [ebx + 0x468]
jb 0x547686
dec dword [ebp - 0x68]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.005bbe44
dec dword [ebp - 0x68]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.005bbe44
dec dword [ebp - 0x68]
lea eax, [ebp - 8]
mov edx, 2
call fcn.005bbe44
dec dword [ebp - 0x68]
lea eax, [ebp - 4]
mov edx, 2
call fcn.005bbe44
mov ecx, dword [ebp - 0x84]
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret