Function at 0x10001d70
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 0x1005caf5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x180
mov eax, dword [0x1007a040]
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 - 0x144], edi
lea eax, [ebp - 0x100]
push eax
call fcn.100390e0
add esp, 4
push 0
push 0x989680
push dword [eax + 4]
push dword [eax]
call fcn.1003cdd0
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
nop
cmp byte [edi], 0
je 0x10002964
cmp dword [0x1007f010], 0
je 0x1000297b
mov ch, 0x12
mov byte [ebp - 0xef], 0
mov cl, 0x7d
mov byte [ebp - 0xf4], ch
mov ah, cl
mov byte [ebp - 0xef], 0
mov dl, 0x7e
mov dword [ebp - 0x1c], 0
xor cl, ch
mov dword [ebp - 0x18], 0
xor dl, ch
mov byte [ebp - 0xf2], cl
mov al, 0x41
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 0x10001e52
sub ecx, edx
lea eax, [ebp - 0xf3]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10004850
mov dword [ebp - 4], 0
cmp byte [edi + 1], 1
jne 0x10001f82
mov al, byte [edi + 3]
test al, al
jne 0x10001f32
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 0x10001f20
lea eax, [ebp - 0xe7]
jmp 0x10001fed
jle 0x10001f82
movaps xmm0, xmmword [0x100736d0]
xor ecx, ecx
movups xmmword [ebp - 0x138], xmm0
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp - 0x138]
xor byte [ebp + ecx - 0x137], al
inc ecx
cmp ecx, 0xe
jb 0x10001f50
lea ecx, [ebp - 0x137]
mov byte [ebp - 0x129], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001f73
lea eax, [ebp - 0x137]
jmp 0x10001fed
cmp byte [edi + 3], 0
jle 0x10001ff9
mov dh, 0x30
mov byte [ebp - 0xfa], 0
mov cl, 0x51
mov byte [ebp - 0x100], dh
mov dl, 0x42
mov byte [ebp - 0xfa], 0
xor cl, dh
mov al, 0x60
mov ah, 0x44
mov byte [ebp - 0xfe], cl
mov ch, 0x49
xor al, dh
xor dl, dh
mov byte [ebp - 0xff], al
xor ah, dh
mov byte [ebp - 0xfd], dl
xor ch, dh
mov byte [ebp - 0xfc], ah
mov byte [ebp - 0xfb], ch
lea ecx, [ebp - 0xff]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001fe0
lea eax, [ebp - 0xff]
sub ecx, edx
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10004570
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x11c]
lea esi, [ebp - 0x2c]
mov ecx, edi
cmova esi, dword [ebp - 0x2c]
push eax
call fcn.100037a0
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0xf
jbe 0x1000201e
mov eax, dword [eax]
push esi
push eax
xor al, al
mov byte [ebp - 0xdc], 0x25
xor al, byte [ebp - 0xdc]
mov dl, 5
xor dh, dh
mov byte [ebp - 0xdb], al
mov al, byte [ebp - 0xdc]
mov cl, 0x56
mov ch, dl
mov byte [ebp - 0xbd], cl
xor cl, al
mov byte [ebp - 0xd4], dh
xor dl, al
mov byte [ebp - 0xda], cl
xor ch, al
mov byte [ebp - 0xd9], dl
xor dh, al
mov byte [ebp - 0xd7], ch
mov ah, 0x59
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 0x100020b4
sub ecx, esi
lea eax, [ebp - 0xdb]
push ecx
push eax
mov ecx, edx
call fcn.10004850
lea eax, [ebp - 0xbc]
push eax
call fcn.100043f0
add esp, 0x24
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x108]
cmp ecx, 0xf
jbe 0x10002119
mov edx, dword [ebp - 0x11c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000210f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002999
push ecx
push edx
call fcn.1003bf86
add esp, 8
cmp byte [0x1007f01e], 0
mov edi, dword [0x1007f010]
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0xf
mov byte [ebp - 0x11c], 0
je 0x10002178
mov ecx, 0x10b8134
call fcn.10012a70
mov esi, eax
test esi, esi
je 0x10002178
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10002178
push 4
add esi, 0x6e8
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10002178
mov al, byte [esi]
mov byte [edi + 0x3c], al
mov esi, dword [0x1007f010]
mov ecx, esi
movzx edi, byte [edi + 0x3c]
call fcn.100165e0
add esi, 0x20
cmp dword [esi + 0x14], 0xf
jbe 0x10002194
mov esi, dword [esi]
movaps xmm0, xmmword [0x10073a50]
xor ecx, ecx
push edi
push esi
movups xmmword [ebp - 0x140], xmm0
mov dword [ebp - 0x130], 0x7031342e
mov byte [ebp - 0x12c], 0
nop word [eax + eax]
mov al, byte [ebp - 0x140]
xor byte [ebp + ecx - 0x13f], al
inc ecx
cmp ecx, 0x13
jb 0x100021c0
sub esp, 0x18
mov byte [ebp - 0x12c], 0
mov edx, esp
lea ecx, [ebp - 0x13f]
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 0x10002200
sub ecx, esi
lea eax, [ebp - 0x13f]
push ecx
push eax
mov ecx, edx
call fcn.10004850
lea eax, [ebp - 0xa4]
push eax
call fcn.100043f0
add esp, 0x24
mov edi, dword [ebp - 0x144]
lea eax, [ebp - 0x11c]
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.100029a0
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0xf
jbe 0x1000224b
mov eax, dword [eax]
push eax
mov dl, 0x15
mov byte [ebp - 0xc1], 0
mov cl, 0x66
mov byte [ebp - 0xc4], dl
xor cl, dl
mov byte [ebp - 0xc1], 0
mov al, 0x30
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 0x10002298
sub ecx, esi
lea eax, [ebp - 0xc3]
push ecx
push eax
mov ecx, edx
call fcn.10004850
lea eax, [ebp - 0x8c]
push eax
call fcn.100043f0
add esp, 0x20
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x108]
cmp ecx, 0xf
jbe 0x100022fd
mov edx, dword [ebp - 0x11c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100022f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002999
push ecx
push edx
call fcn.1003bf86
add esp, 8
lea eax, [ebp - 0x140]
mov dword [ebp - 0x10c], 0
push eax
mov ecx, edi
mov dword [ebp - 0x108], 0xf
mov byte [ebp - 0x11c], 0
call fcn.10002e70
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 0xf
jbe 0x10002332
mov eax, dword [eax]
push eax
mov dl, 0x54
mov byte [ebp - 0xc5], 0
mov cl, 0x27
mov byte [ebp - 0xc8], dl
xor cl, dl
mov byte [ebp - 0xc5], 0
mov al, 0x71
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 0x10002380
sub ecx, esi
lea eax, [ebp - 0xc7]
push ecx
push eax
mov ecx, edx
call fcn.10004850
lea eax, [ebp - 0x74]
push eax
call fcn.100043f0
add esp, 0x20
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x12c]
cmp ecx, 0xf
jbe 0x100023e2
mov edx, dword [ebp - 0x140]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100023d8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002999
push ecx
push edx
call fcn.1003bf86
add esp, 8
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x130], 0
push eax
mov ecx, edi
mov dword [ebp - 0x12c], 0xf
mov byte [ebp - 0x140], 0
call fcn.10003280
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 0xf
jbe 0x10002417
mov eax, dword [eax]
push eax
mov dl, 0x1f
mov byte [ebp - 0xc9], 0
mov cl, 0x6c
mov byte [ebp - 0xcc], dl
xor cl, dl
mov byte [ebp - 0xc9], 0
mov al, 0x3a
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 0x10002464
sub ecx, esi
lea eax, [ebp - 0xcb]
push ecx
push eax
mov ecx, edx
call fcn.10004850
lea eax, [ebp - 0x5c]
push eax
call fcn.100043f0
add esp, 0x20
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x108]
cmp ecx, 0xf
jbe 0x100024c6
mov edx, dword [ebp - 0x11c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100024bc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002999
push ecx
push edx
call fcn.1003bf86
add esp, 8
lea eax, [ebp - 0x140]
mov dword [ebp - 0x10c], 0
push eax
mov ecx, edi
mov dword [ebp - 0x108], 0xf
mov byte [ebp - 0x11c], 0
call fcn.10003580
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 0xf
jbe 0x100024fb
mov eax, dword [eax]
push eax
mov dl, 0xd
mov byte [ebp - 0xcd], 0
mov cl, 0x7e
mov byte [ebp - 0xd0], dl
xor cl, dl
mov byte [ebp - 0xcd], 0
mov al, 0x28
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 0x10002548
sub ecx, esi
lea eax, [ebp - 0xcf]
push ecx
push eax
mov ecx, edx
call fcn.10004850
lea eax, [ebp - 0x44]
push eax
call fcn.100043f0
mov byte [ebp - 4], 0xd
add esp, 0x20
mov ecx, dword [ebp - 0x12c]
cmp ecx, 0xf
jbe 0x100025aa
mov edx, dword [ebp - 0x140]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100025a0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002999
push ecx
push edx
call fcn.1003bf86
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 - 0x190], eax
lea eax, [ebp - 0xa4]
cmova eax, dword [ebp - 0xa4]
cmp dword [ebp - 0x78], 0xf
mov dword [ebp - 0x18c], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x188], eax
lea eax, [ebp - 0x8c]
cmova eax, dword [ebp - 0x8c]
cmp dword [ebp - 0x60], 0xf
mov dword [ebp - 0x178], eax
lea eax, [ebp - 0x74]
cmova eax, dword [ebp - 0x74]
cmp dword [ebp - 0x48], 0xf
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x5c]
cmova eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x30], 0xf
movlpd qword [ebp - 0x154], xmm0
movlpd qword [ebp - 0x180], xmm0
movaps xmm0, xmmword [0x10073cd0]
mov dword [ebp - 0x170], eax
lea eax, [ebp - 0x44]
cmova eax, dword [ebp - 0x44]
movups xmmword [ebp - 0x128], xmm0
mov dword [ebp - 0x184], ecx
xor ecx, ecx
movaps xmm0, xmmword [0x10073820]
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x16c], eax
movups xmmword [ebp - 0x118], xmm0
mov dword [ebp - 0x108], 0x5e5d5a52
mov word [ebp - 0x104], 0x5c
mov al, byte [ebp - 0x128]
xor byte [ebp + ecx - 0x127], al
inc ecx
cmp ecx, 0x24
jb 0x10002692
movaps xmm0, xmmword [0x10073a30]
lea eax, [ebp - 0x127]
mov dword [ebp - 0x168], eax
xor ecx, ecx
movsx eax, byte [edi + 3]
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x160], 8
movups xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x114], 0x33080629
mov dword [ebp - 0x110], 0x11361124
mov dword [ebp - 0x10c], 0x11361124
mov word [ebp - 0x108], 0x7c61
mov byte [ebp - 0x106], 0
nop dword [eax]
nop word [eax + eax]
mov al, byte [ebp - 0x124]
xor byte [ebp + ecx - 0x123], al
inc ecx
cmp ecx, 0x1d
jb 0x10002710
lea eax, [ebp - 0x123]
mov byte [ebp - 0x106], 0
lea ecx, [ebp - 0x190]
mov dword [ebp - 0x158], eax
call fcn.10032670
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x10002775
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000276b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002999
push ecx
push edx
call fcn.1003bf86
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 0x100027bf
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100027b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002999
push ecx
push edx
call fcn.1003bf86
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 0x10002809
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100027ff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002999
push ecx
push edx
call fcn.1003bf86
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 0x10002856
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000284c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002999
push ecx
push edx
call fcn.1003bf86
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 0x100028a9
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000289f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002999
push ecx
push edx
call fcn.1003bf86
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 0x10002902
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100028f8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002999
push ecx
push edx
call fcn.1003bf86
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 0x1000296b
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000294a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002999
push ecx
push edx
call fcn.1003bf86
add esp, 8
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10001de0
xor ecx, ecx
call fcn.10032670
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10001de0
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.1003bf25
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10041254
int3