Function at 0x409240
Capabilities:
Check for software breakpoints
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x144
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x18], 0
push edi
mov ebx, edx
mov dword [esp + 0x34], esi
lea eax, [esp + 0x50]
mov dword [esp + 0x20], 0
push eax
mov ecx, ebx
mov dword [esp + 0x28], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.00403210
mov edi, eax
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x38]
cmp eax, edi
je 0x4092f2
mov ecx, eax
call fcn.00406ba0
mov eax, dword [edi]
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x40], eax
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
lea ecx, [esp + 0x50]
call fcn.00406ba0
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x30]
je 0x4096ab
xor edi, edi
nop dword [eax + eax]
push dword [ebx]
mov edx, dword [eax]
lea ecx, [esp + 0x78]
call fcn.00402cc0
mov esi, eax
lea eax, [esp + 0x1c]
cmp eax, esi
je 0x40935a
mov ecx, eax
call fcn.00406c10
mov eax, dword [esi]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 8]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [esp + 0x74]
call fcn.00406c10
mov esi, dword [esp + 0x1c]
cmp esi, edi
je 0x409692
nop
xor eax, eax
cmp byte [esi], al
je 0x40937d
inc eax
cmp byte [eax + esi], 0
jne 0x409376
xor edx, edx
mov edi, 0x811c9dc5
test eax, eax
je 0x409399
movzx ecx, byte [edx + esi]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, eax
jb 0x409388
mov ecx, 0x811c9dc5
xor edx, edx
movzx eax, byte [edx + str.CreateInterface]
xor eax, ecx
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 0x412391]
xor ecx, eax
movzx eax, byte [edx + 0x412392]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0x412393]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0x412394]
imul ecx, ecx, 0x1000193
add edx, 5
xor ecx, eax
imul ecx, ecx, 0x1000193
cmp edx, 0xf
jb 0x4093a0
cmp edi, ecx
jne 0x409429
push ecx
mov ecx, dword [ebx]
lea edx, [esp + 0x60]
push 0xc
push 0
push dword [esi + 0x100]
call fcn.0040ca50
cmp byte [esp + 0x5c], 0x55
jne 0x409429
cmp byte [esp + 0x60], 0xe9
jne 0x409429
cmp byte [esp + 0x65], 0xcc
jne 0x409429
cmp byte [esp + 0x66], 0xcc
je 0x40943e
add esi, 0x108
cmp esi, dword [esp + 0x20]
jne 0x409370
jmp 0x40968e
mov esi, dword [esi + 0x100]
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [ebx]
add esi, 4
push 4
push 0
mov dword [esp + 0x24], 0
lea eax, [esi + 1]
push eax
call fcn.0040ca50
mov eax, dword [esp + 0x18]
add eax, 5
add esi, eax
je 0x40968e
push ecx
mov ecx, dword [ebx]
lea edx, [esp + 0x54]
push 0xc
push 0
push esi
call fcn.0040ca50
cmp byte [esp + 0x50], 0x55
jne 0x40968e
cmp byte [esp + 0x54], 0x8b
jne 0x40968e
cmp byte [esp + 0x5a], 0x57
jne 0x40968e
push ecx
mov ecx, dword [ebx]
lea eax, [esi + 6]
push 4
push 0
push eax
lea edx, [esp + 0x3c]
mov dword [esp + 0x3c], 0
call fcn.0040ca50
push ecx
mov ecx, dword [ebx]
lea edx, [esp + 0x1c]
push 4
push 0
push dword [esp + 0x38]
mov dword [esp + 0x28], 0
call fcn.0040ca50
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40968e
push ecx
mov ecx, dword [ebx]
lea edx, [esp + 0x48]
push 0xc
push 0
xorps xmm0, xmm0
mov dword [esp + 0x58], 0
push eax
movq qword [esp + 0x54], xmm0
call fcn.0040ca50
nop word [eax + eax]
push 0x40
lea eax, [esp + 0x84]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebx]
lea edx, [esp + 0x8c]
add esp, 8
push 0x40
push 0
push dword [esp + 0x54]
call fcn.0040ca50
push 0x40
lea eax, [esp + 0xd0]
mov byte [esp + 0xc3], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x110]
push 0x40
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x38]
add esp, 8
mov dword [esp + 0x30], 0
movups xmm0, xmmword [ecx + 0x10]
mov eax, dword [ecx]
mov dword [esp + 0x110], eax
movups xmmword [esp + 0x114], xmm0
mov eax, dword [esp + 0x48]
movups xmm0, xmmword [ecx + 0x20]
push 4
inc eax
movups xmmword [esp + 0x128], xmm0
push 0
movups xmm0, xmmword [ecx + 0x30]
push eax
movups xmmword [esp + 0x140], xmm0
movups xmm0, xmmword [ecx + 0x40]
mov ecx, dword [ebx]
movups xmmword [esp + 0x150], xmm0
movups xmm0, xmmword [esp + 0x90]
movups xmmword [esp + 0xdc], xmm0
movups xmm0, xmmword [esp + 0xa0]
movups xmmword [esp + 0xec], xmm0
movups xmm0, xmmword [esp + 0xb0]
movups xmmword [esp + 0xfc], xmm0
movups xmm0, xmmword [esp + 0xc0]
movups xmmword [esp + 0x10c], xmm0
call fcn.0040ca50
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc8], eax
mov eax, dword [edx + 4]
cmp eax, dword [edx + 8]
je 0x409634
mov ecx, 0x22
lea esi, [esp + 0xc8]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
add dword [edx + 4], 0x88
jmp 0x409644
lea ecx, [esp + 0xc8]
push ecx
push eax
mov ecx, edx
call fcn.004070e0
push ecx
mov ecx, dword [ebx]
lea edx, [esp + 0x6c]
push 0xc
push 0
push dword [esp + 0x58]
xorps xmm0, xmm0
mov dword [esp + 0x80], 0
movq qword [esp + 0x78], xmm0
call fcn.0040ca50
mov eax, dword [esp + 0x70]
movq xmm0, qword [esp + 0x68]
movq qword [esp + 0x44], xmm0
mov dword [esp + 0x4c], eax
cmp dword [esp + 0x18], eax
je 0x40968e
test eax, eax
jne 0x409510
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
add eax, 0x58
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x30]
jne 0x409310
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x38]
call fcn.00406ba0
lea ecx, [esp + 0x1c]
call fcn.00406c10
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret