Function at 0x415de0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov dword [ebp - 0x10], edx
mov word [ebp - 0x18], cx
mov byte [ebp - 9], 0x57
mov byte [ebp - 1], 0x4d
movsx eax, word [ebp + 0xc]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4875
je 0x415e57
cmp dword [ebp - 0x20], 0x680b
je 0x415e16
jmp 0x415e96
mov cl, byte [ebp - 1]
mov byte [ebp - 0x34], cl
cmp byte [ebp - 0x34], 0x73
je 0x415e24
jmp 0x415e44
mov edx, 0x478a
mov word [ebp + 0xc], dx
movzx eax, word [ebp + 0xc]
push eax
movzx ecx, byte [ebp - 1]
push ecx
movzx edx, byte [ebp - 1]
push edx
call fcn.00415390
nop
jmp 0x415e55
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x70]
push ecx
call dword [sym.imp.ole32.dll_StringFromIID]
mov dword [ebp - 0x2c], eax
jmp 0x415e96
mov dl, byte [ebp - 1]
mov byte [ebp - 0x24], dl
cmp byte [ebp - 0x24], 0x18
je 0x415e89
cmp byte [ebp - 0x24], 0x57
je 0x415e6b
jmp 0x415e96
mov eax, 0x6e3
mov word [ebp - 0x18], ax
call dword [sym.imp.ole32.dll_CoTestCancel]
mov dword [ebp - 0x38], eax
movzx ecx, byte [ebp - 1]
add ecx, 0x26
mov byte [ebp - 1], cl
jmp 0x415e96
lea edx, [ebp - 0x2c]
push edx
call dword [sym.imp.ole32.dll_CoSetCancelObject]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 1]
mov dword [ebp - 8], eax
movsx ecx, byte [ebp - 9]
sub ecx, 0x64
mov byte [ebp - 9], cl
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], 0x754f2095
mov eax, dword [ebp - 8]
movzx ecx, byte [eax]
imul edx, ecx, 0xed
movzx eax, byte [ebp - 1]
cmp edx, eax
je 0x4160ea
mov ecx, dword [ebp - 0x14]
or ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
jae 0x415f31
mov edx, dword [ebp - 8]
movzx eax, byte [edx]
sub eax, 0xb
movzx ecx, byte [ebp - 1]
cmp eax, ecx
jne 0x415efe
movzx edx, byte [ebp - 9]
push edx
call fcn.00415bb0
mov eax, dword [ebp - 0x1c]
sub eax, 0x16dfec6b
mov dword [ebp - 0x1c], eax
jmp 0x415f13
call dword [sym.imp.ole32.dll_CoTestCancel]
mov dword [ebp - 0x38], eax
movzx ecx, byte [ebp - 1]
add ecx, 0x2e
mov edx, dword [ebp - 8]
mov byte [edx], cl
mov eax, dword [ebp - 0x1c]
sub eax, 0x425ff1b1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx]
movzx eax, byte [ebp - 1]
add edx, eax
mov ecx, dword [ebp - 8]
mov byte [ecx], dl
jmp 0x415f95
movzx edx, byte [ebp - 1]
shl edx, 0x56
mov eax, dword [ebp - 8]
movzx ecx, byte [eax]
cmp edx, ecx
jge 0x415f50
mov edx, dword [ebp - 8]
movzx eax, byte [edx]
xor eax, 0x1e
mov byte [ebp - 1], al
jmp 0x415f95
movzx ecx, word [ebp - 0x18]
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 0x6c
je 0x415f68
cmp dword [ebp - 0x28], 0x824
je 0x415f89
jmp 0x415f95
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
movzx eax, byte [ebp - 1]
or eax, 5
mov ecx, dword [ebp - 8]
mov byte [ecx], al
mov edx, 0x723
mov word [ebp + 0xc], dx
jmp 0x415f95
movzx eax, byte [ebp - 1]
and eax, 0x48
mov ecx, dword [ebp - 8]
mov byte [ecx], al
movzx edx, byte [ebp - 1]
sub edx, 0xc0
mov eax, dword [ebp - 8]
movzx ecx, byte [eax]
cmp edx, ecx
jne 0x416035
mov dl, byte [ebp - 9]
mov byte [ebp - 0x3c], dl
cmp byte [ebp - 0x3c], 0x79
je 0x415fbb
jmp 0x416016
movzx eax, word [ebp + 0xc]
push eax
call fcn.00416570
add esp, 4
lea ecx, [ebp - 0x40]
push ecx
push fcn.00415390
mov edx, dword [ebp - 0x4c]
push edx
call sub.COMCTL32.dll_RemoveWindowSubclass
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
movzx ecx, byte [eax]
add ecx, 0x7f
mov byte [ebp - 1], cl
mov edx, dword [ebp - 8]
movzx eax, byte [edx]
movzx ecx, byte [ebp - 1]
add eax, ecx
mov edx, dword [ebp - 8]
mov byte [edx], al
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 1]
sub ecx, edx
mov eax, dword [ebp - 8]
mov byte [eax], cl
jmp 0x416030
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x80]
push edx
call dword [sym.imp.ole32.dll_CoGetObjectContext]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x10]
and eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
jmp 0x4160e8
movsx ecx, byte [ebp - 9]
sub ecx, 0x5d
cmp ecx, 0x3a
jl 0x4160c6
mov dl, byte [ebp - 1]
mov byte [ebp - 0x30], dl
cmp byte [ebp - 0x30], 0x1f
je 0x416059
cmp byte [ebp - 0x30], 0x37
je 0x4160aa
jmp 0x4160c4
movzx eax, byte [ebp - 1]
add eax, 0x31
mov ecx, dword [ebp - 8]
mov byte [ecx], al
push 0xbc
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.ADVAPI32.dll_DecryptFileW]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 8]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 1]
sub ecx, edx
mov eax, dword [ebp - 8]
mov byte [eax], cl
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
shr edx, cl
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.USERENV.dll_GetUserProfileDirectoryW]
mov dword [ebp - 0x60], eax
jmp 0x4160c4
mov eax, dword [ebp - 8]
movzx edx, byte [eax]
movzx ecx, byte [ebp - 1]
shl edx, cl
mov eax, dword [ebp - 8]
mov byte [eax], dl
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
jmp 0x4160e8
movzx edx, byte [ebp - 1]
add edx, 0x50
mov eax, dword [ebp - 8]
movzx ecx, byte [eax]
cmp edx, ecx
jge 0x4160e8
mov edx, dword [ebp - 8]
movzx eax, byte [edx]
movzx ecx, byte [ebp - 1]
or eax, ecx
mov edx, dword [ebp - 8]
mov byte [edx], al
jmp 0x41611b
mov eax, dword [ebp - 8]
movzx edx, byte [eax]
movzx ecx, byte [ebp - 1]
shl edx, cl
mov eax, dword [ebp - 8]
mov byte [eax], dl
lea ecx, [ebp - 0x90]
push ecx
push str.Republican_Buzzing_Bereavement_forearmed_robustness
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov dword [ebp - 0x44], eax
movzx edx, byte [ebp - 1]
sar edx, 1
mov eax, dword [ebp - 8]
mov byte [eax], dl
movzx ecx, byte [ebp - 1]
and ecx, 0x63
mov edx, dword [ebp - 8]
mov byte [edx], cl
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0xb0]
push ecx
call dword [sym.imp.ole32.dll_OleSetAutoConvert]
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x10]
xor edx, dword [ebp + 8]
mov dword [ebp - 0x14], edx
mov eax, 0xda
mov esp, ebp
pop ebp
ret 8