Function at 0x4097f0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5342d6
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x595834]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2e4], ecx
mov ecx, dword [ebp - 0x2e4]
call fcn.0041da3e
mov eax, 1
movsx ecx, ax
and ecx, 0xffff
movzx edx, cx
mov eax, 0x64
movsx ecx, ax
and ecx, 0xffff
movzx eax, cx
shl eax, 0x10
or edx, eax
push edx
push 0
push 0x401
mov ecx, dword [ebp - 0x2e4]
mov edx, dword [ecx + 0x94]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0x26
lea eax, [ebp - 0x214]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
call fcn.004093d0
push 0x598f34
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x218]
push edx
call fcn.0040a3d0
add esp, 0xc
mov dword [ebp - 4], 0
push str.Program_Files_
push str.Program_Files__x86__
lea ecx, [ebp - 0x218]
call fcn.00409e50
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x2e4]
add ecx, 0xc8
call fcn.00425b1a
push 0x54b768
lea ecx, [ebp - 0x21c]
call fcn.00401c80
mov dword [ebp - 0x2e8], eax
mov ecx, dword [ebp - 0x2e8]
mov dword [ebp - 0x2ec], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2ec]
push edx
push 0x598f3c
lea eax, [ebp - 0x220]
push eax
call fcn.0040a2f0
add esp, 0xc
mov dword [ebp - 0x2f0], eax
mov ecx, dword [ebp - 0x2f0]
mov dword [ebp - 0x26c], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x26c]
mov eax, dword [edx]
mov dword [ebp - 0x270], eax
mov ecx, dword [ebp - 0x270]
push ecx
mov ecx, dword [ebp - 0x2e4]
call fcn.00425b1a
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x220]
sub edx, 0x10
mov dword [ebp - 0x274], edx
mov ecx, dword [ebp - 0x274]
call fcn.00409e10
mov byte [ebp - 4], 4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x21c]
sub eax, 0x10
mov dword [ebp - 0x278], eax
mov ecx, dword [ebp - 0x278]
call fcn.00409e10
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x11c
mov dword [ebp - 0x280], ecx
mov edx, str.__trojancut_User_License_Agreement___r_n_r_nPlease_read_and_understand_this_EULA_carefully._r_nThis_Software_End_User_License_Agreement_hereafter_referred_to_as_the__EULA___is_a_legal_agreement_between_End_User_hereafter_referred_to_as_the__User___and_TrueCut_Security__Inc._hereafter_referred_to_as_the__TCS___for_the_software_product_hereafter_referred_to_as_the__software___specified_in_this__EULA_._r_nUser
test edx, edx
jne 0x4099b7
mov dword [ebp - 0x27c], 0
jmp 0x409a0c
mov dword [ebp - 0x2f4], str.__trojancut_User_License_Agreement___r_n_r_nPlease_read_and_understand_this_EULA_carefully._r_nThis_Software_End_User_License_Agreement_hereafter_referred_to_as_the__EULA___is_a_legal_agreement_between_End_User_hereafter_referred_to_as_the__User___and_TrueCut_Security__Inc._hereafter_referred_to_as_the__TCS___for_the_software_product_hereafter_referred_to_as_the__software___specified_in_this__EULA_._r_nUser
mov eax, dword [ebp - 0x2f4]
add eax, 1
mov dword [ebp - 0x2f8], eax
mov ecx, dword [ebp - 0x2f4]
mov dl, byte [ecx]
mov byte [ebp - 0x2f9], dl
add dword [ebp - 0x2f4], 1
cmp byte [ebp - 0x2f9], 0
jne 0x4099d0
mov eax, dword [ebp - 0x2f4]
sub eax, dword [ebp - 0x2f8]
mov dword [ebp - 0x300], eax
mov ecx, dword [ebp - 0x300]
mov dword [ebp - 0x27c], ecx
mov edx, dword [ebp - 0x27c]
push edx
push str.__trojancut_User_License_Agreement___r_n_r_nPlease_read_and_understand_this_EULA_carefully._r_nThis_Software_End_User_License_Agreement_hereafter_referred_to_as_the__EULA___is_a_legal_agreement_between_End_User_hereafter_referred_to_as_the__User___and_TrueCut_Security__Inc._hereafter_referred_to_as_the__TCS___for_the_software_product_hereafter_referred_to_as_the__software___specified_in_this__EULA_._r_nUser
mov ecx, dword [ebp - 0x280]
call fcn.00402030
mov eax, dword [0x598f3c]
push eax
push str.trojancut
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x11c
call fcn.00409e50
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x174
mov dword [ebp - 0x2c0], ecx
push 0x59920c
mov ecx, dword [ebp - 0x2c0]
call fcn.0040a5d0
mov edx, dword [ebp - 0x2e4]
add edx, 0x178
mov dword [ebp - 0x2c4], edx
push 0x599228
mov ecx, dword [ebp - 0x2c4]
call fcn.0040a5d0
mov eax, dword [ebp - 0x2e4]
add eax, 0x17c
mov dword [ebp - 0x2c8], eax
push 0x599224
mov ecx, dword [ebp - 0x2c8]
call fcn.0040a5d0
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x2d0
mov dword [ebp - 0x2cc], ecx
push 0x59921c
mov ecx, dword [ebp - 0x2cc]
call fcn.0040a5d0
push 0
mov ecx, dword [ebp - 0x2e4]
call fcn.00421814
mov edx, dword [0x59920c]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x2d0], eax
xor ecx, ecx
cmp dword [ebp - 0x2d0], 0
sete cl
movzx edx, cl
test edx, edx
je 0x409b30
push 0
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x180
call fcn.00425be5
push 0
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x1d4
call fcn.00425be5
push 0
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x228
call fcn.00425be5
jmp 0x409b47
mov eax, dword [0x599210]
push eax
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x180
call fcn.00425b1a
mov ecx, dword [ebp - 0x2e4]
mov edx, dword [ecx + 0x178]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x2d4], eax
xor ecx, ecx
cmp dword [ebp - 0x2d4], 0
sete cl
movzx edx, cl
test edx, edx
je 0x409b97
push 0
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x1d4
call fcn.00425be5
push 0
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x228
call fcn.00425be5
jmp 0x409bae
mov eax, dword [0x599320]
push eax
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x1d4
call fcn.00425b1a
mov ecx, dword [ebp - 0x2e4]
mov edx, dword [ecx + 0x17c]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x2d8], eax
xor ecx, ecx
cmp dword [ebp - 0x2d8], 0
sete cl
movzx edx, cl
test edx, edx
je 0x409beb
push 0
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x228
call fcn.00425be5
jmp 0x409c02
mov eax, dword [0x599214]
push eax
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x228
call fcn.00425b1a
mov ecx, dword [ebp - 0x2e4]
mov edx, dword [ecx + 0x2d0]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x2dc], eax
xor ecx, ecx
cmp dword [ebp - 0x2dc], 0
sete cl
movzx edx, cl
test edx, edx
je 0x409c3d
push 0
mov ecx, dword [ebp - 0x2e4]
add ecx, 0x27c
call fcn.00425be5
mov dword [ebp - 0x224], 1
mov dword [ebp - 4], 5
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x218]
call fcn.0041b810
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051a243
mov esp, ebp
pop ebp
ret