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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d4
movaps xmm0, xmmword [0x41b360]
push ebx
xor ebx, ebx
mov dword [ebp - 0x38], 0x4e6e6f72
push esi
push edi
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0x386b7e6b
mov ecx, ebx
mov word [ebp - 0x30], 0x6c6e
mov byte [ebp - 0x2e], bl
movsx eax, byte [ebp - 0x48]
and eax, 0x8000000f
jns 0x40d69d
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x47], al
inc ecx
cmp ecx, 0x19
jb 0x40d68d
mov edx, 0x498f0351
mov byte [ebp - 0x2e], bl
lea ecx, [ebp - 0x78]
call fcn.004146c6
lea ecx, [ebp - 0x47]
mov edx, eax
push ecx
lea ecx, [ebp - 0x90]
call fcn.00404203
pop ecx
lea ecx, [ebp - 0x78]
call fcn.00401a42
sub esp, 0x18
lea eax, [ebp - 0x90]
mov ecx, esp
push eax
call fcn.004025ee
call fcn.00414418
add esp, 0x18
test eax, eax
je 0x40d98c
push 0x48
call fcn.00418759
sub esp, 0x14
mov esi, eax
mov ecx, esp
xor eax, eax
mov edi, ecx
sub esp, 0x18
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x90]
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], 0xf
mov byte [ecx], bl
mov ecx, esp
push eax
call fcn.004025ee
lea eax, [ebp - 0xe]
mov ecx, esi
push eax
call fcn.004028cd
mov esi, eax
cmp byte [ebp - 0xe], bl
je 0x40d977
mov cl, 0x2f
mov dword [ebp - 0xd], 0x4840432f
mov dword [ebp - 9], 0x4c704146
mov eax, ebx
mov dword [ebp - 5], 0x4a474c4e
mov byte [ebp - 1], bl
xor byte [ebp + eax - 0xc], cl
inc eax
cmp eax, 0xb
jae 0x40d766
mov cl, byte [ebp - 0xd]
jmp 0x40d757
sub esp, 0x18
mov byte [ebp - 1], bl
lea eax, [ebp - 0xc]
mov ecx, esp
push eax
call fcn.00401a09
mov ecx, esi
call fcn.0040c723
test al, al
je 0x40d977
push 2
push ebx
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call fcn.0040ca6f
mov dword [ebp - 0x1c], eax
mov cl, 0x77
mov dword [ebp - 8], 0x16237d77
mov eax, ebx
mov dword [ebp - 4], 0x574d10
xor byte [ebp + eax - 7], cl
inc eax
cmp eax, 6
jae 0x40d7b8
mov cl, byte [ebp - 8]
jmp 0x40d7a9
push 1
push ebx
lea eax, [ebp - 0x120]
mov byte [ebp - 1], bl
push eax
mov ecx, esi
call fcn.0040ca6f
movaps xmm0, xmmword [0x41af20]
xor edx, edx
mov ebx, eax
mov ecx, edx
movups xmmword [ebp - 0x2c], xmm0
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0xe
jb 0x40d7dd
push edx
push edx
lea eax, [ebp - 0x108]
mov byte [ebp - 0x1d], dl
push eax
mov ecx, esi
call fcn.0040ca6f
mov edi, eax
mov dword [ebp - 0x16], 0x73675476
mov dl, 0x76
mov dword [ebp - 0x12], 0x26406b
xor ecx, ecx
movsx eax, dl
and eax, 0x8000000f
jns 0x40d820
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x15], al
inc ecx
cmp ecx, 6
jae 0x40d82f
mov dl, byte [ebp - 0x16]
jmp 0x40d811
push edi
lea edx, [ebp - 0x15]
mov byte [ebp - 0xf], 0
lea ecx, [ebp - 0xf0]
call fcn.00409d5a
pop ecx
lea ecx, [ebp - 0x2b]
mov edx, eax
push ecx
lea ecx, [ebp - 0xd8]
call fcn.00404203
pop ecx
push ebx
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.00409e67
lea eax, [ebp - 7]
push eax
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0xc0]
call fcn.00404203
pop ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x1c]
call fcn.00409e67
lea ecx, [ebp - 0xc0]
call fcn.00401a42
lea ecx, [ebp - 0xa8]
call fcn.00401a42
lea ecx, [ebp - 0xd8]
call fcn.00401a42
lea ecx, [ebp - 0xf0]
call fcn.00401a42
lea ecx, [ebp - 0x108]
call fcn.00401a42
lea ecx, [ebp - 0x120]
call fcn.00401a42
lea ecx, [ebp - 0x48]
call fcn.00401a42
movaps xmm0, xmmword [str._hNm]
xor ecx, ecx
movups xmmword [ebp - 0x2c], xmm0
movsx eax, byte [ebp - 0x2c]
and eax, 0x8000000f
jns 0x40d8f1
dec eax
or eax, 0xfffffff0
inc eax
sub byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0xe
jb 0x40d8e1
lea eax, [ebp - 0x2b]
mov byte [ebp - 0x1d], 0
push eax
mov edx, 0x41e7d0
lea ecx, [ebp - 0x78]
call fcn.004026c8
push ecx
push 2
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x1d0]
call fcn.00404fe7
cmp dword [ebp - 0x180], 0
je 0x40d950
cmp dword [ebp - 0x4c], 0xf
lea edx, [ebp - 0x60]
push dword [ebp - 0x50]
cmova edx, dword [ebp - 0x60]
lea ecx, [ebp - 0x1d0]
call fcn.00406fed
pop ecx
lea ecx, [ebp - 0x1d0]
call fcn.00404f93
lea ecx, [ebp - 0x168]
call fcn.00404fb4
lea ecx, [ebp - 0x168]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x78]
call fcn.00401a42
lea ecx, [ebp - 0x60]
call fcn.00401a42
test esi, esi
je 0x40d98c
mov ecx, esi
call fcn.0040324f
push 0x48
push esi
call fcn.004189da
pop ecx
pop ecx
lea ecx, [ebp - 0x90]
call fcn.00401a42
pop edi
pop esi
pop ebx
leave
ret