Function at 0x1001dfa0
Capabilities:
Access peb ldr_data
Encode data using xor
Get number of processors
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov eax, dword [0x10449004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push str.dxgi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.dxgi_dll_loaded_n
call fcn.10009d20
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add esp, 4
push str.dxgi.dll
call esi
test eax, eax
jne 0x1001dff3
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xa
call edi
push str.dxgi.dll
call esi
test eax, eax
je 0x1001dfe4
push str.got_it_n
call fcn.10009d20
add esp, 4
mov dword [ebp - 0x84], 0x30
mov dword [ebp - 0x80], 0x40
mov dword [ebp - 0x7c], 0x1001d850
mov dword [ebp - 0x78], 0
push 0
mov dword [ebp - 0x74], 0
call esi
mov dword [ebp - 0x70], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x84]
mov dword [ebp - 0x5c], 0x1015cacc
push eax
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x58], 0
call dword [sym.imp.USER32.dll_RegisterClassExA]
push str.wc_registered_n
call fcn.10009d20
add esp, 4
push 0
push dword [ebp - 0x70]
push 0
push 0
push 0x12c
push 0x12c
push 0x64
push 0x64
push 0xcf0000
push 0
push 0x1015cacc
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push str.window_created_n
mov esi, eax
call fcn.10009d20
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push str.memory_zeroed_n
movlpd qword [ebp - 0x40], xmm0
call fcn.10009d20
push str.x2gg_n
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x54], 2
mov dword [ebp - 0x50], 2
mov dword [ebp - 0x44], 0x1c
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x30], 0x20
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x24], 1
call fcn.10009d20
add esp, 0xc
mov dword [ebp - 0x1c], 2
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 0xb000
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push 7
push 1
lea eax, [ebp - 8]
push eax
push 0
push 0
push 1
push 0
call sub.d3d11.dll_D3D11CreateDeviceAndSwapChain
test eax, eax
jns 0x1001e29b
movaps xmm0, xmmword [0x1015cd20]
xor ecx, ecx
movups xmmword [ebp - 0xc0], xmm0
mov dword [ebp - 0xa0], 0xf1bbcecf
movaps xmm0, xmmword [0x1015cd10]
movups xmmword [ebp - 0xb0], xmm0
mov dword [ebp - 0x9c], 0xcff7eaf8
mov dword [ebp - 0x98], 0x1008cc5
lea eax, [ecx + 0x79]
xor byte [ebp + ecx - 0xc0], al
inc ecx
cmp ecx, 0x2a
jb 0x1001e192
mov eax, dword fs:[0x30]
mov byte [ebp - 0x95], 0
push ebx
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop word [eax + eax]
mov ebx, dword [eax + 0x18]
mov dword [ebp - 0x94], ebx
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ecx + ebx + 0x78]
add ecx, ebx
mov dword [ebp - 0x90], ecx
cmp ecx, ebx
je 0x1001e24e
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x1001e24e
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edx*4]
add ecx, ebx
nop dword [eax + eax]
sub ecx, 4
dec edx
mov dword [ebp - 0x8c], ecx
mov edi, 0xb22ca04d
mov dword [ebp - 0x88], edx
mov ecx, dword [ecx]
add ecx, ebx
mov bl, byte [ecx]
inc ecx
test bl, bl
je 0x1001e241
movsx esi, bl
lea ecx, [ecx + 1]
sub bl, 0x41
mov edx, esi
or edx, 0x20
cmp bl, 0x19
mov bl, byte [ecx - 1]
cmova edx, esi
xor edx, edi
imul edi, edx, 0x1000193
test bl, bl
jne 0x1001e210
cmp edi, 0x6b7635f2
je 0x1001e255
mov edx, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x8c]
mov ebx, dword [eax + 0x18]
test edx, edx
jne 0x1001e1f0
mov eax, dword [eax]
jmp 0x1001e1c0
mov esi, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x94]
mov eax, dword [esi + 0x24]
lea eax, [eax + ecx*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
lea ecx, [ebp - 0xc0]
add eax, edx
push ecx
call eax
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ab082
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
xor ecx, ebp
pop edi
pop esi
call fcn.100ab082
mov esp, ebp
pop ebp
ret