Function at 0x4083f0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4d19ad
mov eax, dword fs:[0]
push eax
mov eax, 0x1338
call fcn.004ab4d0
mov eax, dword [0x51c080]
xor eax, esp
mov dword [esp + 0x1330], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51c080]
xor eax, esp
push eax
lea eax, [esp + 0x134c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x135c]
xor ebx, ebx
mov edi, 7
mov dword [esp + 0x38], eax
mov dword [esp + 0x138], edi
mov dword [esp + 0x134], ebx
mov word [esp + 0x124], bx
mov dword [esp + 0x1354], ebx
push 0x200
lea ecx, [esp + 0x948]
push ebx
push ecx
call fcn.004ab450
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
call fcn.00410650
mov byte [esp + 0x1354], 1
mov ebp, 8
cmp dword [eax + 0x18], ebp
jb 0x408495
mov eax, dword [eax + 4]
jmp 0x408498
add eax, 4
push 0xff
push eax
lea eax, [esp + 0x94c]
push 0x100
push eax
call fcn.004a9be0
add esp, 0x10
mov byte [esp + 0x1354], bl
cmp dword [esp + 0x34], ebp
jb 0x4084cd
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004993dd
add esp, 4
lea eax, [esp + 0x944]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4084e4
sub eax, edx
sar eax, 1
jne 0x408546
push str.DEBUG:_DCU___Get_Element_Name_fail__
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
mov dword [esp + 0x1354], 0xffffffff
cmp dword [esp + 0x138], ebp
jb 0x40852b
mov edx, dword [esp + 0x124]
push edx
call fcn.004993dd
add esp, 4
mov dword [esp + 0x138], edi
mov dword [esp + 0x134], ebx
mov word [esp + 0x124], bx
jmp 0x4091c0
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x34], esp
push 2
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push 0x4dcfbc
mov word [esi + 4], bx
call fcn.004102a0
mov byte [esp + 0x1370], 2
push 0x52c1fc
mov byte [esp + 0x1374], bl
lea esi, [esp + 0x3c]
call fcn.004116f0
mov byte [esp + 0x1354], 3
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x128]
call fcn.0040f4f0
mov byte [esp + 0x1354], bl
cmp dword [esp + 0x34], ebp
jb 0x4085b3
mov eax, dword [esp + 0x20]
push eax
call fcn.004993dd
add esp, 4
cmp dword [esp + 0x138], ebp
mov eax, dword [esp + 0x124]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
jae 0x4085d7
lea eax, [esp + 0x124]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4085e0
sub eax, edx
sar eax, 1
je 0x40869f
lea eax, [esp + 0x944]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x408610
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x948]
push ecx
lea esi, [esp + 0x24]
call fcn.004102a0
mov byte [esp + 0x1354], 4
cmp dword [esp + 0x138], ebp
mov esi, dword [esp + 0x124]
jae 0x408650
lea esi, [esp + 0x124]
lea edx, [esp + 0x1c]
push edx
mov ecx, 0x527b20
call fcn.0040abb0
push 0x3ff
push esi
add eax, 0xda18
push 0x400
push eax
call fcn.004a9be0
add esp, 0x10
mov byte [esp + 0x1354], bl
cmp dword [esp + 0x34], ebp
jb 0x408692
mov eax, dword [esp + 0x20]
push eax
call fcn.004993dd
add esp, 4
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x34], esp
push 2
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push 0x4dcfc4
mov word [esi + 4], bx
call fcn.004102a0
mov byte [esp + 0x1370], 5
push 0x52c1fc
mov byte [esp + 0x1374], bl
lea esi, [esp + 0x3c]
call fcn.004116f0
mov byte [esp + 0x1354], 6
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x128]
call fcn.0040f4f0
mov byte [esp + 0x1354], bl
cmp dword [esp + 0x34], ebp
jb 0x40870c
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004993dd
add esp, 4
cmp dword [esp + 0x138], ebp
mov eax, dword [esp + 0x124]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
jae 0x408730
lea eax, [esp + 0x124]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x408733
sub eax, edx
sar eax, 1
je 0x4087ef
lea eax, [esp + 0x944]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x408760
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x948]
push edx
lea esi, [esp + 0x24]
call fcn.004102a0
mov byte [esp + 0x1354], 7
cmp dword [esp + 0x138], ebp
mov esi, dword [esp + 0x124]
jae 0x4087a0
lea esi, [esp + 0x124]
lea eax, [esp + 0x1c]
push eax
mov ecx, 0x527b20
call fcn.0040abb0
push 0x3ff
push esi
add eax, 0xec18
push 0x400
push eax
call fcn.004a9be0
add esp, 0x10
mov byte [esp + 0x1354], bl
cmp dword [esp + 0x34], ebp
jb 0x4087e2
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004993dd
add esp, 4
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x34], esp
push 3
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push 0x4dcfcc
mov word [esi + 4], bx
call fcn.004102a0
mov byte [esp + 0x1370], 8
push 0x52c1fc
mov byte [esp + 0x1374], bl
lea esi, [esp + 0x3c]
call fcn.004116f0
mov byte [esp + 0x1354], 9
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x128]
call fcn.0040f4f0
mov byte [esp + 0x1354], bl
cmp dword [esp + 0x34], ebp
jb 0x40885c
mov edx, dword [esp + 0x20]
push edx
call fcn.004993dd
add esp, 4
cmp dword [esp + 0x138], ebp
mov eax, dword [esp + 0x124]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
jae 0x408880
lea eax, [esp + 0x124]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x408883
sub eax, edx
sar eax, 1
je 0x40890d
mov ecx, 0x520f50
call fcn.004130d0
cmp al, bl
je 0x4088ae
mov ecx, 0x520f50
call fcn.00413e10
jmp 0x4088cc
push str.Show_Admin_Capabilities_fail_
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
push ebx
push ebx
push str.There_is_no_availabe_admin_capabilities_
call fcn.0049b4ee
mov dword [esp + 0x1354], 0xffffffff
cmp dword [esp + 0x138], ebp
jb 0x4088f0
mov eax, dword [esp + 0x124]
push eax
call fcn.004993dd
add esp, 4
mov dword [esp + 0x138], edi
mov dword [esp + 0x134], ebx
mov word [esp + 0x124], bx
mov al, 1
jmp 0x4091c2
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x34], esp
push edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push str.DISABLE
mov byte [esp + 0x3b], bl
mov word [esi + 4], bx
call fcn.004102a0
mov byte [esp + 0x1370], 0xa
push 0x52c1fc
mov byte [esp + 0x1374], bl
lea esi, [esp + 0x3c]
call fcn.004116f0
mov byte [esp + 0x1354], 0xb
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x128]
call fcn.0040f4f0
mov byte [esp + 0x1354], bl
cmp dword [esp + 0x34], ebp
jb 0x40897d
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004993dd
add esp, 4
cmp dword [esp + 0x138], ebp
mov eax, dword [esp + 0x124]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
jae 0x4089a1
lea eax, [esp + 0x124]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4089a4
sub eax, edx
sar eax, 1
je 0x408a9b
mov ecx, 0x520f50
call fcn.004130d0
cmp al, bl
je 0x408a91
cmp dword [esp + 0x138], ebp
mov edx, dword [esp + 0x124]
jae 0x4089e2
lea edx, [esp + 0x124]
push ebx
mov ecx, 0x520f50
call fcn.004141e0
test al, al
je 0x408a4a
lea edx, [esp + 0x944]
lea eax, [esp + 0x1c]
call fcn.00411be0
mov byte [esp + 0x1354], 0xc
lea edx, [esp + 0x1c]
push edx
mov ecx, 0x527b20
call fcn.0040abb0
push 0x3ff
push 0x521974
add eax, 0xda18
push 0x400
push eax
call fcn.004a9be0
add esp, 0x10
mov byte [esp + 0x1354], bl
lea esi, [esp + 0x1c]
call fcn.00411bb0
mov byte [esp + 0x17], 1
cmp dword [esp + 0x138], ebp
mov ecx, dword [esp + 0x124]
jae 0x408a61
lea ecx, [esp + 0x124]
push ebx
push 0x520f50
call fcn.004143a0
test al, al
je 0x408c5e
lea edx, [esp + 0x944]
lea eax, [esp + 0x1c]
call fcn.00411be0
mov byte [esp + 0x1354], 0xd
jmp 0x408c09
push str.Enable_Capabilities_fail_
jmp 0x408c51
sub esp, 0x1c
mov edx, str.ENABLE
mov eax, esp
mov dword [esp + 0x34], esp
call fcn.00411be0
mov byte [esp + 0x1370], 0xe
push 0x52c1fc
mov byte [esp + 0x1374], bl
lea esi, [esp + 0x3c]
call fcn.004116f0
mov byte [esp + 0x1354], 0xf
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x128]
call fcn.0040f4f0
mov byte [esp + 0x1354], bl
cmp dword [esp + 0x34], ebp
jb 0x408afc
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004993dd
add esp, 4
cmp dword [esp + 0x138], ebp
mov eax, dword [esp + 0x124]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
jae 0x408b20
lea eax, [esp + 0x124]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x408b23
sub eax, edx
sar eax, 1
je 0x408c5e
mov ecx, 0x520f50
call fcn.004130d0
cmp al, bl
je 0x408c4c
cmp dword [esp + 0x138], ebp
mov edx, dword [esp + 0x124]
jae 0x408b61
lea edx, [esp + 0x124]
push 1
mov ecx, 0x520f50
call fcn.004141e0
test al, al
je 0x408bca
lea edx, [esp + 0x944]
lea eax, [esp + 0x1c]
call fcn.00411be0
mov byte [esp + 0x1354], 0x10
lea edx, [esp + 0x1c]
push edx
mov ecx, 0x527b20
call fcn.0040abb0
push 0x3ff
push 0x521974
add eax, 0xda18
push 0x400
push eax
call fcn.004a9be0
add esp, 0x10
mov byte [esp + 0x1354], bl
lea esi, [esp + 0x1c]
call fcn.00411bb0
mov byte [esp + 0x17], 1
cmp dword [esp + 0x138], ebp
mov ecx, dword [esp + 0x124]
jae 0x408be1
lea ecx, [esp + 0x124]
push 1
push 0x520f50
call fcn.004143a0
test al, al
je 0x408c5e
lea edx, [esp + 0x944]
lea eax, [esp + 0x1c]
call fcn.00411be0
mov byte [esp + 0x1354], 0x11
lea eax, [esp + 0x1c]
push eax
mov ecx, 0x527b20
call fcn.0040abb0
push 0x3ff
push 0x522174
add eax, 0xec18
push 0x400
push eax
call fcn.004a9be0
add esp, 0x10
mov byte [esp + 0x1354], bl
lea esi, [esp + 0x1c]
call fcn.00411bb0
mov byte [esp + 0x17], 1
jmp 0x408c5e
push str.Disable_Capabilities_fail_
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x34], esp
push 6
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push str.MKCONF
mov word [esi + 4], bx
call fcn.004102a0
mov byte [esp + 0x1370], 0x12
push 0x52c1fc
mov byte [esp + 0x1374], bl
lea esi, [esp + 0x3c]
call fcn.004116f0
mov byte [esp + 0x1354], 0x13
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x128]
call fcn.0040f4f0
mov byte [esp + 0x1354], bl
cmp dword [esp + 0x34], ebp
jb 0x408ccb
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004993dd
add esp, 4
cmp byte [esp + 0x17], bl
mov esi, dword [esp + 0x138]
mov edi, dword [esp + 0x124]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
je 0x408e92
cmp esi, ebp
mov eax, edi
jae 0x408d01
lea eax, [esp + 0x124]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x408d04
sub eax, edx
sar eax, 1
je 0x408e92
push 0x800
lea edx, [esp + 0x140]
push ebx
push edx
call fcn.004ab450
add esp, 0xc
cmp esi, ebp
mov eax, edi
jae 0x408d3c
lea eax, [esp + 0x124]
push str.TRUE
push eax
call fcn.004a9af1
add esp, 8
test eax, eax
je 0x408dec
push 0x800
lea eax, [esp + 0xb48]
push ebx
push eax
call fcn.004ab450
mov eax, dword [esp + 0x130]
add esp, 0xc
cmp dword [esp + 0x138], ebp
jae 0x408d7f
lea eax, [esp + 0x124]
push 0x3ff
push eax
lea ecx, [esp + 0xb4c]
push 0x400
push ecx
call fcn.004a9be0
add esp, 0x10
lea edx, [esp + 0xb44]
push edx
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
lea eax, [esp + 0xb44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x408dec
cmp dword [esp + 0x138], ebp
mov eax, dword [esp + 0x124]
jae 0x408dd1
lea eax, [esp + 0x124]
push 0x3ff
push eax
lea ecx, [esp + 0x144]
push 0x400
push ecx
call fcn.004a9be0
add esp, 0x10
lea eax, [esp + 0x13c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x408df6
sub eax, edx
sar eax, 1
jne 0x408e4f
lea edx, [esp + 0x13c]
push edx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x408e4f
push 0x400
lea eax, [esp + 0x140]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x408e4f
lea ecx, [esp + 0x13c]
push 0x5c
push ecx
call fcn.004a9ce4
add esp, 8
cmp eax, ebx
je 0x408e4f
mov word [eax], bx
push ebx
lea edx, [esp + 0x140]
mov ecx, 0x520f50
call fcn.00414a50
push 1
lea edx, [esp + 0x140]
mov ecx, 0x520f50
call fcn.00414a50
mov dword [esp + 0x1354], 0xffffffff
lea esi, [esp + 0x120]
call fcn.00411bb0
mov al, 1
jmp 0x4091c2
cmp esi, ebp
mov eax, edi
jae 0x408e9f
lea eax, [esp + 0x124]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x408ea2
sub eax, edx
sar eax, 1
je 0x408f70
mov ecx, 0x520f50
call fcn.004130d0
cmp al, bl
je 0x408f0d
mov eax, 0x520f50
call fcn.00413d80
mov esi, dword [esp + 0x38]
cmp dword [esi + 0x621c], ebx
je 0x408ee0
call fcn.00404ba0
lea edx, [esp + 0x3c]
push edx
call fcn.00417320
mov byte [esp + 0x1354], 0x14
lea ecx, [esp + 0x3c]
call fcn.0049af74
mov byte [esp + 0x1354], bl
lea ecx, [esp + 0x3c]
call fcn.004173d0
jmp 0x408f2b
push str.Show_Admin_Capabilities_fail_
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
push ebx
push ebx
push str.There_is_no_availabe_admin_capabilities_
call fcn.0049b4ee
mov dword [esp + 0x1354], 0xffffffff
cmp dword [esp + 0x138], ebp
jb 0x408f4f
mov eax, dword [esp + 0x124]
push eax
call fcn.004993dd
add esp, 4
mov dword [esp + 0x138], 7
mov dword [esp + 0x134], ebx
mov word [esp + 0x124], bx
mov al, 1
jmp 0x4091c2
sub esp, 0x1c
mov edx, str.COMPRESS
mov eax, esp
mov dword [esp + 0x34], esp
call fcn.00411be0
mov byte [esp + 0x1370], 0x15
push 0x52c1fc
mov byte [esp + 0x1374], bl
lea esi, [esp + 0x3c]
call fcn.004116f0
mov byte [esp + 0x1354], 0x16
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x128]
call fcn.0040f4f0
mov byte [esp + 0x1354], bl
cmp dword [esp + 0x34], ebp
jb 0x408fd1
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004993dd
add esp, 4
mov esi, dword [esp + 0x138]
cmp esi, ebp
mov edi, dword [esp + 0x124]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
mov eax, edi
jae 0x408ffd
lea eax, [esp + 0x124]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x409000
sub eax, edx
sar eax, 1
je 0x4091a9
cmp esi, ebp
mov eax, edi
jae 0x409022
lea eax, [esp + 0x124]
push str.TRUE
push eax
call fcn.004a9af1
add esp, 8
test eax, eax
jne 0x409045
push ebx
push ebx
push str.Target_file_was_not_specified.__r_nPlease_try_again_with__compress__target_file_path_.
call fcn.0049b4ee
jmp 0x408e74
lea esi, [esp + 0x13c]
call fcn.00401000
cmp dword [esp + 0x138], ebp
mov eax, dword [esp + 0x124]
mov byte [esp + 0x940], 1
jae 0x409070
lea eax, [esp + 0x124]
push eax
push str.Installation_files_are_being_compressed_to__s
lea edx, [esp + 0x148]
push 0x400
push edx
call fcn.004a9ca9
add esp, 0x10
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x14c]
push eax
push 0x406340
call fcn.00499e6b
xor esi, esi
cmp dword [esp + 0x13c], ebx
jne 0x4090c9
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
call edi
mov ecx, esi
add esi, 1
cmp ecx, 0x14
jg 0x4090c9
cmp dword [esp + 0x13c], ebx
je 0x4090b2
cmp dword [esp + 0x138], ebp
mov eax, dword [esp + 0x124]
jae 0x4090e0
lea eax, [esp + 0x124]
mov ecx, dword [esp + 0x13c]
push eax
call fcn.004229d0
test al, al
jne 0x4090ff
push ebx
push ebx
push str.Fail_to_compress__
call fcn.0049b4ee
jmp 0x40916e
push 0x800
lea edx, [esp + 0xb48]
push ebx
push edx
call fcn.004ab450
mov eax, dword [esp + 0x130]
add esp, 0xc
cmp dword [esp + 0x138], ebp
jae 0x40912c
lea eax, [esp + 0x124]
push 0x3ff
push eax
lea eax, [esp + 0xb4c]
push 0x400
push eax
call fcn.004a9be0
lea ecx, [esp + 0xb54]
push 0x5c
push ecx
call fcn.004a9ce4
add esp, 0x18
cmp eax, ebx
je 0x40915d
mov word [eax], bx
push ebx
push ebx
lea ecx, [esp + 0xb4c]
call fcn.00441850
add esp, 8
mov eax, dword [esp + 0x13c]
cmp eax, ebx
je 0x408e74
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x408e74
mov edx, dword [esp + 0x13c]
mov eax, dword [edx + 0x20]
push ebx
push ebx
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x408e74
mov dword [esp + 0x1354], 0xffffffff
lea esi, [esp + 0x120]
call fcn.00411bb0
xor al, al
mov ecx, dword [esp + 0x134c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1330]
xor ecx, esp
call fcn.004a998e
add esp, 0x1344
ret 4