Function at 0x100961d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10101966
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xb8
mov eax, dword [0x1017b040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x101ac4d4]
mov edi, dword [0x101050d4]
mov dword [ebp - 0x90], eax
xor eax, eax
push str.opengl32.dll
mov dword [ebp - 0x9c], eax
call edi
mov esi, eax
test esi, esi
je 0x10096265
push esi
push str.___OpenGL32:_ImageBase:_0x_p_n
call fcn.100165a0
add esp, 8
push str.wglSwapBuffers
push esi
call dword [0x1010511c]
push eax
push str.___fnWglSwapBuffers:_0x_p_n
mov dword [ebp - 0x9c], eax
call fcn.100165a0
add esp, 8
push str.Begin_CreateDeviceD3D11_n
call fcn.100165a0
add esp, 4
push str.Begin_CreateWindowA_n
call fcn.100165a0
add esp, 4
push 0
call edi
xorps xmm0, xmm0
mov dword [0x101ab8f4], 0x30
push 0x101ab8f4
mov dword [0x101ab8f8], 0x40
mov dword [0x101ab8fc], 0x10095f90
mov dword [0x101ab900], 0
mov dword [0x101ab904], 0
mov dword [0x101ab908], eax
movups xmmword [0x101ab90c], xmm0
mov dword [0x101ab91c], 0x10170444
mov dword [0x101ab920], 0
call dword [0x10105368]
push 0
push dword [0x101ab908]
push 0
push 0
push 0x12c
push 0x12c
push 0x64
push 0x64
push 0xcf0000
push 0
push str.Untitled___Notepad
push 0
call dword [0x10105360]
mov esi, eax
push 0x32
mov dword [0x101ab9a4], esi
call dword [0x101050dc]
push str.Create_the_D3DDevice_n
call fcn.100165a0
add esp, 4
mov dword [ebp - 0x68], 0
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
movlpd qword [ebp - 0x88], xmm0
movlpd qword [ebp - 0x74], xmm0
push str.Begin_D3D11CreateDeviceAndSwapChain_n
mov dword [ebp - 0x50], 2
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x60], 2
mov dword [ebp - 0x80], 0x3c
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x78], 0x1c
mov dword [ebp - 0x64], 0x20
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x1c], 0xb000
mov dword [ebp - 0x18], 0xa000
call fcn.100165a0
add esp, 4
lea eax, [ebp - 0x88]
push 0
push 0
push 0x101ac4c8
push 0x101ac4bc
push eax
push 7
push 2
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 1
push 0
call dword [0x101056a0]
test eax, eax
je 0x10096589
cmp byte [0x10170b5d], 0
movups xmm0, xmmword [str.pFPWC__MU_s]
mov ax, word [0x10170b5c]
mov word [ebp - 0xac], ax
movups xmmword [ebp - 0xc4], xmm0
movq xmm0, qword [0x10170b54]
movq qword [ebp - 0xb4], xmm0
je 0x10096571
xor edx, edx
cmp dword [0x101ab6b0], 2
mov dword [ebp - 0x44], edx
jl 0x10096540
movaps xmm0, xmmword [0x101719a0]
movaps xmm4, xmmword [0x101717f0]
movaps xmm3, xmmword [0x10171ee0]
movaps xmm5, xmmword [0x10171840]
movaps xmm6, xmmword [0x10171900]
movaps xmmword [ebp - 0x40], xmm0
mov ecx, dword [ebp - 0x40]
nop dword [eax]
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [ebp + edx - 0xc4]
xorps xmm2, xmm0
movd xmm0, eax
movd dword [ebp + edx - 0xc4], xmm2
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [ebp + edx - 0xc0]
xorps xmm2, xmm0
movd dword [ebp + edx - 0xc0], xmm2
add edx, 8
cmp edx, 0x18
jl 0x10096450
mov dword [ebp - 0x44], edx
cmp edx, 0x1a
jge 0x10096571
nop dword [eax]
mov eax, 0x4bda12f7
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x44]
movsx eax, al
mov cl, dl
imul eax, eax, 0x36
sub cl, al
add cl, 0x33
xor byte [ebp + edx - 0xc4], cl
inc edx
mov dword [ebp - 0x44], edx
cmp edx, 0x1a
jl 0x10096540
push 0x10
push 0
lea eax, [ebp - 0xc4]
push eax
push 0
call dword [0x101053d0]
jmp 0x10096ae0
cmp dword [0x101ac4c8], 0
je 0x10096ae0
push str.___GetCurrentContext_n
call fcn.100165a0
add esp, 4
cmp dword [0x101ab8cc], 0
jne 0x10096ae0
push str.___CreateContext_n
call fcn.100165a0
mov esi, dword [0x101ab8cc]
add esp, 4
test esi, esi
je 0x100965cd
inc dword [esi + 0xb0]
mov edi, dword [0x10105528]
push 0x5bf0
call edi
lea ecx, [ebp - 0x89]
mov dword [ebp - 0x18], eax
add esp, 4
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x94], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x10096608
push 0
mov ecx, eax
call fcn.100466b0
jmp 0x1009660a
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x101ab8cc], eax
call fcn.1004a910
test esi, esi
je 0x10096625
mov dword [0x101ab8cc], esi
push str.___ImGui_ImplWin32_Init_n
call fcn.100165a0
mov esi, dword [0x101ab8cc]
lea eax, [ebp - 0x28]
add esp, 4
push eax
call dword [0x10105150]
test eax, eax
je 0x10096753
lea eax, [ebp - 0x38]
push eax
call dword [0x10105158]
test eax, eax
je 0x10096753
mov eax, dword [0x101ab8cc]
test eax, eax
je 0x1009666b
inc dword [eax + 0xb0]
push 0x38
call edi
mov edi, eax
add esp, 4
test edi, edi
je 0x10096687
push 0x38
push 0
push edi
call fcn.100fe07e
add esp, 0xc
jmp 0x10096689
xor edi, edi
or dword [esi + 0xc], 6
mov edx, dword [ebp - 0x90]
mov dword [esi + 0x74], edi
mov dword [esi + 0x6c], 0x1016f9a4
xor esi, esi
mov dword [edi], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
mov dword [edi + 0x10], eax
mov eax, dword [0x101ab8cc]
mov dword [edi + 0x14], ecx
mov dword [edi + 0x20], 9
mov dword [ebp - 0xc0], str.xinput1_4.dll
mov eax, dword [eax + 0x47a4]
mov dword [ebp - 0xbc], str.xinput1_3.dll
mov dword [ebp - 0xb8], str.xinput9_1_0.dll
mov dword [ebp - 0xb4], str.xinput1_2.dll
mov eax, dword [eax]
mov dword [ebp - 0xb0], str.xinput1_1.dll
mov dword [eax + 0x24], edx
mov byte [edi + 0x25], 1
nop word [eax + eax]
push dword [ebp + esi*4 - 0xc0]
call dword [0x10105118]
mov dword [ebp - 0x90], eax
test eax, eax
jne 0x1009672f
inc esi
cmp esi, 5
jl 0x10096710
jmp 0x10096753
mov esi, dword [0x1010511c]
push str.XInputGetCapabilities
push eax
mov dword [edi + 0x28], eax
call esi
push str.XInputGetState
push dword [ebp - 0x90]
mov dword [edi + 0x2c], eax
call esi
mov dword [edi + 0x30], eax
mov eax, dword [0x101ab8cc]
lea edx, [ebp - 0x48]
push edx
push 0x1016f974
mov dword [eax + 0x24], 0
mov dword [eax + 0x20], 0
mov eax, dword [0x101ac4c8]
mov dword [ebp - 0x48], 0
push eax
mov ecx, dword [eax]
call dword [ecx]
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x4c]
push edx
mov dword [ebp - 0x4c], 0
push 0x1016f994
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x10096ae0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [0x101ac4bc]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov edx, dword [eax + 0x3c]
mov edi, dword [eax + 0x28]
mov dword [ebp - 0xa0], edx
mov edx, dword [eax + 0x40]
mov eax, dword [eax + 0x60]
mov dword [ebp - 0xa8], eax
mov eax, dword [ecx + 0x58]
mov dword [ebp - 0x94], eax
mov eax, dword [ecx + 0x34]
mov dword [ebp - 0x98], eax
mov eax, dword [ecx + 0x9c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0x90], eax
call fcn.10096b00
mov eax, dword fs:[0x2c]
mov ecx, dword [0x101ab6a8]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x101ac574]
cmp eax, dword [esi + 4]
jle 0x10096870
push 0x101ac574
call fcn.100fc9b9
add esp, 4
cmp dword [0x101ac574], 0xffffffff
jne 0x10096870
push 0x101ac4ac
mov edx, 0x10096020
mov ecx, edi
call fcn.10091ac0
push 0x101ac574
call fcn.100fc968
add esp, 4
mov eax, dword [0x101ac564]
cmp eax, dword [esi + 4]
jle 0x100968b5
push 0x101ac564
call fcn.100fc9b9
add esp, 4
cmp dword [0x101ac564], 0xffffffff
jne 0x100968b5
mov ecx, dword [ebp - 0xa0]
mov edx, 0x10096050
push 0x101ac4c4
call fcn.10091ac0
push 0x101ac564
call fcn.100fc968
add esp, 4
mov eax, dword [0x101ac568]
cmp eax, dword [esi + 4]
jle 0x100968fa
push 0x101ac568
call fcn.100fc9b9
add esp, 4
cmp dword [0x101ac568], 0xffffffff
jne 0x100968fa
mov ecx, dword [ebp - 0xa4]
mov edx, 0x10096080
push 0x101ac4c0
call fcn.10091ac0
push 0x101ac568
call fcn.100fc968
add esp, 4
mov eax, dword [0x101ac55c]
cmp eax, dword [esi + 4]
jle 0x1009693f
push 0x101ac55c
call fcn.100fc9b9
add esp, 4
cmp dword [0x101ac55c], 0xffffffff
jne 0x1009693f
mov ecx, dword [ebp - 0xa8]
mov edx, 0x100960b0
push 0x101ac4a0
call fcn.10091ac0
push 0x101ac55c
call fcn.100fc968
add esp, 4
mov eax, dword [0x101ac560]
cmp eax, dword [esi + 4]
jle 0x10096984
push 0x101ac560
call fcn.100fc9b9
add esp, 4
cmp dword [0x101ac560], 0xffffffff
jne 0x10096984
mov ecx, dword [ebp - 0x94]
mov edx, 0x10095fa0
push 0x101ac4b0
call fcn.10091ac0
push 0x101ac560
call fcn.100fc968
add esp, 4
mov eax, dword [0x101ac68c]
cmp eax, dword [esi + 4]
jle 0x100969c9
push 0x101ac68c
call fcn.100fc9b9
add esp, 4
cmp dword [0x101ac68c], 0xffffffff
jne 0x100969c9
mov ecx, dword [ebp - 0x98]
mov edx, 0x10095fc0
push 0x101ac4b4
call fcn.10091ac0
push 0x101ac68c
call fcn.100fc968
add esp, 4
mov eax, dword [0x101ac578]
cmp eax, dword [esi + 4]
jle 0x10096a0e
push 0x101ac578
call fcn.100fc9b9
add esp, 4
cmp dword [0x101ac578], 0xffffffff
jne 0x10096a0e
mov ecx, dword [ebp - 0x90]
mov edx, 0x10095ff0
push 0x101ac4a4
call fcn.10091ac0
push 0x101ac578
call fcn.100fc968
add esp, 4
mov edi, dword [ebp - 0x9c]
push edi
push str.___OpenGL32:_fnWglSwapBuffers:_0x_p_n
call fcn.100165a0
add esp, 8
test edi, edi
je 0x10096a73
mov eax, dword [0x101ac570]
cmp eax, dword [esi + 4]
jle 0x10096a67
push 0x101ac570
call fcn.100fc9b9
add esp, 4
cmp dword [0x101ac570], 0xffffffff
jne 0x10096a67
push 0x101ac4b8
mov edx, 0x100960e0
mov ecx, edi
call fcn.10091ac0
push 0x101ac570
call fcn.100fc968
add esp, 4
mov edx, 1
mov ecx, edi
call fcn.10091d80
mov ecx, dword [ebp - 0x18]
mov edx, 1
call fcn.10091d80
mov ecx, dword [ebp - 0xa0]
mov edx, 1
call fcn.10091d80
mov ecx, dword [ebp - 0xa4]
mov edx, 1
call fcn.10091d80
mov ecx, dword [ebp - 0xa8]
mov edx, 1
call fcn.10091d80
mov ecx, dword [ebp - 0x94]
mov edx, 1
call fcn.10091d80
mov ecx, dword [ebp - 0x98]
mov edx, 1
call fcn.10091d80
mov ecx, dword [ebp - 0x90]
mov edx, 1
call fcn.10091d80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100fc92f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret