Function at 0x10029510
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 [0x10122fc0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x100f85a0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x100f85a0
call esi
test eax, eax
jne 0x10029556
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xa
call edi
push 0x100f85a0
call esi
test eax, eax
je 0x10029547
push 0
mov dword [ebp - 0x84], 0x30
mov dword [ebp - 0x80], 0x40
mov dword [ebp - 0x7c], 0x10029380
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
call esi
mov dword [ebp - 0x70], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x84]
mov dword [ebp - 0x5c], 0x100f85ac
push eax
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x58], 0
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push dword [ebp - 0x70]
push 0
push 0
push 0x12c
push 0x12c
push 0x64
push 0x64
push 0xcf0000
push 0
push 0x100f85ac
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 0x28], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x14]
movlpd qword [ebp - 0x40], xmm0
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x20], 0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x2c], 1
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x54], 2
push eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x50], 2
push eax
push 7
push 1
lea eax, [ebp - 8]
mov dword [ebp - 0x44], 0x1c
push eax
push 0
push 0
push 1
push 0
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x30], 0x20
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x1c], 2
mov dword [ebp - 8], 0xb000
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call sub.d3d11.dll_D3D11CreateDeviceAndSwapChain
test eax, eax
jns 0x100297bb
movaps xmm0, xmmword [0x100f8650]
xor ecx, ecx
movups xmmword [ebp - 0xc0], xmm0
mov dword [ebp - 0xa0], 0x2f611469
movaps xmm0, xmmword [0x100f8640]
movups xmmword [ebp - 0xb0], xmm0
mov dword [ebp - 0x9c], 0x292d3026
mov dword [ebp - 0x98], 0x1006623
nop dword [eax + eax]
lea eax, [ecx + 0x1f]
xor byte [ebp + ecx - 0xc0], al
inc ecx
cmp ecx, 0x2a
jb 0x100296c0
mov eax, dword fs:[0x30]
mov byte [ebp - 0x95], 0
push ebx
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
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 0x1002976e
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x1002976e
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edx*4]
add ecx, ebx
nop
sub ecx, 4
dec edx
mov dword [ebp - 0x8c], ecx
mov edi, 0xc95ffede
mov dword [ebp - 0x88], edx
mov ecx, dword [ecx]
add ecx, ebx
mov bl, byte [ecx]
inc ecx
test bl, bl
je 0x10029761
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 0x10029730
cmp edi, 0x9790bdd
je 0x10029775
mov edx, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x8c]
mov ebx, dword [eax + 0x18]
test edx, edx
jne 0x10029710
mov eax, dword [eax]
jmp 0x100296e4
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.1009d019
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.1009d019
mov esp, ebp
pop ebp
ret