Function at 0x10002780
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 0x10087dd5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x178
mov eax, dword [0x100a8080]
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 fcn.100636a6
push 0
push 0x989680
push edx
push eax
call fcn.100872a0
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
cmp byte [edi], 0
je 0x10003364
cmp dword [0x100acf38], 0
je 0x1000337b
mov ch, 0x42
mov byte [ebp - 0xef], 0
mov cl, 0x2d
mov byte [ebp - 0xf4], ch
mov ah, cl
mov byte [ebp - 0xef], 0
mov dl, 0x2e
mov dword [ebp - 0x1c], 0
xor cl, ch
mov dword [ebp - 0x18], 0
xor dl, ch
mov byte [ebp - 0xf2], cl
mov al, 0x11
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 0x10002854
sub ecx, edx
lea eax, [ebp - 0xf3]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10005240
mov dword [ebp - 4], 0
cmp byte [edi + 1], 1
jne 0x10002982
mov al, byte [edi + 3]
test al, al
jne 0x10002932
mov byte [ebp - 0xe8], 0x17
mov cl, 0x72
xor cl, byte [ebp - 0xe8]
mov al, 0x5a
xor al, byte [ebp - 0xe8]
mov ch, 0x7f
mov byte [ebp - 0xe7], al
mov dl, 0x65
mov byte [ebp - 0xe6], cl
mov dh, 0x76
mov cl, byte [ebp - 0xe8]
mov ah, 0x74
mov byte [ebp - 0xbe], 0x79
xor dl, cl
mov al, byte [ebp - 0xbe]
xor ch, cl
xor al, cl
mov byte [ebp - 0xbd], 0x63
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 + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002920
lea eax, [ebp - 0xe7]
jmp 0x100029ed
jle 0x10002982
movaps xmm0, xmmword [0x1009f430]
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 0x10002950
lea ecx, [ebp - 0x133]
mov byte [ebp - 0x125], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002973
lea eax, [ebp - 0x133]
jmp 0x100029ed
cmp byte [edi + 3], 0
jle 0x100029f9
mov dh, 0x5b
mov byte [ebp - 0xf6], 0
mov cl, 0x3a
mov byte [ebp - 0xfc], dh
mov dl, 0x29
mov byte [ebp - 0xf6], 0
xor cl, dh
mov al, 0xb
mov ah, 0x2f
mov byte [ebp - 0xfa], cl
mov ch, 0x22
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 0x100029e0
lea eax, [ebp - 0xfb]
sub ecx, edx
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10004f60
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.100041a0
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0xf
jbe 0x10002a1f
mov eax, dword [eax]
push eax
mov al, 0x19
mov byte [ebp - 0xdc], 0x3c
mov dh, al
mov byte [ebp - 0xd4], 0
xor al, byte [ebp - 0xdc]
mov dl, 0x1c
mov cl, 0x4f
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, 0x40
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 0x10002ab5
sub ecx, esi
lea eax, [ebp - 0xdb]
push ecx
push eax
mov ecx, edx
call fcn.10005240
lea eax, [ebp - 0xbc]
push eax
call fcn.10004de0
add esp, 0x24
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x104]
cmp ecx, 0xf
jbe 0x10002b1a
mov edx, dword [ebp - 0x118]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10002b10
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003399
push ecx
push edx
call fcn.100675d1
add esp, 8
cmp byte [0x100acf3f], 0
mov edi, dword [0x100acf38]
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0xf
mov byte [ebp - 0x118], 0
je 0x10002b79
mov ecx, 0x10b8134
call fcn.100114e0
mov esi, eax
test esi, esi
je 0x10002b79
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10002b79
push 4
add esi, 0x6e8
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10002b79
mov al, byte [esi]
mov byte [edi + 0x3c], al
movzx eax, byte [edi + 0x3c]
mov esi, dword [0x100acf38]
mov ecx, esi
push eax
call fcn.10018fd0
add esi, 0x20
cmp dword [esi + 0x14], 0xf
jbe 0x10002b96
mov esi, dword [esi]
movaps xmm0, xmmword [0x1009fb00]
xor ecx, ecx
push esi
movups xmmword [ebp - 0x13c], xmm0
mov dword [ebp - 0x12c], 0x68292c36
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 0x10002bc0
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 0x10002c00
sub ecx, esi
lea eax, [ebp - 0x13b]
push ecx
push eax
mov ecx, edx
call fcn.10005240
lea eax, [ebp - 0xa4]
push eax
call fcn.10004de0
add esp, 0x24
mov edi, dword [ebp - 0x140]
lea eax, [ebp - 0x118]
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.100033a0
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0xf
jbe 0x10002c4b
mov eax, dword [eax]
push eax
mov dl, 0xc
mov byte [ebp - 0xc1], 0
mov cl, 0x7f
mov byte [ebp - 0xc4], dl
xor cl, dl
mov byte [ebp - 0xc1], 0
mov al, 0x29
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 0x10002c98
sub ecx, esi
lea eax, [ebp - 0xc3]
push ecx
push eax
mov ecx, edx
call fcn.10005240
lea eax, [ebp - 0x8c]
push eax
call fcn.10004de0
add esp, 0x20
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x104]
cmp ecx, 0xf
jbe 0x10002cfd
mov edx, dword [ebp - 0x118]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10002cf3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003399
push ecx
push edx
call fcn.100675d1
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.10003870
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 0xf
jbe 0x10002d32
mov eax, dword [eax]
push eax
mov dl, 0x45
mov byte [ebp - 0xc5], 0
mov cl, 0x36
mov byte [ebp - 0xc8], dl
xor cl, dl
mov byte [ebp - 0xc5], 0
mov al, 0x60
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 0x10002d80
sub ecx, esi
lea eax, [ebp - 0xc7]
push ecx
push eax
mov ecx, edx
call fcn.10005240
lea eax, [ebp - 0x74]
push eax
call fcn.10004de0
add esp, 0x20
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x128]
cmp ecx, 0xf
jbe 0x10002de2
mov edx, dword [ebp - 0x13c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10002dd8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003399
push ecx
push edx
call fcn.100675d1
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.10003c80
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 0xf
jbe 0x10002e17
mov eax, dword [eax]
push eax
mov dl, 0x78
mov byte [ebp - 0xc9], 0
mov cl, 0xb
mov byte [ebp - 0xcc], dl
xor cl, dl
mov byte [ebp - 0xc9], 0
mov al, 0x5d
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 0x10002e64
sub ecx, esi
lea eax, [ebp - 0xcb]
push ecx
push eax
mov ecx, edx
call fcn.10005240
lea eax, [ebp - 0x5c]
push eax
call fcn.10004de0
add esp, 0x20
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x104]
cmp ecx, 0xf
jbe 0x10002ec6
mov edx, dword [ebp - 0x118]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10002ebc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003399
push ecx
push edx
call fcn.100675d1
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.10003f80
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 0xf
jbe 0x10002efb
mov eax, dword [eax]
push eax
mov dl, 0x72
mov byte [ebp - 0xcd], 0
mov cl, 1
mov byte [ebp - 0xd0], dl
xor cl, dl
mov byte [ebp - 0xcd], 0
mov al, 0x57
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 0x10002f48
sub ecx, esi
lea eax, [ebp - 0xcf]
push ecx
push eax
mov ecx, edx
call fcn.10005240
lea eax, [ebp - 0x44]
push eax
call fcn.10004de0
mov byte [ebp - 4], 0xd
add esp, 0x20
mov ecx, dword [ebp - 0x128]
cmp ecx, 0xf
jbe 0x10002faa
mov edx, dword [ebp - 0x13c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10002fa0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003399
push ecx
push edx
call fcn.100675d1
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 [0x1009fad0]
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 [0x100a0470]
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x164], eax
movups xmmword [ebp - 0x114], xmm0
mov dword [ebp - 0x104], 0x2d2e2921
mov word [ebp - 0x100], 0x2f
mov al, byte [ebp - 0x124]
xor byte [ebp + ecx - 0x123], al
inc ecx
cmp ecx, 0x24
jb 0x10003092
movaps xmm0, xmmword [0x1009f9a0]
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], 0x271c123d
mov dword [ebp - 0x10c], 0x5220530
mov dword [ebp - 0x108], 0x5220530
mov word [ebp - 0x104], 0x6875
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 0x10003110
lea eax, [ebp - 0x11f]
mov byte [ebp - 0x102], 0
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x150], eax
call fcn.1001bdc0
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x10003175
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000316b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003399
push ecx
push edx
call fcn.100675d1
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 0x100031bf
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100031b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003399
push ecx
push edx
call fcn.100675d1
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 0x10003209
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100031ff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003399
push ecx
push edx
call fcn.100675d1
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 0x10003256
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000324c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003399
push ecx
push edx
call fcn.100675d1
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 0x100032a9
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000329f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003399
push ecx
push edx
call fcn.100675d1
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 0x10003302
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100032f8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003399
push ecx
push edx
call fcn.100675d1
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 0x1000336b
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000334a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003399
push ecx
push edx
call fcn.100675d1
add esp, 8
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100027e2
xor ecx, ecx
call fcn.1001bdc0
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100027e2
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.10067570
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1006cd3b
int3