Function at 0x4afcff
Capabilities:
Check if file exists
Check mutex on windows
Contain obfuscated stackstrings
Get common file path

Disassembly:
push 0x374
mov eax, 0x5a9a79
call fcn.00553bf3
xor ebx, ebx
mov dword [ebp - 0x2ac], ebx
mov dword [ebp - 0x2bc], 0x5fce24
mov dword [0x5fce24], ebx
mov dword [0x5fce28], ebx
mov dword [ebp - 4], ebx
mov dword [0x5fce30], ebx
mov dword [0x5fce34], ebx
call fcn.0045082c
push eax
mov ecx, 0x5fce38
call fcn.004c3be8
mov byte [ebp - 4], 1
mov dword [ebp - 0x234], ebx
call fcn.0045082c
push eax
lea ecx, [ebp - 0x234]
call fcn.004c3be8
mov byte [ebp - 4], 2
mov dword [ebp - 0x230], ebx
call fcn.0045082c
push eax
lea ecx, [ebp - 0x230]
call fcn.004c3be8
mov byte [ebp - 4], 3
mov dword [ebp - 0x21c], ebx
call fcn.0045082c
push eax
lea ecx, [ebp - 0x21c]
call fcn.004c3be8
xor eax, eax
lea edi, [ebp - 0x248]
stosd dword es:[edi], eax
mov ecx, 0x5d0d94
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x240], ebx
xor eax, eax
lea edi, [ebp - 0x25c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x250], ecx
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x25c], ebx
mov dword [ebp - 0x258], ebx
mov dword [ebp - 0x254], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x220], ebx
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x27c]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x27c]
call fcn.004aed25
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x29c]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x29c]
call fcn.004aed25
push 0x67
lea edx, [ebp - 0x234]
mov byte [ebp - 4], 0xa
pop ecx
mov byte [ebp - 0x2a5], bl
call fcn.004c1e5d
push 0x65
lea edx, [ebp - 0x230]
pop ecx
call fcn.004c1e5d
mov dword [ebp - 0x140], 0x68346a42
mov dword [ebp - 0x13c], 0x744d444c
mov dword [ebp - 0x138], 0x33516d45
mov dword [ebp - 0x134], 0x54734150
mov dword [ebp - 0x130], 0x6c30784a
mov dword [ebp - 0x12c], 0x714d6745
mov dword [ebp - 0x128], 0x7051544a
mov dword [ebp - 0x124], 0x34706e41
mov dword [ebp - 0x120], 0x376b6a48
mov dword [ebp - 0x11c], 0x63555450
mov dword [ebp - 0x118], 0x6151524a
mov dword [ebp - 0x114], 0x706f5342
mov dword [ebp - 0x110], 0x756b7847
mov dword [ebp - 0x10c], 0x57556a4b
mov dword [ebp - 0x108], 0x614d4364
mov dword [ebp - 0x104], 0x4459674a
mov dword [ebp - 0x100], 0x64595241
mov dword [ebp - 0xfc], 0x61775448
mov dword [ebp - 0xf8], 0x75775248
mov dword [ebp - 0xf4], 0x4d4d4749
mov dword [ebp - 0xf0], 0x4b4d6d48
mov dword [ebp - 0xec], 0x44596847
mov dword [ebp - 0xe8], 0x734d4265
mov dword [ebp - 0xe4], 0x4b774342
mov dword [ebp - 0xe0], 0x6d356849
mov dword [ebp - 0xdc], 0x6a6b4148
mov dword [ebp - 0xd8], 0x626b444d
mov dword [ebp - 0xd4], 0x42736742
mov dword [ebp - 0xd0], 0x64556e61
mov dword [ebp - 0xcc], 0x62555245
mov dword [ebp - 0xc8], 0x6245544c
mov dword [ebp - 0xc4], 0x4e6b444e
mov dword [ebp - 0xc0], 0x63514341
mov dword [ebp - 0xbc], 0x6b417a65
mov dword [ebp - 0xb8], 0x695a514c
mov dword [ebp - 0xb4], 0x39704144
mov dword [ebp - 0xb0], 0x6b45474d
mov dword [ebp - 0xac], 0x4b494148
mov dword [ebp - 0xa8], 0x65516950
mov dword [ebp - 0xa4], 0x69356a4f
mov dword [ebp - 0xa0], 0x38493245
mov dword [ebp - 0x9c], 0x586f5348
mov dword [ebp - 0x98], 0x4e67424c
mov dword [ebp - 0x94], 0x49457948
mov dword [ebp - 0x90], 0x6d457743
mov dword [ebp - 0x8c], 0x4667774c
mov dword [ebp - 0x88], 0x46497843
mov dword [ebp - 0x84], 0x53674848
mov dword [ebp - 0x80], 0x7673424d
mov dword [ebp - 0x7c], 0x55736850
mov dword [ebp - 0x78], 0x2b684144
mov dword [ebp - 0x74], 0x6b49534b
mov dword [ebp - 0x70], 0x74517a47
mov dword [ebp - 0x6c], 0x41734441
mov dword [ebp - 0x68], 0x34495147
mov dword [ebp - 0x64], 0x4b73774b
mov dword [ebp - 0x60], 0x7055524c
mov dword [ebp - 0x5c], 0x62345843
mov dword [ebp - 0x58], 0x36786e5a
mov dword [ebp - 0x54], 0x684e7850
mov dword [ebp - 0x50], 0x3852324f
mov dword [ebp - 0x4c], 0x34416841
mov dword [ebp - 0x48], 0x7056514f
mov dword [ebp - 0x44], 0x64347950
mov ebx, dword [ebp - 0x234]
lea eax, [ebp - 0x10]
push ebx
push 0
sub esp, 0xc
mov dword [ebp - 0x40], 0x48346764
mov ecx, esp
mov dword [ebp - 0x3c], 0x43456848
lea edx, [ebp - 0x140]
mov dword [ebp - 0x38], 0x79776a49
mov dword [ebp - 0x34], 0x2f784446
push ecx
push eax
push edx
mov dword [ebp - 0x30], 0x71303346
mov dword [ebp - 0x2c], 0x694d4763
mov dword [ebp - 0x28], 0x656f6a4d
mov dword [ebp - 0x24], 0x4355324e
mov dword [ebp - 0x20], 0x33497a50
mov dword [ebp - 0x1c], 0x44494247
mov dword [ebp - 0x18], 0x41594363
mov dword [ebp - 0x14], 0x58444141
call fcn.00450208
lea ecx, [ebp - 0x2b8]
call fcn.004c35a2
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.004ab6d2
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.004c3755
add esp, 0xc
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2b8]
call fcn.004ab565
mov esi, dword [ebp - 0x21c]
push esi
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [0x5fce2c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x320]
mov edi, eax
call fcn.004aeaa7
xor ecx, ecx
mov byte [ebp - 4], 0xc
inc ecx
push ecx
push 0x100000
mov dword [ebp - 0x2a4], ecx
mov dword [ebp - 0x2ac], ecx
lea ecx, [ebp - 0x27c]
push eax
call fcn.004aed94
test al, al
je 0x4b020b
lea ecx, [ebp - 0x380]
call fcn.004aea83
push 3
pop ecx
push ecx
mov dword [ebp - 4], 0xd
push 0x100000
mov dword [ebp - 0x2a4], ecx
mov dword [ebp - 0x2ac], ecx
lea ecx, [ebp - 0x27c]
push eax
call fcn.004aed94
mov byte [ebp - 0x29d], 1
test al, al
jne 0x4b0212
mov byte [ebp - 0x29d], 0
mov eax, dword [ebp - 0x2a4]
test al, 2
je 0x4b0236
and eax, 0xfffffffd
lea ecx, [ebp - 0x380]
mov dword [ebp - 0x2a4], eax
call fcn.004ae90d
mov eax, dword [ebp - 0x2a4]
mov dword [ebp - 4], 0xa
test al, 1
je 0x4b0255
and eax, 0xfffffffe
lea ecx, [ebp - 0x320]
mov dword [ebp - 0x2a4], eax
call fcn.004ae90d
cmp byte [ebp - 0x29d], 0
je 0x4b0288
push ecx
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x22c]
call fcn.004af1ce
push ecx
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x248]
call fcn.004af69a
mov cl, 1
jmp 0x4b028e
mov cl, byte [ebp - 0x2a5]
cmp edi, 2
jne 0x4b02b1
xor edx, edx
lea eax, [ebp - 0x248]
push esi
test cl, cl
push 0
cmove eax, edx
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x5fce2c], eax
jmp 0x4b02f9
test cl, cl
je 0x4b02f9
cmp dword [esi - 4], 1
jle 0x4b02cf
push dword [esi - 0xc]
lea ecx, [ebp - 0x21c]
call fcn.004c3924
mov esi, dword [ebp - 0x21c]
push 0
lea ecx, [ebp - 0x27c]
call fcn.004aeb21
push eax
push 0
push 0
push 4
push 6
push esi
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x21c]
call fcn.004c318a
lea eax, [ebp - 0x218]
push eax
xor eax, eax
push eax
push eax
push 0x23
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4b0321
lea edx, [ebp - 0x218]
mov ecx, 0x5fce38
call fcn.004c25da
mov edi, dword [ebp - 0x230]
mov ecx, 0x5fce38
push edi
call fcn.004c3023
mov ecx, 0x5fce38
call fcn.004c17e2
push 0
sub esp, 0xc
mov dword [ebp - 0x120], 0x6a63544e
mov ecx, esp
mov dword [ebp - 0x11c], 0x48346850
lea eax, [ebp - 0x15]
mov dword [ebp - 0x118], 0x33564465
mov dword [ebp - 0x114], 0x546f6a4f
lea edx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x110], 0x3659574e
mov dword [ebp - 0x10c], 0x4f347864
mov dword [ebp - 0x108], 0x394d674a
mov dword [ebp - 0x104], 0x48494166
mov dword [ebp - 0x100], 0x76454750
mov dword [ebp - 0xfc], 0x7941444d
mov dword [ebp - 0xf8], 0x304d5444
mov dword [ebp - 0xf4], 0x4d6f4741
mov dword [ebp - 0xf0], 0x51495148
mov dword [ebp - 0xec], 0x6c4d7a49
mov dword [ebp - 0xe8], 0x37735165
mov dword [ebp - 0xe4], 0x47497743
mov dword [ebp - 0xe0], 0x6e4a6946
mov dword [ebp - 0xdc], 0x62385143
mov dword [ebp - 0xd8], 0x3867784e
mov dword [ebp - 0xd4], 0x55556849
mov dword [ebp - 0xd0], 0x4551684c
mov dword [ebp - 0xcc], 0x53457a41
mov dword [ebp - 0xc8], 0x494d794e
mov dword [ebp - 0xc4], 0x305a424b
mov dword [ebp - 0xc0], 0x476b5342
mov dword [ebp - 0xbc], 0x7973774e
mov dword [ebp - 0xb8], 0x3755424c
mov dword [ebp - 0xb4], 0x4a674165
mov dword [ebp - 0xb0], 0x416f4849
mov dword [ebp - 0xac], 0x78513244
mov dword [ebp - 0xa8], 0x4573784f
mov dword [ebp - 0xa4], 0x56417941
mov dword [ebp - 0xa0], 0x47736a4f
mov dword [ebp - 0x9c], 0x55593341
mov dword [ebp - 0x98], 0x2f6c7764
mov dword [ebp - 0x94], 0x7a517a47
mov dword [ebp - 0x90], 0x73597849
mov dword [ebp - 0x8c], 0x7973784c
mov dword [ebp - 0x88], 0x6b6b534b
mov dword [ebp - 0x84], 0x46516842
mov dword [ebp - 0x80], 0x4259324a
mov dword [ebp - 0x7c], 0x4b454747
mov dword [ebp - 0x78], 0x434d3348
mov dword [ebp - 0x74], 0x4b4d7a48
mov dword [ebp - 0x70], 0x394d534d
mov dword [ebp - 0x6c], 0x494d5250
mov dword [ebp - 0x68], 0x4f38775a
mov dword [ebp - 0x64], 0x58556747
mov dword [ebp - 0x60], 0x6a596961
mov dword [ebp - 0x5c], 0x324d514b
mov dword [ebp - 0x58], 0x6a387842
mov dword [ebp - 0x54], 0x78344465
mov dword [ebp - 0x50], 0x64496847
mov dword [ebp - 0x4c], 0x59347947
mov dword [ebp - 0x48], 0x6d49674a
mov dword [ebp - 0x44], 0x7051544e
mov dword [ebp - 0x40], 0x6a51684e
mov dword [ebp - 0x3c], 0x41514141
mov dword [ebp - 0x38], 0x6838524d
mov dword [ebp - 0x34], 0x686c4244
mov dword [ebp - 0x30], 0x38565246
mov dword [ebp - 0x2c], 0x5059324b
mov dword [ebp - 0x28], 0x7138794c
mov dword [ebp - 0x24], 0x6c595343
mov dword [ebp - 0x20], 0x55735444
mov dword [ebp - 0x1c], 0x4141414d
mov word [ebp - 0x18], 0x4d41
mov byte [ebp - 0x16], 0x41
push eax
push edx
call fcn.00450208
lea ecx, [ebp - 0x2b8]
call fcn.004c35a2
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.004ab6d2
push eax
mov ecx, 0x5fce38
call fcn.004c3023
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0xa
call fcn.004ab565
lea ecx, [ebp - 0x380]
call fcn.004aeaa7
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x2a4]
or ecx, 4
push ecx
push 0x101f0000
mov dword [ebp - 0x2a4], ecx
mov dword [ebp - 0x2ac], ecx
lea ecx, [ebp - 0x29c]
push eax
call fcn.004aed94
test al, al
je 0x4b0655
lea ecx, [ebp - 0x320]
call fcn.004aea83
mov dword [ebp - 4], 0x10
mov ecx, dword [ebp - 0x2a4]
or ecx, 8
push ecx
push 0x101f0000
mov dword [ebp - 0x2a4], ecx
mov dword [ebp - 0x2ac], ecx
lea ecx, [ebp - 0x29c]
push eax
call fcn.004aed94
mov byte [ebp - 0x29d], 1
test al, al
jne 0x4b065c
mov byte [ebp - 0x29d], 0
mov eax, dword [ebp - 0x2a4]
test al, 8
je 0x4b0680
and eax, 0xfffffff7
lea ecx, [ebp - 0x320]
mov dword [ebp - 0x2a4], eax
call fcn.004ae90d
mov eax, dword [ebp - 0x2a4]
mov dword [ebp - 4], 0xa
test al, 4
je 0x4b0696
lea ecx, [ebp - 0x380]
call fcn.004ae90d
cmp byte [ebp - 0x29d], 0
je 0x4b0729
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x224]
call fcn.004af1ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x25c]
call fcn.004af69a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [0x5fce38]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b0707
push dword [ebp - 0x220]
push 4
push dword [0x5fce38]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4b0729
xor ecx, ecx
lea eax, [ebp - 0x25c]
push ecx
push ecx
push 1
push eax
push ecx
push ecx
push dword [0x5fce38]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x29c]
call fcn.004aed6d
lea ecx, [ebp - 0x27c]
call fcn.004aed6d
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x224], 0x5d0d94
call fcn.004af4c0
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x22c], 0x5d0d94
call fcn.004af4c0
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x250], 0x5d0d94
call fcn.004af4c0
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x5d0d94
call fcn.004af4c0
lea ecx, [esi - 0x10]
call fcn.00450c0a
lea ecx, [edi - 0x10]
call fcn.00450c0a
lea ecx, [ebx - 0x10]
call fcn.00450c0a
mov eax, 0x5fce24
call fcn.00553ba2
ret