Function at 0x40fce0
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2a99
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x4d1a04]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x68], esi
xor eax, eax
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
push eax
push 0x104
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 1
call fcn.00412570
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push eax
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov al, 0x44
mov dword [ebp - 0x30], 0x220044
mov dword [ebp - 0x2c], 0x20002f
xor ecx, ecx
mov dword [ebp - 0x28], 0x37002e
mov dword [ebp - 0x24], 0x200025
mov dword [ebp - 0x20], 0x370025
mov dword [ebp - 0x1c], 0x6a0020
mov dword [ebp - 0x18], 0x27002d
mov dword [ebp - 0x14], 0x2b
nop dword [eax + eax]
cbw
xor word [ebp + ecx*2 - 0x2e], ax
inc ecx
cmp ecx, 0xe
jae 0x40fdb2
mov al, byte [ebp - 0x30]
jmp 0x40fda0
xor eax, eax
lea ecx, [ebp - 0x2e]
xorps xmm0, xmm0
mov word [ebp - 0x12], ax
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x4c], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40fdd0
sub ecx, edx
lea eax, [ebp - 0x2e]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.0040a600
cmp dword [ebp - 0x34], 8
lea edx, [ebp - 0x48]
mov byte [ebp - 4], 2
cmovae edx, dword [ebp - 0x48]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40fe00
sub ecx, edi
sar ecx, 1
push ecx
push edx
push 0
lea ecx, [ebp - 0x60]
call fcn.00413a90
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x64], 3
mov byte [ebp - 4], 1
cmp ecx, 8
jb 0x40fe97
mov edx, dword [ebp - 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40fe8d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ffd9
push ecx
push edx
call fcn.0047153d
add esp, 8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x40fea1
mov eax, dword [esi]
push 1
push 0x40
push 0x22
push eax
lea ecx, [ebp - 0x130]
call fcn.0040b7b0
mov eax, dword [ebp - 0x130]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_fstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x130]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x78]
mov dword [ebp + ecx - 0x134], eax
sub esp, 0x18
mov byte [ebp - 4], 3
mov eax, esp
lea ecx, [ebp - 0x120]
xorps xmm0, xmm0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
movq qword [eax + 0x10], xmm0
call fcn.00414a60
push 0
push 0x423e
push 0x4cd008
lea ecx, [ebp - 0x120]
call fcn.00415980
lea ecx, [ebp - 0x120]
call fcn.004133a0
lea ecx, [ebp - 0x118]
call fcn.00412910
test eax, eax
jne 0x40ff7b
mov eax, dword [ebp - 0x130]
xor edx, edx
mov ecx, dword [eax + 4]
mov eax, 4
cmp dword [ebp + ecx - 0xf8], edx
cmovne eax, edx
or eax, dword [ebp + ecx - 0x124]
and eax, 0x15
or eax, 2
mov dword [ebp + ecx - 0x124], eax
mov ecx, dword [ebp + ecx - 0x120]
and ecx, eax
jne 0x40ffde
lea ecx, [ebp - 0x130]
call fcn.0040d600
mov ecx, dword [ebp - 0x34]
cmp ecx, 8
jb 0x40ffbc
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40ffb2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410020
push ecx
push edx
call fcn.0047153d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004717aa
mov esp, ebp
pop ebp
ret
call fcn.0047ce9f
test cl, 4
je 0x40ffea
mov esi, str.ios_base::badbit_set
jmp 0x40fffa
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x70]
push 1
push eax
call fcn.00413cb0
add esp, 8
lea ecx, [ebp - 0x5c]
push eax
push esi
call fcn.0040ca00
push 0x4c3a98
lea eax, [ebp - 0x5c]
push eax
call fcn.00472b84
call fcn.0047ce9f
int3