Function at 0x40fc60
Capabilities:
Contain obfuscated stackstrings
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53121c
mov eax, dword fs:[0]
push eax
mov eax, 0x13b0
call fcn.00502a70
mov eax, dword [0x57d54c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x208
lea eax, [ebp - 0x654]
push 0
push eax
call fcn.00504c70
add esp, 0xc
call fcn.00407680
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x40fceb
movaps xmm0, xmmword [0x565ac0]
lea ecx, [ebp - 0x30]
push ecx
push eax
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x6f4c7265
mov dword [ebp - 0x1c], 0x69746163
mov word [ebp - 0x18], 0x6e6f
mov byte [ebp - 0x16], 0
call edi
mov dword [esi + 0x2c], eax
lea eax, [ebp - 0x13a0]
push eax
push dword [ebp + 8]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x4105ba
mov eax, dword [ebp - 0x13a0]
mov dword [ebp - 0x13b0], eax
call fcn.00407680
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x40fd3f
movaps xmm0, xmmword [0x565a20]
lea ecx, [ebp - 0x2c]
push ecx
push eax
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x57747369
mov byte [ebp - 0x18], 0
call edi
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x654]
push eax
push dword [ebp - 0x13b0]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push 0x208
lea eax, [ebp - 0x23c]
push 0
push eax
call fcn.00504c70
add esp, 0xc
lea eax, [ebp - 0x654]
push 0x55fb5c
push 0x104
push eax
call fcn.00509c6c
add esp, 0xc
lea eax, [ebp - 0x654]
push eax
lea eax, [ebp - 0x23c]
push 0x104
push eax
call fcn.00509c6c
add esp, 0xc
lea eax, [ebp - 0x23c]
push 0x5600d8
push 0x104
push eax
call fcn.00509c6c
add esp, 0xc
lea eax, [ebp - 0x1144]
push eax
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x13ac], esi
cmp esi, 0xffffffff
je 0x4105ba
nop word [eax + eax]
cmp word [ebp - 0x1118], 0x2e
je 0x41059d
push 0x208
lea eax, [ebp - 0x23c]
push 0
push eax
call fcn.00504c70
add esp, 0xc
lea eax, [ebp - 0x654]
push eax
lea eax, [ebp - 0x23c]
push 0x104
push eax
call fcn.00509c08
add esp, 0xc
lea eax, [ebp - 0x1118]
push eax
lea eax, [ebp - 0x23c]
push 0x104
push eax
call fcn.00509c6c
add esp, 0xc
test byte [ebp - 0x1144], 0x10
jne 0x41059d
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x1398]
mov dword [ebp - 0x1398], 0
push eax
push 0x551910
push 1
push 0
push 0x551950
mov dword [ebp - 0x139c], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x410577
mov ecx, dword [ebp - 0x1398]
test ecx, ecx
je 0x410587
mov eax, dword [ecx]
lea edx, [ebp - 0x139c]
push edx
push 0x551940
push ecx
call dword [eax]
test eax, eax
jne 0x410577
mov ecx, dword [ebp - 0x139c]
test ecx, ecx
je 0x410577
mov eax, dword [ecx]
lea edx, [ebp - 0x23c]
push 0
push edx
push ecx
call dword [eax + 0x14]
push 0x20a
lea eax, [ebp - 0x44c]
push 0
push eax
call fcn.00504c70
mov eax, dword [ebp - 0x1398]
lea edx, [ebp - 0x44c]
add esp, 0xc
mov ecx, dword [eax]
push 0x104
push edx
push eax
call dword [ecx + 0x28]
cmp word [ebp - 0x44c], 0
je 0x410577
push 0x800
lea eax, [ebp - 0xe54]
push 0
push eax
call fcn.00504c70
add esp, 0xc
lea eax, [ebp - 0x1394]
push 0x250
push 0
push eax
call fcn.00504c70
mov eax, dword [ebp - 0x1398]
lea edx, [ebp - 0x1394]
add esp, 0xc
mov ecx, dword [eax]
push 2
push edx
push 0x400
lea edx, [ebp - 0xe54]
push edx
push eax
call dword [ecx + 0xc]
cmp word [ebp - 0xe54], 0
je 0x410577
lea eax, [ebp - 0xe54]
push 0x5c
push eax
call fcn.0050411a
add esp, 8
test eax, eax
je 0x410577
mov edi, dword [ebx + 0x258]
add eax, 2
mov dword [ebp - 0x13a8], eax
mov ecx, edi
sub ecx, dword [ebx + 0x254]
mov eax, 0x2aaaaaab
imul ecx
xor esi, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x410571
mov dword [ebp - 0x13b0], esi
mov ecx, dword [ebx + 0x254]
mov eax, 0x2aaaaaab
sub edi, ecx
imul edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, esi
jbe 0x4105d8
mov edi, dword [ebp - 0x13b0]
cmp dword [edi + ecx + 0x14], 8
lea eax, [edi + ecx]
jb 0x40ffe3
mov eax, dword [eax]
push eax
push dword [ebp - 0x13a8]
call fcn.00407550
mov ecx, eax
call fcn.0045af30
test eax, eax
jne 0x410325
mov ecx, dword [ebx + 0x258]
mov eax, 0x2aaaaaab
sub ecx, dword [ebx + 0x254]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, esi
jbe 0x4105d8
mov eax, dword [ebx + 0x254]
add eax, edi
cmp dword [eax + 0x14], 8
jb 0x410033
mov eax, dword [eax]
push 0x5c
push eax
call fcn.00504053
add esp, 8
test eax, eax
je 0x41008f
mov ecx, dword [ebx + 0x258]
mov eax, 0x2aaaaaab
sub ecx, dword [ebx + 0x254]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, esi
jbe 0x4105d8
mov eax, dword [ebx + 0x254]
add eax, edi
cmp dword [eax + 0x14], 8
jb 0x410077
mov eax, dword [eax]
push eax
lea eax, [ebp - 0xe54]
push eax
call fcn.00407550
mov ecx, eax
call fcn.0045af30
test eax, eax
jne 0x4100c5
add edi, 0x18
mov eax, 0x2aaaaaab
mov dword [ebp - 0x13b0], edi
inc esi
mov edi, dword [ebx + 0x258]
mov ecx, edi
sub ecx, dword [ebx + 0x254]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x40ffb0
jmp 0x410571
xor eax, eax
mov dword [ebp - 0xe90], 0
mov dword [ebp - 0xe8c], 0
mov dword [ebp - 0xe90], 0
mov dword [ebp - 0xe8c], 7
mov word [ebp - 0xea0], ax
mov dword [ebp - 4], 7
mov dword [ebp - 0xe78], eax
mov dword [ebp - 0xe74], eax
mov dword [ebp - 0xe78], eax
mov dword [ebp - 0xe74], 7
mov word [ebp - 0xe88], ax
mov byte [ebp - 4], 8
mov dword [ebp - 0xe60], eax
mov dword [ebp - 0xe5c], eax
mov dword [ebp - 0xe60], eax
mov dword [ebp - 0xe5c], 7
mov word [ebp - 0xe70], ax
mov dword [ebp - 4], 0xa
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0xea4], esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410160
sub ecx, edx
lea eax, [ebp - 0x23c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xea0]
call fcn.0040aad0
lea ecx, [ebp - 0x44c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410190
sub ecx, edx
lea eax, [ebp - 0x44c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xe88]
call fcn.0040aad0
cmp dword [ebp - 0xe74], 8
lea edx, [ebp - 0xe88]
mov esi, dword [ebp - 0xe88]
mov eax, dword [ebp - 0xe78]
cmovae edx, esi
mov byte [ebp - 0x13a1], 0x22
lea ecx, [eax + eax]
lea eax, [edx + ecx]
mov dword [ebp - 0x13a8], eax
lea edx, [ebp - 0x13a1]
lea eax, [ebp - 0xe88]
cmovae eax, esi
add eax, ecx
cmp dword [ebp - 0xe74], 8
lea ecx, [ebp - 0xe88]
cmovae ecx, esi
push eax
push ecx
lea ecx, [ebp - 0x13b4]
call fcn.00410e50
mov esi, dword [ebp - 0xe78]
lea ecx, [ebp - 0xe88]
add esp, 8
cmp dword [ebp - 0xe74], 8
cmovae ecx, dword [ebp - 0xe88]
mov eax, dword [eax]
mov edi, eax
sub edi, ecx
sar edi, 1
cmp esi, edi
jb 0x4105dd
mov edx, dword [ebp - 0x13a8]
sub edx, eax
mov eax, esi
sub eax, edi
sar edx, 1
cmp eax, edx
cmovb edx, eax
cmp dword [ebp - 0xe74], 8
lea eax, [ebp - 0xe88]
cmovae eax, dword [ebp - 0xe88]
sub esi, edx
mov dword [ebp - 0xe78], esi
sub esi, edi
lea ecx, [eax + edi*2]
lea eax, [esi*2 + 2]
push eax
lea eax, [ecx + edx*2]
push eax
push ecx
call fcn.00505350
add esp, 0xc
cmp dword [ebp - 0xe78], 0
je 0x410313
mov esi, dword [ebx + 0x264]
cmp dword [ebx + 0x268], esi
je 0x410300
mov eax, dword [ebp - 0xea4]
lea ecx, [esi + 4]
mov dword [esi], eax
lea eax, [ebp - 0xea0]
push eax
mov dword [ebp - 0x13a8], esi
call fcn.0040d370
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0xe88]
push eax
lea ecx, [esi + 0x1c]
call fcn.0040d370
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0xe70]
push eax
lea ecx, [esi + 0x34]
call fcn.0040d370
mov byte [ebp - 4], 0xa
add dword [ebx + 0x264], 0x4c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xea4]
jmp 0x41056c
lea eax, [ebp - 0xea4]
push eax
push esi
lea ecx, [ebx + 0x260]
call fcn.00411160
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xea4]
jmp 0x41056c
xor eax, eax
mov dword [ebp - 0xee0], 0
mov dword [ebp - 0xedc], 0
mov dword [ebp - 0xee0], 0
mov dword [ebp - 0xedc], 7
mov word [ebp - 0xef0], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0xec8], eax
mov dword [ebp - 0xec4], eax
mov dword [ebp - 0xec8], eax
mov dword [ebp - 0xec4], 7
mov word [ebp - 0xed8], ax
mov byte [ebp - 4], 1
mov dword [ebp - 0xeb0], eax
mov dword [ebp - 0xeac], eax
mov dword [ebp - 0xeb0], eax
mov dword [ebp - 0xeac], 7
mov word [ebp - 0xec0], ax
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0xef4], esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4103c0
sub ecx, edx
lea eax, [ebp - 0x23c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xef0]
call fcn.0040aad0
lea ecx, [ebp - 0x44c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4103f0
sub ecx, edx
lea eax, [ebp - 0x44c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xed8]
call fcn.0040aad0
cmp dword [ebp - 0xec4], 8
lea edx, [ebp - 0xed8]
mov esi, dword [ebp - 0xed8]
mov eax, dword [ebp - 0xec8]
cmovae edx, esi
mov byte [ebp - 0x13a1], 0x22
lea ecx, [eax + eax]
lea eax, [edx + ecx]
mov dword [ebp - 0x13a8], eax
lea edx, [ebp - 0x13a1]
lea eax, [ebp - 0xed8]
cmovae eax, esi
add eax, ecx
cmp dword [ebp - 0xec4], 8
lea ecx, [ebp - 0xed8]
cmovae ecx, esi
push eax
push ecx
lea ecx, [ebp - 0x13b8]
call fcn.00410e50
mov esi, dword [ebp - 0xec8]
lea ecx, [ebp - 0xed8]
add esp, 8
cmp dword [ebp - 0xec4], 8
cmovae ecx, dword [ebp - 0xed8]
mov eax, dword [eax]
mov edi, eax
sub edi, ecx
sar edi, 1
cmp esi, edi
jb 0x4105dd
mov edx, dword [ebp - 0x13a8]
sub edx, eax
mov eax, esi
sub eax, edi
sar edx, 1
cmp eax, edx
cmovb edx, eax
cmp dword [ebp - 0xec4], 8
lea eax, [ebp - 0xed8]
cmovae eax, dword [ebp - 0xed8]
sub esi, edx
mov dword [ebp - 0xec8], esi
sub esi, edi
lea ecx, [eax + edi*2]
lea eax, [esi*2 + 2]
push eax
lea eax, [ecx + edx*2]
push eax
push ecx
call fcn.00505350
add esp, 0xc
cmp dword [ebp - 0xec8], 0
je 0x41055f
mov esi, dword [ebx + 0x264]
cmp dword [ebx + 0x268], esi
je 0x41054c
mov eax, dword [ebp - 0xef4]
lea ecx, [esi + 4]
mov dword [esi], eax
lea eax, [ebp - 0xef0]
push eax
mov dword [ebp - 0x13a8], esi
call fcn.0040d370
mov byte [ebp - 4], 4
lea eax, [ebp - 0xed8]
push eax
lea ecx, [esi + 0x1c]
call fcn.0040d370
mov byte [ebp - 4], 5
lea eax, [ebp - 0xec0]
push eax
lea ecx, [esi + 0x34]
call fcn.0040d370
mov byte [ebp - 4], 3
add dword [ebx + 0x264], 0x4c
jmp 0x41055f
lea eax, [ebp - 0xef4]
push eax
push esi
lea ecx, [ebx + 0x260]
call fcn.00411160
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xef4]
call fcn.004105f0
mov esi, dword [ebp - 0x13ac]
mov ecx, dword [ebp - 0x1398]
test ecx, ecx
je 0x410587
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x139c]
test ecx, ecx
je 0x410597
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [ebp - 0x1144]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40fde0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00501e95
mov esp, ebp
pop ebp
ret 4
call fcn.0040a8a0
call fcn.0040bba0
int3