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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009651c
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
push ebx
push esi
push edi
mov eax, dword [0x100be084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
movzx eax, word [edi + 0x138]
xor ecx, ecx
movzx edx, word [edi + 0x136]
movaps xmm0, xmmword [0x100b2e50]
push eax
mov word [edi + 0x13e], dx
mov word [edi + 0x140], ax
push edx
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x3c], 0x367b3a37
mov byte [ebp - 0x38], 0
mov al, byte [ebp - 0x4c]
xor byte [ebp + ecx - 0x4b], al
inc ecx
cmp ecx, 0x13
jb 0x100311a6
sub esp, 0x18
mov byte [ebp - 0x38], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x100311d4
mov eax, dword [edx]
jmp 0x100311d6
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x4b], 0
jne 0x100311e3
xor ecx, ecx
jmp 0x100311f9
lea ecx, [ebp - 0x4b]
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100311f0
sub ecx, esi
push ecx
lea eax, [ebp - 0x4b]
mov ecx, edx
push eax
call fcn.100055d0
lea eax, [ebp - 0xac]
push eax
call fcn.10004f40
add esp, 0x24
mov edx, eax
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 0x10
jb 0x10031225
mov edx, dword [edx]
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
cmp byte [edx], 0
jne 0x10031240
xor ecx, ecx
jmp 0x1003124e
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10031245
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x64]
call fcn.100055d0
mov byte [ebp - 4], 1
mov esi, dword [edi + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test esi, esi
je 0x1003127e
push 4
push esi
call ebx
test eax, eax
jne 0x1003127e
lea eax, [ebp - 0x64]
mov ecx, esi
push eax
call dword [0x100b0938]
mov eax, dword [ebp - 0x50]
cmp eax, 0x10
jb 0x10031293
inc eax
lea ecx, [ebp - 0x64]
push eax
push dword [ebp - 0x64]
call fcn.10005480
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
cmp eax, 0x10
jb 0x100312ca
inc eax
lea ecx, [ebp - 0xac]
push eax
push dword [ebp - 0xac]
call fcn.10005480
lea ecx, [edi + 0x12a]
mov dword [ebp - 0x98], 0xf
mov edx, 3
mov dword [ebp - 0x9c], 0
mov byte [ebp - 0xac], 0
lea esi, [edi + 0x44]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edx
nop dword [eax]
movzx eax, word [ecx - 6]
mov dword [esi], eax
mov ax, word [ecx]
mov word [esi + 4], ax
mov al, byte [edi + 0x13b]
mov byte [esi + 6], al
mov eax, dword [esi]
test eax, eax
je 0x10031329
push eax
call dword [0x100b0890]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
test eax, eax
je 0x1003151d
movzx eax, word [esi + 4]
mov cl, 6
push eax
mov dword [ebp - 0x34], 0x68734e06
xor eax, eax
mov dword [ebp - 0x30], 0x262b2672
mov dword [ebp - 0x2c], 0x26292636
mov word [ebp - 0x28], 0x6223
mov byte [ebp - 0x26], 0
nop dword [eax]
xor byte [ebp + eax - 0x33], cl
inc eax
cmp eax, 0xd
jae 0x1003136f
mov cl, byte [ebp - 0x34]
jmp 0x10031360
sub esp, 0x18
mov byte [ebp - 0x26], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x10031390
mov eax, dword [edx]
jmp 0x10031392
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x33], 0
jne 0x1003139f
xor ecx, ecx
jmp 0x100313ae
lea ecx, [ebp - 0x33]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100313a5
sub ecx, edi
push ecx
lea eax, [ebp - 0x33]
mov ecx, edx
push eax
call fcn.100055d0
lea eax, [ebp - 0xc4]
push eax
call fcn.10004f40
add esp, 0x20
mov edx, eax
mov dword [ebp - 4], 2
cmp dword [edx + 0x14], 0x10
jb 0x100313da
mov edx, dword [edx]
mov dword [ebp - 0x68], 0xf
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x7c], 0
cmp byte [edx], 0
jne 0x100313f5
xor ecx, ecx
jmp 0x10031409
mov ecx, edx
lea edi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10031400
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x7c]
call fcn.100055d0
mov byte [ebp - 4], 3
mov edi, dword [esi + 0xc]
test edi, edi
je 0x10031433
push 4
push edi
call ebx
test eax, eax
jne 0x10031433
lea eax, [ebp - 0x7c]
mov ecx, edi
push eax
call dword [0x100b0938]
mov eax, dword [ebp - 0x68]
cmp eax, 0x10
jb 0x10031448
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.10005480
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x68], 0xf
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x7c], 0
cmp eax, 0x10
jb 0x1003147f
inc eax
lea ecx, [ebp - 0xc4]
push eax
push dword [ebp - 0xc4]
call fcn.10005480
mov edi, dword [esi + 0xc]
mov dword [ebp - 0xb0], 0xf
mov dword [ebp - 0xb4], 0
mov byte [ebp - 0xc4], 0
test edi, edi
je 0x100314b4
push 4
push edi
call ebx
test eax, eax
jne 0x100314b4
push 0xffffffffffffffff
mov ecx, edi
call dword [0x100b0940]
movzx eax, word [esi + 4]
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
test edi, edi
je 0x10031713
push 4
push edi
call ebx
test eax, eax
jne 0x10031713
push 4
lea ebx, [edi + 0x128]
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003170d
lea eax, [edi + 0x124]
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003170d
mov eax, dword [ebp - 0x1c]
mov ecx, edi
mov dword [ebx], 0
mov dword [edi + 0x124], eax
call dword [0x100b0924]
jmp 0x1003170d
cmp dword [esi], 1
jne 0x1003171c
cmp byte [esi + 6], 0
je 0x1003171c
movzx eax, word [esi + 4]
mov dh, 0x70
push eax
mov cl, 0x50
mov byte [ebp - 0x24], dh
mov dl, 0x5f
mov byte [ebp - 0x1d], 0
xor dl, dh
mov byte [ebp - 0x1d], 0
mov bl, cl
mov byte [ebp - 0x21], dl
mov al, 0x40
mov ah, 0x55
mov ch, 0x14
xor al, dh
xor cl, dh
mov byte [ebp - 0x23], al
xor bl, dh
mov byte [ebp - 0x22], cl
xor ah, dh
mov byte [ebp - 0x20], bl
xor ch, dh
mov byte [ebp - 0x1f], ah
sub esp, 0x18
mov byte [ebp - 0x1e], ch
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x10031589
mov eax, dword [edx]
jmp 0x1003158b
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x23], 0
jne 0x10031598
xor ecx, ecx
jmp 0x100315a9
lea ecx, [ebp - 0x23]
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100315a0
sub ecx, edi
push ecx
lea eax, [ebp - 0x23]
mov ecx, edx
push eax
call fcn.100055d0
lea eax, [ebp - 0xdc]
push eax
call fcn.10004f40
add esp, 0x20
mov edx, eax
mov dword [ebp - 4], 4
cmp dword [edx + 0x14], 0x10
jb 0x100315d5
mov edx, dword [edx]
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], 0
mov byte [ebp - 0x94], 0
cmp byte [edx], 0
jne 0x100315f6
xor ecx, ecx
jmp 0x10031609
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10031600
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x94]
call fcn.100055d0
mov byte [ebp - 4], 5
mov edi, dword [esi + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test edi, edi
je 0x1003163f
push 4
push edi
call ebx
test eax, eax
jne 0x1003163f
lea eax, [ebp - 0x94]
mov ecx, edi
push eax
call dword [0x100b0938]
mov eax, dword [ebp - 0x80]
cmp eax, 0x10
jb 0x1003165a
inc eax
lea ecx, [ebp - 0x94]
push eax
push dword [ebp - 0x94]
call fcn.10005480
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], 0
mov byte [ebp - 0x94], 0
cmp eax, 0x10
jb 0x10031697
inc eax
lea ecx, [ebp - 0xdc]
push eax
push dword [ebp - 0xdc]
call fcn.10005480
mov edi, dword [esi + 0xc]
mov dword [ebp - 0xc8], 0xf
mov dword [ebp - 0xcc], 0
mov byte [ebp - 0xdc], 0
test edi, edi
je 0x100316cc
push 4
push edi
call ebx
test eax, eax
jne 0x100316cc
push 0xffffffffffffffff
mov ecx, edi
call dword [0x100b0940]
movzx eax, word [esi + 4]
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
test edi, edi
je 0x10031713
push 4
push edi
call ebx
test eax, eax
jne 0x10031713
push 4
lea ebx, [edi + 0x128]
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003170d
lea eax, [edi + 0x124]
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x10031501
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov edi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add ecx, 2
add esi, 0x18
sub edx, 1
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edx
jne 0x10031300
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret