Function at 0x10001ff0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100539d0
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x10069018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x13c], esi
call dword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov dword [ebp - 0xcc], edx
lea ecx, [ebp - 0x120]
lea edx, [ebp - 0xd0]
mov dword [ebp - 0xd0], eax
call fcn.100040a0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
cmp byte [esi], 0
je 0x10002b58
cmp dword [0x1006aee8], 0
je 0x10002b6f
mov ah, 1
mov byte [ebp - 0x11b], 0
mov al, 0x6e
mov byte [ebp - 0x120], ah
mov bl, 0x52
mov byte [ebp - 0x11b], 0
mov dl, al
mov dword [ebp - 0x14], 0xf
mov cl, 0x6d
mov dword [ebp - 0x18], 0
xor bl, ah
mov byte [ebp - 0x28], 0
xor al, ah
mov byte [ebp - 0x11f], bl
xor cl, ah
mov byte [ebp - 0x11e], al
xor dl, ah
mov byte [ebp - 0x11d], cl
mov byte [ebp - 0x11c], dl
test bl, bl
jne 0x100020c2
xor ecx, ecx
jmp 0x100020d9
lea ecx, [ebp - 0x11f]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100020d0
sub ecx, edx
push ecx
lea eax, [ebp - 0x11f]
push eax
lea ecx, [ebp - 0x28]
call fcn.100048e0
mov dword [ebp - 4], 0
mov al, byte [esi + 1]
cmp al, 1
jne 0x10002221
cmp byte [esi + 3], 0
jne 0x100021a5
mov byte [ebp - 0xdc], 0x68
mov al, 0xd
xor al, byte [ebp - 0xdc]
xor bl, bl
mov bh, 0x25
mov byte [ebp - 0xda], al
mov al, byte [ebp - 0xdc]
mov cl, 0x1a
xor bh, byte [ebp - 0xdc]
mov dl, 0xb
mov ah, 9
mov byte [ebp - 0xd3], bl
mov ch, 6
mov byte [ebp - 0xdb], bh
mov dh, 0x1c
mov byte [ebp - 0xd3], 0
xor cl, al
xor dl, al
xor bl, al
mov byte [ebp - 0xd9], cl
xor ah, al
mov byte [ebp - 0xd8], dl
xor ch, al
mov byte [ebp - 0xd7], bl
xor dh, al
mov byte [ebp - 0xd6], ah
mov byte [ebp - 0xd5], ch
mov byte [ebp - 0xd4], dh
test bh, bh
jne 0x10002188
xor ecx, ecx
lea eax, [ebp - 0xdb]
jmp 0x1000228f
lea ecx, [ebp - 0xdb]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002191
sub ecx, edx
lea eax, [ebp - 0xdb]
jmp 0x1000228f
cmp al, 1
jne 0x10002221
cmp byte [esi + 3], 0
jle 0x10002299
movaps xmm0, xmmword [0x10061a20]
xor ecx, ecx
movups xmmword [ebp - 0x130], xmm0
nop dword [eax]
nop word [eax + eax]
mov al, byte [ebp - 0x130]
xor byte [ebp + ecx - 0x12f], al
inc ecx
cmp ecx, 0xe
jb 0x100021d0
cmp byte [ebp - 0x12f], 0
mov byte [ebp - 0x121], 0
jne 0x10002200
xor ecx, ecx
lea eax, [ebp - 0x12f]
jmp 0x1000228f
lea ecx, [ebp - 0x12f]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002210
sub ecx, edx
lea eax, [ebp - 0x12f]
jmp 0x1000228f
cmp byte [esi + 3], 0
jle 0x10002299
mov ch, 0x6e
mov byte [ebp - 0xca], 0
mov ah, 0x3e
mov byte [ebp - 0xd0], ch
mov al, 0xf
mov byte [ebp - 0xca], 0
mov cl, 0x1c
mov dl, 0x1a
mov bl, 0x17
xor ah, ch
xor al, ch
mov byte [ebp - 0xcf], ah
xor cl, ch
mov byte [ebp - 0xce], al
xor dl, ch
mov byte [ebp - 0xcd], cl
xor bl, ch
mov byte [ebp - 0xcc], dl
mov byte [ebp - 0xcb], bl
test ah, ah
jne 0x10002277
xor ecx, ecx
jmp 0x10002289
lea ecx, [ebp - 0xcf]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002280
sub ecx, edx
lea eax, [ebp - 0xcf]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.100048e0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.10003840
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x100022bd
mov eax, dword [eax]
mov bh, 0x71
mov byte [ebp - 0xe4], 0
push eax
mov cl, 2
mov byte [ebp - 0xec], bh
mov dl, 0x51
mov byte [ebp - 0xe4], 0
mov dh, cl
mov ah, dl
xor dl, bh
xor dh, bh
mov byte [ebp - 0xe9], dl
mov al, 0x54
mov byte [ebp - 0xe5], dh
sub esp, 0x18
mov edx, esp
mov ch, al
mov bl, 0xd
xor al, bh
mov byte [ebp - 0xeb], al
xor cl, bh
mov byte [ebp - 0xea], cl
xor bl, bh
mov byte [ebp - 0xe8], bl
xor ah, bh
mov byte [ebp - 0xe7], ah
xor ch, bh
mov byte [ebp - 0xe6], ch
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x10002345
mov eax, dword [edx]
jmp 0x10002347
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0xeb], 0
jne 0x10002357
xor ecx, ecx
jmp 0x10002369
lea ecx, [ebp - 0xeb]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002360
sub ecx, esi
push ecx
lea eax, [ebp - 0xeb]
mov ecx, edx
push eax
call fcn.100048e0
lea eax, [ebp - 0xb8]
push eax
call fcn.10004200
add esp, 0x24
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xf4]
cmp eax, 0x10
jb 0x100023a3
inc eax
push eax
push dword [ebp - 0x108]
call fcn.100047b0
cmp byte [0x1006afb6], 0
mov edi, dword [0x1006aee8]
mov dword [ebp - 0xf4], 0xf
mov dword [ebp - 0xf8], 0
mov byte [ebp - 0x108], 0
je 0x10002400
mov ecx, 0x10b8134
call fcn.100119c0
mov esi, eax
test esi, esi
je 0x10002400
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push esi
call ebx
test eax, eax
jne 0x10002400
push 4
add esi, 0x6e8
push esi
call ebx
test eax, eax
jne 0x10002400
mov al, byte [esi]
mov byte [edi + 0x3c], al
cmp byte [0x1006afb6], 0
movzx eax, byte [edi + 0x3c]
mov ebx, dword [0x1006aee8]
push eax
je 0x10002462
mov ecx, 0x10b8134
call fcn.100119c0
mov esi, eax
test esi, esi
je 0x10002462
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10002462
push 4
lea edi, [esi + 0x6bc]
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10002462
cmp dword [esi + 0x6d0], 0x10
jb 0x1000244f
mov edi, dword [edi]
cmp dword [ebx + 0x34], 0x10
lea eax, [ebx + 0x20]
jb 0x1000245a
mov eax, dword [eax]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [ebx + 0x34], 0x10
lea eax, [ebx + 0x20]
jb 0x1000246d
mov eax, dword [eax]
movaps xmm0, xmmword [0x100620e0]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x138], xmm0
mov dword [ebp - 0x128], 0x6120253f
mov byte [ebp - 0x124], 0
nop
mov al, byte [ebp - 0x138]
xor byte [ebp + ecx - 0x137], al
inc ecx
cmp ecx, 0x13
jb 0x10002490
sub esp, 0x18
mov byte [ebp - 0x124], 0
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x100024d5
mov eax, dword [edx]
jmp 0x100024d7
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x137], 0
jne 0x100024e7
xor ecx, ecx
jmp 0x100024f9
lea ecx, [ebp - 0x137]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100024f0
sub ecx, esi
push ecx
lea eax, [ebp - 0x137]
mov ecx, edx
push eax
call fcn.100048e0
lea eax, [ebp - 0xa0]
push eax
call fcn.10004200
add esp, 0x24
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 4
push eax
call fcn.10002b90
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0x10
jb 0x10002533
mov eax, dword [eax]
push eax
mov dl, 0x11
mov byte [ebp - 0xb9], 0
mov byte [ebp - 0xbc], dl
mov al, 0x34
mov cl, 0x62
mov byte [ebp - 0xb9], 0
xor al, dl
xor cl, dl
sub esp, 0x18
mov byte [ebp - 0xbb], al
mov edx, esp
mov byte [ebp - 0xba], cl
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x10002589
mov eax, dword [edx]
jmp 0x1000258b
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0xbb], 0
jne 0x1000259b
xor ecx, ecx
jmp 0x100025ad
lea ecx, [ebp - 0xbb]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100025a4
sub ecx, esi
push ecx
lea eax, [ebp - 0xbb]
mov ecx, edx
push eax
call fcn.100048e0
lea eax, [ebp - 0x88]
push eax
call fcn.10004200
add esp, 0x20
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xf4]
cmp eax, 0x10
jb 0x100025e7
inc eax
push eax
push dword [ebp - 0x108]
call fcn.100047b0
lea eax, [ebp - 0x138]
mov dword [ebp - 0xf4], 0xf
push eax
mov dword [ebp - 0xf8], 0
mov byte [ebp - 0x108], 0
call fcn.10002f60
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 0x10
jb 0x1000261a
mov eax, dword [eax]
push eax
mov dl, 0x2b
mov byte [ebp - 0xbd], 0
mov byte [ebp - 0xc0], dl
mov al, 0xe
mov cl, 0x58
mov byte [ebp - 0xbd], 0
xor al, dl
xor cl, dl
sub esp, 0x18
mov byte [ebp - 0xbf], al
mov edx, esp
mov byte [ebp - 0xbe], cl
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x10002670
mov eax, dword [edx]
jmp 0x10002672
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0xbf], 0
jne 0x10002682
xor ecx, ecx
jmp 0x10002699
lea ecx, [ebp - 0xbf]
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002690
sub ecx, esi
push ecx
lea eax, [ebp - 0xbf]
mov ecx, edx
push eax
call fcn.100048e0
lea eax, [ebp - 0x70]
push eax
call fcn.10004200
add esp, 0x20
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x124]
cmp eax, 0x10
jb 0x100026d0
inc eax
push eax
push dword [ebp - 0x138]
call fcn.100047b0
mov esi, dword [ebp - 0x13c]
lea eax, [ebp - 0x108]
push eax
mov ecx, esi
mov dword [ebp - 0x124], 0xf
mov dword [ebp - 0x128], 0
mov byte [ebp - 0x138], 0
call fcn.100032f0
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 0x10
jb 0x1000270b
mov eax, dword [eax]
push eax
mov dl, 0x37
mov byte [ebp - 0xc1], 0
mov byte [ebp - 0xc4], dl
mov al, 0x12
mov cl, 0x44
mov byte [ebp - 0xc1], 0
xor al, dl
xor cl, dl
sub esp, 0x18
mov byte [ebp - 0xc3], al
mov edx, esp
mov byte [ebp - 0xc2], cl
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x10002761
mov eax, dword [edx]
jmp 0x10002763
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0xc3], 0
jne 0x10002773
xor ecx, ecx
jmp 0x1000278f
lea ecx, [ebp - 0xc3]
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002780
sub ecx, esi
mov esi, dword [ebp - 0x13c]
push ecx
lea eax, [ebp - 0xc3]
mov ecx, edx
push eax
call fcn.100048e0
lea eax, [ebp - 0x58]
push eax
call fcn.10004200
add esp, 0x20
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0xf4]
cmp eax, 0x10
jb 0x100027c6
inc eax
push eax
push dword [ebp - 0x108]
call fcn.100047b0
lea eax, [ebp - 0x138]
mov dword [ebp - 0xf4], 0xf
push eax
mov ecx, esi
mov dword [ebp - 0xf8], 0
mov byte [ebp - 0x108], 0
call fcn.100035f0
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 0x10
jb 0x100027fb
mov eax, dword [eax]
push eax
mov dl, 0x10
mov byte [ebp - 0xc5], 0
mov byte [ebp - 0xc8], dl
mov al, 0x35
mov cl, 0x63
mov byte [ebp - 0xc5], 0
xor al, dl
xor cl, dl
sub esp, 0x18
mov byte [ebp - 0xc7], al
mov edx, esp
mov byte [ebp - 0xc6], cl
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x10002851
mov eax, dword [edx]
jmp 0x10002853
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0xc7], 0
jne 0x10002863
xor ecx, ecx
jmp 0x1000287f
lea ecx, [ebp - 0xc7]
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002870
sub ecx, esi
mov esi, dword [ebp - 0x13c]
push ecx
lea eax, [ebp - 0xc7]
mov ecx, edx
push eax
call fcn.100048e0
lea eax, [ebp - 0x40]
push eax
call fcn.10004200
mov eax, dword [ebp - 0x124]
add esp, 0x20
cmp eax, 0x10
jb 0x100028b2
inc eax
push eax
push dword [ebp - 0x138]
call fcn.100047b0
push 0x48
lea eax, [ebp - 0x188]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xf4], 0x1615121a
cmp dword [ebp - 0xa4], 0x10
lea eax, [ebp - 0xb8]
xorps xmm0, xmm0
mov word [ebp - 0xf0], 0x14
cmovae eax, dword [ebp - 0xb8]
cmp dword [ebp - 0x8c], 0x10
mov dword [ebp - 0x188], eax
lea eax, [ebp - 0xa0]
cmovae eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x74], 0x10
mov dword [ebp - 0x184], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x180], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x17c], eax
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
cmp dword [ebp - 0x5c], 0x10
mov dword [ebp - 0x170], eax
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
cmp dword [ebp - 0x44], 0x10
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
cmp dword [ebp - 0x2c], 0x10
movlpd qword [ebp - 0x178], xmm0
movaps xmm0, xmmword [0x10061f50]
mov dword [ebp - 0x168], eax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
xor ecx, ecx
movups xmmword [ebp - 0x114], xmm0
mov dword [ebp - 0x164], eax
movaps xmm0, xmmword [0x100623a0]
movups xmmword [ebp - 0x104], xmm0
mov al, byte [ebp - 0x114]
xor byte [ebp + ecx - 0x113], al
inc ecx
cmp ecx, 0x24
jb 0x10002991
movaps xmm0, xmmword [0x10062060]
lea eax, [ebp - 0x113]
mov dword [ebp - 0x160], eax
xor ecx, ecx
movsx eax, byte [esi + 3]
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x158], 8
movups xmmword [ebp - 0x110], xmm0
mov dword [ebp - 0x100], 0x271c123d
mov dword [ebp - 0xfc], 0x5220530
mov dword [ebp - 0xf8], 0x5220530
mov word [ebp - 0xf4], 0x6875
mov byte [ebp - 0xf2], 0
mov al, byte [ebp - 0x110]
xor byte [ebp + ecx - 0x10f], al
inc ecx
cmp ecx, 0x1d
jb 0x10002a02
lea eax, [ebp - 0x10f]
mov byte [ebp - 0xf2], 0
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x150], eax
call fcn.1004cdf0
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x10002a45
inc eax
push eax
push dword [ebp - 0x40]
call fcn.100047b0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp eax, 0x10
jb 0x10002a69
inc eax
push eax
push dword [ebp - 0x58]
call fcn.100047b0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp eax, 0x10
jb 0x10002a8d
inc eax
push eax
push dword [ebp - 0x70]
call fcn.100047b0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
cmp eax, 0x10
jb 0x10002ab4
inc eax
push eax
push dword [ebp - 0x88]
call fcn.100047b0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
cmp eax, 0x10
jb 0x10002ae1
inc eax
push eax
push dword [ebp - 0xa0]
call fcn.100047b0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
cmp eax, 0x10
jb 0x10002b14
inc eax
push eax
push dword [ebp - 0xb8]
call fcn.100047b0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
cmp eax, 0x10
jb 0x10002b5f
inc eax
push eax
push dword [ebp - 0x28]
call fcn.100047b0
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10002054
xor ecx, ecx
call fcn.1004cdf0
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10002054
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100523a0
mov esp, ebp
pop ebp
ret