Function at 0x10031870
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10063386
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x10077604]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
push dword [ebx]
mov dword [ebp - 0x50], eax
call fcn.10012820
add esp, 4
test al, al
je 0x10031b61
cmp dword [ebp + 8], 0
je 0x10031b61
cmp dword [0x10077f2c], 0
je 0x10031b61
mov eax, dword [ebx]
mov eax, dword [eax + 0x314]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x10031b61
call fcn.1000d070
add ebx, 8
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x58], 0xc
nop word [eax + eax]
mov ecx, dword [ebx - 4]
test ecx, ecx
je 0x10031b51
push edx
push eax
push ecx
call fcn.100127f0
add esp, 0xc
test al, al
je 0x10031b4b
cmp byte [ebx + 4], 0
je 0x10031b4b
mov eax, dword [0x10077f2c]
mov ecx, dword [ebx]
push 0x2c
push ecx
cmp dword [eax + 0x44], ecx
jae 0x10031a3e
lea eax, [ebp - 0xac]
push eax
call fcn.1000e1e0
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 4], 0
jb 0x10031959
mov eax, dword [eax]
movaps xmm0, xmmword [0x10069c10]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x64], 0x80e041f
mov dword [ebp - 0x60], 0x484d574d
mov word [ebp - 0x5c], 0x1e
nop dword [eax + eax]
mov al, byte [ebp - 0x74]
xor byte [ebp + ecx - 0x73], al
inc ecx
cmp ecx, 0x18
jb 0x10031980
sub esp, 0x18
mov byte [ebp - 0x5b], 0
lea eax, [ebp - 0x73]
mov ecx, esp
push eax
call fcn.100017e0
lea eax, [ebp - 0x28]
push eax
call fcn.100322e0
add esp, 0x20
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 2
call fcn.10001840
cmp dword [ebp - 0x14], 0x10
lea ebx, [ebp - 0x28]
cmovae ebx, dword [ebp - 0x28]
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100319c8
sub ebx, ecx
lea esi, [ebx + 0x21]
push esi
call fcn.1005fa9a
push esi
mov edi, eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push ebx
cmovae ecx, dword [ebp - 0x28]
lea esi, [edi + 0x20]
push ecx
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x50]
mov dword [edi + 4], esi
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], 0x1f
push edi
mov dword [eax], edi
call fcn.1005faa3
mov eax, dword [ebp - 0x54]
push dword [eax + 0x144]
push dword [ebp + 8]
call fcn.100136a0
add esp, 0x28
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10001840
mov ebx, dword [ebp - 0x4c]
jmp 0x10031b4b
lea eax, [ebp - 0xc4]
push eax
call fcn.1000e1e0
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 4], 3
jb 0x10031a5c
mov eax, dword [eax]
movaps xmm0, xmmword [0x10069bf0]
push eax
movups xmmword [ebp - 0x90], xmm0
mov dword [ebp - 0x80], 0x393f352e
xor eax, eax
mov dword [ebp - 0x7c], 0x797c667c
mov word [ebp - 0x78], 0x2f
mov cl, byte [ebp - 0x90]
xor byte [ebp + eax - 0x8f], cl
inc eax
cmp eax, 0x18
jb 0x10031a81
sub esp, 0x18
mov byte [ebp - 0x77], 0
lea eax, [ebp - 0x8f]
mov ecx, esp
push eax
call fcn.100017e0
lea eax, [ebp - 0x40]
push eax
call fcn.100322e0
add esp, 0x20
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 5
call fcn.10001840
cmp dword [ebp - 0x2c], 0x10
lea ebx, [ebp - 0x40]
cmovae ebx, dword [ebp - 0x40]
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x10031ad2
sub ebx, ecx
lea esi, [ebx + 0x21]
push esi
call fcn.1005fa9a
push esi
mov edi, eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
push ebx
cmovae ecx, dword [ebp - 0x40]
lea esi, [edi + 0x20]
push ecx
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x50]
mov dword [edi + 4], esi
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], 0x1f
push edi
mov dword [eax], edi
call fcn.1005faa3
mov eax, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x4c]
push dword [eax + 0x140]
push dword [ebx]
call fcn.10031d70
push eax
push dword [ebp + 8]
call fcn.100136a0
add esp, 0x30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10001840
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
add ebx, 0xc
sub dword [ebp - 0x58], 1
mov dword [ebp - 0x4c], ebx
jne 0x10031900
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005f6be
mov esp, ebp
pop ebp
ret 8