Function at 0x10002730
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100677a5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x178
mov eax, dword [0x1007e040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x140], edi
call dword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
push 0
push 0x989680
push edx
push eax
call fcn.10066ed0
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
cmp byte [edi], 0
je 0x10003314
cmp dword [0x10081800], 0
je 0x10003331
mov ch, 0x40
mov byte [ebp - 0xef], 0
mov cl, 0x2f
mov byte [ebp - 0xf4], ch
mov ah, cl
mov byte [ebp - 0xef], 0
mov dl, 0x2c
mov dword [ebp - 0x1c], 0
xor cl, ch
mov dword [ebp - 0x18], 0
xor dl, ch
mov byte [ebp - 0xf2], cl
mov al, 0x13
mov byte [ebp - 0xf1], dl
xor al, ch
xorps xmm0, xmm0
xor ah, ch
mov byte [ebp - 0xf3], al
lea ecx, [ebp - 0xf3]
mov byte [ebp - 0xf0], ah
movups xmmword [ebp - 0x2c], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002805
sub ecx, edx
lea eax, [ebp - 0xf3]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10005220
mov dword [ebp - 4], 0
cmp byte [edi + 1], 1
jne 0x10002932
mov al, byte [edi + 3]
test al, al
jne 0x100028e2
mov byte [ebp - 0xe8], 0x2b
mov cl, 0x4e
xor cl, byte [ebp - 0xe8]
mov al, 0x66
xor al, byte [ebp - 0xe8]
mov ch, 0x43
mov byte [ebp - 0xe7], al
mov dl, 0x59
mov byte [ebp - 0xe6], cl
mov dh, 0x4a
mov cl, byte [ebp - 0xe8]
mov ah, 0x48
mov byte [ebp - 0xbe], 0x45
xor dl, cl
mov al, byte [ebp - 0xbe]
xor ch, cl
xor al, cl
mov byte [ebp - 0xbd], 0x5f
xor dh, cl
mov byte [ebp - 0xe1], al
mov al, byte [ebp - 0xbd]
xor ah, cl
xor al, cl
mov byte [ebp - 0xe3], ch
lea ecx, [ebp - 0xe7]
mov byte [ebp - 0xdf], 0
mov byte [ebp - 0xe5], dl
mov byte [ebp - 0xe2], dh
lea edx, [ecx + 1]
mov byte [ebp - 0xe4], ah
mov byte [ebp - 0xe0], al
mov byte [ebp - 0xdf], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100028d0
lea eax, [ebp - 0xe7]
jmp 0x1000299d
jle 0x10002932
movaps xmm0, xmmword [0x100769a0]
xor ecx, ecx
movups xmmword [ebp - 0x134], xmm0
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp - 0x134]
xor byte [ebp + ecx - 0x133], al
inc ecx
cmp ecx, 0xe
jb 0x10002900
lea ecx, [ebp - 0x133]
mov byte [ebp - 0x125], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002923
lea eax, [ebp - 0x133]
jmp 0x1000299d
cmp byte [edi + 3], 0
jle 0x100029a9
mov dh, 0x51
mov byte [ebp - 0xf6], 0
mov cl, 0x30
mov byte [ebp - 0xfc], dh
mov dl, 0x23
mov byte [ebp - 0xf6], 0
xor cl, dh
mov al, 1
mov ah, 0x25
mov byte [ebp - 0xfa], cl
mov ch, 0x28
xor al, dh
xor dl, dh
mov byte [ebp - 0xfb], al
xor ah, dh
mov byte [ebp - 0xf9], dl
xor ch, dh
mov byte [ebp - 0xf8], ah
mov byte [ebp - 0xf7], ch
lea ecx, [ebp - 0xfb]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002990
lea eax, [ebp - 0xfb]
sub ecx, edx
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10004f30
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
mov ecx, edi
cmova eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.10004150
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0xf
jbe 0x100029cf
mov eax, dword [eax]
push eax
mov al, 0x3e
mov byte [ebp - 0xdc], 0x1b
mov dh, al
mov byte [ebp - 0xd4], 0
xor al, byte [ebp - 0xdc]
mov dl, 0x3b
mov cl, 0x68
mov byte [ebp - 0xdb], al
mov al, byte [ebp - 0xdc]
mov ch, dl
xor dl, al
mov byte [ebp - 0xbd], cl
xor cl, al
mov byte [ebp - 0xd9], dl
xor ch, al
mov byte [ebp - 0xda], cl
xor dh, al
mov byte [ebp - 0xd7], ch
mov ah, 0x67
mov byte [ebp - 0xd6], dh
xor ah, al
mov byte [ebp - 0xd4], 0
mov al, byte [ebp - 0xbd]
lea ecx, [ebp - 0xdb]
xor al, byte [ebp - 0xdc]
lea esi, [ecx + 1]
sub esp, 0x18
mov byte [ebp - 0xd8], ah
mov edx, esp
mov byte [ebp - 0xd5], al
xorps xmm0, xmm0
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002a65
sub ecx, esi
lea eax, [ebp - 0xdb]
push ecx
push eax
mov ecx, edx
call fcn.10005220
lea eax, [ebp - 0xbc]
push eax
call fcn.10004db0
add esp, 0x24
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x104]
cmp ecx, 0xf
jbe 0x10002aca
mov edx, dword [ebp - 0x118]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10002ac0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000332b
push ecx
push edx
call fcn.100662c0
add esp, 8
cmp byte [0x1008187c], 0
mov edi, dword [0x10081800]
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0xf
mov byte [ebp - 0x118], 0
je 0x10002b29
mov ecx, 0x10b8134
call fcn.10013c90
mov esi, eax
test esi, esi
je 0x10002b29
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10002b29
push 4
add esi, 0x6e8
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10002b29
mov al, byte [esi]
mov byte [edi + 0x3c], al
movzx eax, byte [edi + 0x3c]
mov esi, dword [0x10081800]
mov ecx, esi
push eax
call fcn.10017e20
add esi, 0x20
cmp dword [esi + 0x14], 0xf
jbe 0x10002b46
mov esi, dword [esi]
movaps xmm0, xmmword [0x10076dc0]
xor ecx, ecx
push esi
movups xmmword [ebp - 0x13c], xmm0
mov dword [ebp - 0x12c], 0x6c2d2832
mov byte [ebp - 0x128], 0
nop dword [eax + eax]
mov al, byte [ebp - 0x13c]
xor byte [ebp + ecx - 0x13b], al
inc ecx
cmp ecx, 0x13
jb 0x10002b70
sub esp, 0x18
mov byte [ebp - 0x128], 0
mov edx, esp
lea ecx, [ebp - 0x13b]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002bb0
sub ecx, esi
lea eax, [ebp - 0x13b]
push ecx
push eax
mov ecx, edx
call fcn.10005220
lea eax, [ebp - 0xa4]
push eax
call fcn.10004db0
add esp, 0x24
mov edi, dword [ebp - 0x140]
lea eax, [ebp - 0x118]
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.10003350
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0xf
jbe 0x10002bfb
mov eax, dword [eax]
push eax
mov dl, 0x3d
mov byte [ebp - 0xc1], 0
mov cl, 0x4e
mov byte [ebp - 0xc4], dl
xor cl, dl
mov byte [ebp - 0xc1], 0
mov al, 0x18
mov byte [ebp - 0xc2], cl
xor al, dl
lea ecx, [ebp - 0xc3]
sub esp, 0x18
mov byte [ebp - 0xc3], al
mov edx, esp
lea esi, [ecx + 1]
xorps xmm0, xmm0
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002c48
sub ecx, esi
lea eax, [ebp - 0xc3]
push ecx
push eax
mov ecx, edx
call fcn.10005220
lea eax, [ebp - 0x8c]
push eax
call fcn.10004db0
add esp, 0x20
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x104]
cmp ecx, 0xf
jbe 0x10002cad
mov edx, dword [ebp - 0x118]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10002ca3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000332b
push ecx
push edx
call fcn.100662c0
add esp, 8
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x108], 0
push eax
mov ecx, edi
mov dword [ebp - 0x104], 0xf
mov byte [ebp - 0x118], 0
call fcn.10003820
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 0xf
jbe 0x10002ce2
mov eax, dword [eax]
push eax
mov dl, 0x6c
mov byte [ebp - 0xc5], 0
mov cl, 0x1f
mov byte [ebp - 0xc8], dl
xor cl, dl
mov byte [ebp - 0xc5], 0
mov al, 0x49
mov byte [ebp - 0xc6], cl
xor al, dl
lea ecx, [ebp - 0xc7]
sub esp, 0x18
mov byte [ebp - 0xc7], al
mov edx, esp
lea esi, [ecx + 1]
xorps xmm0, xmm0
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002d30
sub ecx, esi
lea eax, [ebp - 0xc7]
push ecx
push eax
mov ecx, edx
call fcn.10005220
lea eax, [ebp - 0x74]
push eax
call fcn.10004db0
add esp, 0x20
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x128]
cmp ecx, 0xf
jbe 0x10002d92
mov edx, dword [ebp - 0x13c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10002d88
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000332b
push ecx
push edx
call fcn.100662c0
add esp, 8
lea eax, [ebp - 0x118]
mov dword [ebp - 0x12c], 0
push eax
mov ecx, edi
mov dword [ebp - 0x128], 0xf
mov byte [ebp - 0x13c], 0
call fcn.10003c30
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 0xf
jbe 0x10002dc7
mov eax, dword [eax]
push eax
mov dl, 0x7a
mov byte [ebp - 0xc9], 0
mov cl, 9
mov byte [ebp - 0xcc], dl
xor cl, dl
mov byte [ebp - 0xc9], 0
mov al, 0x5f
mov byte [ebp - 0xca], cl
xor al, dl
lea ecx, [ebp - 0xcb]
sub esp, 0x18
mov byte [ebp - 0xcb], al
mov edx, esp
lea esi, [ecx + 1]
xorps xmm0, xmm0
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002e14
sub ecx, esi
lea eax, [ebp - 0xcb]
push ecx
push eax
mov ecx, edx
call fcn.10005220
lea eax, [ebp - 0x5c]
push eax
call fcn.10004db0
add esp, 0x20
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x104]
cmp ecx, 0xf
jbe 0x10002e76
mov edx, dword [ebp - 0x118]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10002e6c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000332b
push ecx
push edx
call fcn.100662c0
add esp, 8
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x108], 0
push eax
mov ecx, edi
mov dword [ebp - 0x104], 0xf
mov byte [ebp - 0x118], 0
call fcn.10003f30
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 0xf
jbe 0x10002eab
mov eax, dword [eax]
push eax
mov dl, 0x65
mov byte [ebp - 0xcd], 0
mov cl, 0x16
mov byte [ebp - 0xd0], dl
xor cl, dl
mov byte [ebp - 0xcd], 0
mov al, 0x40
mov byte [ebp - 0xce], cl
xor al, dl
lea ecx, [ebp - 0xcf]
sub esp, 0x18
mov byte [ebp - 0xcf], al
mov edx, esp
lea esi, [ecx + 1]
xorps xmm0, xmm0
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002ef8
sub ecx, esi
lea eax, [ebp - 0xcf]
push ecx
push eax
mov ecx, edx
call fcn.10005220
lea eax, [ebp - 0x44]
push eax
call fcn.10004db0
mov byte [ebp - 4], 0xd
add esp, 0x20
mov ecx, dword [ebp - 0x128]
cmp ecx, 0xf
jbe 0x10002f5a
mov edx, dword [ebp - 0x13c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10002f50
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000332b
push ecx
push edx
call fcn.100662c0
add esp, 8
cmp dword [ebp - 0xa8], 0xf
lea eax, [ebp - 0xbc]
mov ecx, dword [edi + 0xc]
xorps xmm0, xmm0
cmova eax, dword [ebp - 0xbc]
cmp dword [ebp - 0x90], 0xf
mov dword [ebp - 0x188], eax
lea eax, [ebp - 0xa4]
cmova eax, dword [ebp - 0xa4]
cmp dword [ebp - 0x78], 0xf
mov dword [ebp - 0x184], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x180], eax
lea eax, [ebp - 0x8c]
cmova eax, dword [ebp - 0x8c]
cmp dword [ebp - 0x60], 0xf
mov dword [ebp - 0x170], eax
lea eax, [ebp - 0x74]
cmova eax, dword [ebp - 0x74]
cmp dword [ebp - 0x48], 0xf
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x5c]
cmova eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x30], 0xf
movlpd qword [ebp - 0x14c], xmm0
movlpd qword [ebp - 0x178], xmm0
movaps xmm0, xmmword [0x100772e0]
mov dword [ebp - 0x168], eax
lea eax, [ebp - 0x44]
cmova eax, dword [ebp - 0x44]
movups xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x17c], ecx
xor ecx, ecx
movaps xmm0, xmmword [0x10076b30]
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x164], eax
movups xmmword [ebp - 0x114], xmm0
mov dword [ebp - 0x104], 0x5b585f57
mov word [ebp - 0x100], 0x59
mov al, byte [ebp - 0x124]
xor byte [ebp + ecx - 0x123], al
inc ecx
cmp ecx, 0x24
jb 0x10003042
movaps xmm0, xmmword [0x10076df0]
lea eax, [ebp - 0x123]
mov dword [ebp - 0x160], eax
xor ecx, ecx
movsx eax, byte [edi + 3]
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x158], 8
movups xmmword [ebp - 0x120], xmm0
mov dword [ebp - 0x110], 0x2d161837
mov dword [ebp - 0x10c], 0xf280f3a
mov dword [ebp - 0x108], 0xf280f3a
mov word [ebp - 0x104], 0x627f
mov byte [ebp - 0x102], 0
nop dword [eax]
nop word [eax + eax]
mov al, byte [ebp - 0x120]
xor byte [ebp + ecx - 0x11f], al
inc ecx
cmp ecx, 0x1d
jb 0x100030c0
lea eax, [ebp - 0x11f]
mov byte [ebp - 0x102], 0
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x150], eax
call fcn.1001abc0
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x10003125
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000311b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000332b
push ecx
push edx
call fcn.100662c0
add esp, 8
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp ecx, 0xf
jbe 0x1000316f
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003165
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000332b
push ecx
push edx
call fcn.100662c0
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp ecx, 0xf
jbe 0x100031b9
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100031af
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000332b
push ecx
push edx
call fcn.100662c0
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp ecx, 0xf
jbe 0x10003206
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100031fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000332b
push ecx
push edx
call fcn.100662c0
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
cmp ecx, 0xf
jbe 0x10003259
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000324f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000332b
push ecx
push edx
call fcn.100662c0
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
cmp ecx, 0xf
jbe 0x100032b2
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100032a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000332b
push ecx
push edx
call fcn.100662c0
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
cmp ecx, 0xf
jbe 0x1000331b
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100032fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000332b
push ecx
push edx
call fcn.100662c0
add esp, 8
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10002793
xor ecx, ecx
call fcn.1001abc0
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10002793
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
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.1006625f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret