Function at 0x10041380
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, 0xc4
mov eax, dword [0x10863dc0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x101cce80
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x101cce80
call esi
test eax, eax
jne 0x100413c6
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xa
call edi
push 0x101cce80
call esi
test eax, eax
je 0x100413b7
push 0
mov dword [ebp - 0x84], 0x30
mov dword [ebp - 0x80], 0x40
mov dword [ebp - 0x7c], 0x10041050
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], 0x101cce8c
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 0x101cce8c
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 0x1004162a
movaps xmm0, xmmword [0x101ccf30]
lea ecx, [ebp - 0xc4]
movups xmmword [ebp - 0xc4], xmm0
mov dword [ebp - 0xa4], 0x1f512439
movaps xmm0, xmmword [0x101ccf40]
movups xmmword [ebp - 0xb4], xmm0
mov dword [ebp - 0xa0], 0x191d0016
mov dword [ebp - 0x9c], 0x1005613
call fcn.10041060
mov ecx, dword fs:[0x30]
mov dword [ebp - 0x98], eax
push ebx
mov ecx, dword [ecx + 0xc]
mov ecx, dword [ecx + 0xc]
nop word [eax + eax]
mov ebx, dword [ecx + 0x18]
mov dword [ebp - 0x94], ebx
mov edx, dword [ebx + 0x3c]
mov eax, dword [edx + ebx + 0x78]
add eax, ebx
mov dword [ebp - 0x90], eax
cmp eax, ebx
je 0x100415de
mov edx, dword [eax + 0x18]
test edx, edx
je 0x100415de
mov eax, dword [eax + 0x20]
lea eax, [eax + edx*4]
add eax, ebx
nop dword [eax + eax]
sub eax, 4
dec edx
mov dword [ebp - 0x8c], eax
mov edi, 0xe340bcde
mov dword [ebp - 0x88], edx
mov eax, dword [eax]
add eax, ebx
mov bl, byte [eax]
inc eax
test bl, bl
je 0x100415d1
movsx esi, bl
lea eax, [eax + 1]
sub bl, 0x41
mov edx, esi
or edx, 0x20
cmp bl, 0x19
mov bl, byte [eax - 1]
cmova edx, esi
xor edx, edi
imul edi, edx, 0x1000193
test bl, bl
jne 0x100415a0
cmp edi, 0x2263d9dd
je 0x100415e5
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x8c]
mov ebx, dword [ecx + 0x18]
test edx, edx
jne 0x10041580
mov ecx, dword [ecx]
jmp 0x10041550
mov esi, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x94]
push dword [ebp - 0x98]
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]
add eax, edx
call eax
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10107e25
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.10107e25
mov esp, ebp
pop ebp
ret