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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018ee68
mov eax, dword fs:[0]
push eax
sub esp, 0x3bc
mov eax, dword [0x101d8724]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x340], 0
cmp dword [ebp + 0xc], 0
jne 0x100be256
lea eax, [ebp - 0x1dc]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov cl, byte [0x101a0fc1]
mov byte [ebp - 0x2e4], cl
push 0x103
push 0
lea edx, [ebp - 0x2e3]
push edx
call fcn.1014e270
add esp, 0xc
mov eax, dword [0x101db620]
mov dword [ebp - 0x344], eax
push 0x104
lea ecx, [ebp - 0x2e4]
push ecx
mov edx, dword [ebp - 0x344]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x1dc]
push eax
call fcn.1014e8a0
add esp, 4
push eax
lea ecx, [ebp - 0x2e4]
push ecx
lea edx, [ebp - 0x1dc]
push edx
call fcn.10164467
add esp, 0xc
test eax, eax
je 0x100be251
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x1dc]
push ecx
call fcn.1014e940
add esp, 8
lea edx, [ebp - 0x1dc]
push edx
mov ecx, dword [ebp + 8]
call fcn.10083da0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x340]
or eax, 1
mov dword [ebp - 0x340], eax
mov eax, dword [ebp + 8]
jmp 0x100be683
jmp 0x100be65d
cmp dword [ebp + 0xc], 3
jne 0x100be2a3
movzx ecx, byte [ebp + 0x14]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.100ba850
add esp, 8
mov dword [ebp - 0x398], eax
mov eax, dword [ebp - 0x398]
mov dword [ebp - 0x39c], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x340]
or ecx, 2
mov dword [ebp - 0x340], ecx
mov edx, dword [ebp - 0x39c]
mov dword [ebp - 0x3a0], edx
jmp 0x100be2e8
movzx eax, byte [ebp + 0x14]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.100bab20
add esp, 8
mov dword [ebp - 0x3a4], eax
mov edx, dword [ebp - 0x3a4]
mov dword [ebp - 0x3a8], edx
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x340]
or eax, 4
mov dword [ebp - 0x340], eax
mov ecx, dword [ebp - 0x3a8]
mov dword [ebp - 0x3a0], ecx
mov edx, dword [ebp - 0x3a0]
mov dword [ebp - 0x320], edx
mov eax, dword [ebp - 0x320]
push eax
lea ecx, [ebp - 0x300]
call fcn.10083e30
mov dword [ebp - 4], 3
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x340]
and ecx, 4
je 0x100be336
and dword [ebp - 0x340], 0xfffffffb
mov byte [ebp - 4], 6
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x48]
call fcn.10083eb0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x340]
and edx, 2
je 0x100be35c
and dword [ebp - 0x340], 0xfffffffd
mov byte [ebp - 4], 8
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
call fcn.10083eb0
xor eax, eax
cmp dword [ebp - 0x2f0], 0
sete al
movzx ecx, al
test ecx, ecx
jne 0x100be63c
cmp dword [ebp + 0xc], 1
jne 0x100be510
lea ecx, [ebp - 0x33c]
call fcn.1009f100
mov byte [ebp - 4], 9
mov byte [ebp - 4], 7
lea edx, [ebp - 0x33c]
mov dword [ebp - 0x3ac], edx
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x300]
call fcn.100c2030
mov dword [ebp - 0x3b0], eax
mov ecx, dword [ebp - 0x3b0]
mov dword [ebp - 0x3b4], ecx
mov byte [ebp - 4], 0xb
push 0x3a
mov edx, dword [ebp - 0x3b4]
push edx
lea eax, [ebp - 0x9c]
push eax
call fcn.100c1ba0
add esp, 0xc
mov dword [ebp - 0x3b8], eax
mov ecx, dword [ebp - 0x3b8]
mov dword [ebp - 0x3bc], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x3bc]
push eax
lea ecx, [ebp - 0xb8]
push ecx
call fcn.100c2340
add esp, 0xc
mov dword [ebp - 0x3c0], eax
mov edx, dword [ebp - 0x3c0]
mov dword [ebp - 0x35c], edx
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x64]
call fcn.1009f100
mov byte [ebp - 4], 0xe
call fcn.10149a80
mov eax, dword [eax]
mov dword [ebp - 0x358], eax
mov ecx, dword [ebp - 0x358]
push ecx
lea edx, [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x35c]
push eax
call fcn.100c1cb0
add esp, 0xc
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x3c4], ecx
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x3ac]
push edx
mov ecx, dword [ebp - 0x3c4]
call fcn.10149c60
mov dword [ebp - 0x360], eax
mov eax, dword [0x101a1a18]
push eax
push 0
mov ecx, dword [ebp - 0x360]
push ecx
lea ecx, [ebp - 0x300]
call fcn.10085bd0
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 0x11
push 0
push 1
lea ecx, [ebp - 0x64]
call fcn.10085cf0
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 0x12
push 0
push 1
lea ecx, [ebp - 0xb8]
call fcn.10042350
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 0x13
push 0
push 1
lea ecx, [ebp - 0x9c]
call fcn.10042350
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0x14
push 0
push 1
lea ecx, [ebp - 0x80]
call fcn.10042350
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 0x16
push 0
push 1
lea ecx, [ebp - 0x33c]
call fcn.10085cf0
mov byte [ebp - 4], 7
jmp 0x100be533
call fcn.10149a80
mov edx, dword [eax]
mov dword [ebp - 0x364], edx
mov eax, dword [ebp - 0x364]
push eax
lea ecx, [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x300]
call fcn.100c1df0
lea edx, [ebp - 0x31c]
push edx
lea ecx, [ebp - 0x300]
call fcn.100c2030
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x30c]
mov dword [ebp - 0x368], eax
cmp dword [ebp - 0x368], 0x104
jae 0x100be625
push 0x104
push 0
lea ecx, [ebp - 0x1dc]
push ecx
call fcn.1014e270
add esp, 0xc
mov edx, dword [ebp - 0x30c]
mov dword [ebp - 0x36c], edx
cmp dword [ebp - 0x308], 0x10
jb 0x100be59e
mov eax, dword [ebp - 0x31c]
mov dword [ebp - 0x3c8], eax
jmp 0x100be5aa
lea ecx, [ebp - 0x31c]
mov dword [ebp - 0x3c8], ecx
mov edx, dword [ebp - 0x36c]
add edx, 1
push edx
mov eax, dword [ebp - 0x3c8]
push eax
lea ecx, [ebp - 0x1dc]
push ecx
call fcn.1014c8e0
add esp, 0xc
lea edx, [ebp - 0x1dc]
push edx
mov ecx, dword [ebp + 8]
call fcn.10083da0
mov eax, dword [ebp - 0x340]
or eax, 1
mov dword [ebp - 0x340], eax
mov byte [ebp - 4], 0x18
push 0
push 1
lea ecx, [ebp - 0x31c]
call fcn.10042350
mov byte [ebp - 4], 7
mov dword [ebp - 4], 0x19
mov dword [ebp - 4], 0x1a
push 0
push 1
lea ecx, [ebp - 0x300]
call fcn.10085cf0
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
jmp 0x100be683
mov byte [ebp - 4], 0x1b
push 0
push 1
lea ecx, [ebp - 0x31c]
call fcn.10042350
mov byte [ebp - 4], 7
mov dword [ebp - 4], 0x1c
mov dword [ebp - 4], 0x1d
push 0
push 1
lea ecx, [ebp - 0x300]
call fcn.10085cf0
mov byte [ebp - 4], 0
push 0x101a0fc1
mov ecx, dword [ebp + 8]
call fcn.10083da0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x340]
or ecx, 1
mov dword [ebp - 0x340], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014c68a
mov esp, ebp
pop ebp
ret