Function at 0x10002090
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100913a0
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x100bb084]
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 fcn.1005666a
mov dword [ebp - 0xcc], edx
lea ecx, [ebp - 0x138]
lea edx, [ebp - 0xd0]
mov dword [ebp - 0xd0], eax
call fcn.10004180
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
cmp byte [esi], 0
je 0x10002c35
cmp dword [0x100bfe54], 0
je 0x10002c4c
mov ah, 0x3f
mov byte [ebp - 0x133], 0
mov al, 0x50
mov byte [ebp - 0x138], ah
mov bl, 0x6c
mov byte [ebp - 0x133], 0
mov dl, al
mov dword [ebp - 0x14], 0xf
mov cl, 0x53
mov dword [ebp - 0x18], 0
xor bl, ah
mov byte [ebp - 0x28], 0
xor al, ah
mov byte [ebp - 0x137], bl
xor cl, ah
mov byte [ebp - 0x136], al
xor dl, ah
mov byte [ebp - 0x135], cl
mov byte [ebp - 0x134], dl
test bl, bl
jne 0x10002161
xor ecx, ecx
jmp 0x10002179
lea ecx, [ebp - 0x137]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002170
sub ecx, edx
push ecx
lea eax, [ebp - 0x137]
push eax
lea ecx, [ebp - 0x28]
call fcn.10004a40
mov dword [ebp - 4], 0
mov al, byte [esi + 1]
cmp al, 1
jne 0x100022c1
cmp byte [esi + 3], 0
jne 0x10002246
mov byte [ebp - 0xdc], 0x3c
mov al, 0x59
xor al, byte [ebp - 0xdc]
mov bh, 0x71
xor bh, byte [ebp - 0xdc]
mov cl, 0x4e
mov byte [ebp - 0xda], al
mov dl, 0x5f
mov al, byte [ebp - 0xdc]
mov bl, 0x54
mov ah, 0x5d
mov byte [ebp - 0xd3], 0
mov ch, 0x52
mov byte [ebp - 0xdb], bh
mov dh, 0x48
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 0x10002229
xor ecx, ecx
lea eax, [ebp - 0xdb]
jmp 0x1000232f
lea ecx, [ebp - 0xdb]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002232
sub ecx, edx
lea eax, [ebp - 0xdb]
jmp 0x1000232f
cmp al, 1
jne 0x100022c1
cmp byte [esi + 3], 0
jle 0x10002339
movaps xmm0, xmmword [0x100aef20]
xor ecx, ecx
movups xmmword [ebp - 0x124], xmm0
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp - 0x124]
xor byte [ebp + ecx - 0x123], al
inc ecx
cmp ecx, 0xe
jb 0x10002270
cmp byte [ebp - 0x123], 0
mov byte [ebp - 0x115], 0
jne 0x100022a0
xor ecx, ecx
lea eax, [ebp - 0x123]
jmp 0x1000232f
lea ecx, [ebp - 0x123]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100022b0
sub ecx, edx
lea eax, [ebp - 0x123]
jmp 0x1000232f
cmp byte [esi + 3], 0
jle 0x10002339
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 0x10002317
xor ecx, ecx
jmp 0x10002329
lea ecx, [ebp - 0xcf]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002320
sub ecx, edx
lea eax, [ebp - 0xcf]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10004a40
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.10003920
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x1000235d
mov eax, dword [eax]
mov bh, 0x15
mov byte [ebp - 0xe4], 0
push eax
mov cl, 0x66
mov byte [ebp - 0xec], bh
mov dl, 0x35
mov byte [ebp - 0xe4], 0
mov dh, cl
mov ah, dl
xor dl, bh
xor dh, bh
mov byte [ebp - 0xe9], dl
mov al, 0x30
mov byte [ebp - 0xe5], dh
sub esp, 0x18
mov edx, esp
mov ch, al
mov bl, 0x69
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 0x100023e5
mov eax, dword [edx]
jmp 0x100023e7
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0xeb], 0
jne 0x100023f7
xor ecx, ecx
jmp 0x10002409
lea ecx, [ebp - 0xeb]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002400
sub ecx, esi
push ecx
lea eax, [ebp - 0xeb]
mov ecx, edx
push eax
call fcn.10004a40
lea eax, [ebp - 0xb8]
push eax
call fcn.100043b0
add esp, 0x24
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xf4]
cmp eax, 0x10
jb 0x10002449
inc eax
lea ecx, [ebp - 0x108]
push eax
push dword [ebp - 0x108]
call fcn.100048f0
cmp byte [0x100bfea1], 0
mov edi, dword [0x100bfe54]
mov dword [ebp - 0xf4], 0xf
mov dword [ebp - 0xf8], 0
mov byte [ebp - 0x108], 0
je 0x100024a6
mov ecx, 0x10b8134
call fcn.10014e20
mov esi, eax
test esi, esi
je 0x100024a6
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push esi
call ebx
test eax, eax
jne 0x100024a6
push 4
add esi, 0x6e8
push esi
call ebx
test eax, eax
jne 0x100024a6
mov al, byte [esi]
mov byte [edi + 0x3c], al
cmp byte [0x100bfea1], 0
movzx eax, byte [edi + 0x3c]
mov ebx, dword [0x100bfe54]
push eax
je 0x10002508
mov ecx, 0x10b8134
call fcn.10014e20
mov esi, eax
test esi, esi
je 0x10002508
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10002508
push 4
lea edi, [esi + 0x6bc]
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10002508
cmp dword [esi + 0x6d0], 0x10
jb 0x100024f5
mov edi, dword [edi]
cmp dword [ebx + 0x34], 0x10
lea eax, [ebx + 0x20]
jb 0x10002500
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 0x10002513
mov eax, dword [eax]
movaps xmm0, xmmword [0x100af6d0]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x12c], xmm0
mov dword [ebp - 0x11c], 0x79383d27
mov byte [ebp - 0x118], 0
nop word [eax + eax]
mov al, byte [ebp - 0x12c]
xor byte [ebp + ecx - 0x12b], al
inc ecx
cmp ecx, 0x13
jb 0x10002540
sub esp, 0x18
mov byte [ebp - 0x118], 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 0x10002585
mov eax, dword [edx]
jmp 0x10002587
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x12b], 0
jne 0x10002597
xor ecx, ecx
jmp 0x100025a9
lea ecx, [ebp - 0x12b]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100025a0
sub ecx, esi
push ecx
lea eax, [ebp - 0x12b]
mov ecx, edx
push eax
call fcn.10004a40
lea eax, [ebp - 0xa0]
push eax
call fcn.100043b0
add esp, 0x24
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 4
push eax
call fcn.10002c70
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0x10
jb 0x100025e3
mov eax, dword [eax]
push eax
mov dl, 0x6f
mov byte [ebp - 0xb9], 0
mov byte [ebp - 0xbc], dl
mov al, 0x4a
mov cl, 0x1c
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 0x10002639
mov eax, dword [edx]
jmp 0x1000263b
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0xbb], 0
jne 0x1000264b
xor ecx, ecx
jmp 0x1000265d
lea ecx, [ebp - 0xbb]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002654
sub ecx, esi
push ecx
lea eax, [ebp - 0xbb]
mov ecx, edx
push eax
call fcn.10004a40
lea eax, [ebp - 0x88]
push eax
call fcn.100043b0
add esp, 0x20
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xf4]
cmp eax, 0x10
jb 0x1000269d
inc eax
lea ecx, [ebp - 0x108]
push eax
push dword [ebp - 0x108]
call fcn.100048f0
lea eax, [ebp - 0x12c]
mov dword [ebp - 0xf4], 0xf
push eax
mov dword [ebp - 0xf8], 0
mov byte [ebp - 0x108], 0
call fcn.10003040
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 0x10
jb 0x100026d0
mov eax, dword [eax]
push eax
mov dl, 0x35
mov byte [ebp - 0xbd], 0
mov byte [ebp - 0xc0], dl
mov al, 0x10
mov cl, 0x46
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 0x10002726
mov eax, dword [edx]
jmp 0x10002728
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0xbf], 0
jne 0x10002738
xor ecx, ecx
jmp 0x1000274a
lea ecx, [ebp - 0xbf]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002741
sub ecx, esi
push ecx
lea eax, [ebp - 0xbf]
mov ecx, edx
push eax
call fcn.10004a40
lea eax, [ebp - 0x70]
push eax
call fcn.100043b0
add esp, 0x20
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x118]
cmp eax, 0x10
jb 0x10002787
inc eax
lea ecx, [ebp - 0x12c]
push eax
push dword [ebp - 0x12c]
call fcn.100048f0
mov esi, dword [ebp - 0x13c]
lea eax, [ebp - 0x108]
push eax
mov ecx, esi
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
call fcn.100033d0
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 0x10
jb 0x100027c2
mov eax, dword [eax]
push eax
mov dl, 0x58
mov byte [ebp - 0xc1], 0
mov byte [ebp - 0xc4], dl
mov al, 0x7d
mov cl, 0x2b
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 0x10002818
mov eax, dword [edx]
jmp 0x1000281a
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0xc3], 0
jne 0x1000282a
xor ecx, ecx
jmp 0x10002842
lea ecx, [ebp - 0xc3]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002833
sub ecx, esi
mov esi, dword [ebp - 0x13c]
push ecx
lea eax, [ebp - 0xc3]
mov ecx, edx
push eax
call fcn.10004a40
lea eax, [ebp - 0x58]
push eax
call fcn.100043b0
add esp, 0x20
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0xf4]
cmp eax, 0x10
jb 0x1000287f
inc eax
lea ecx, [ebp - 0x108]
push eax
push dword [ebp - 0x108]
call fcn.100048f0
lea eax, [ebp - 0x12c]
mov dword [ebp - 0xf4], 0xf
push eax
mov ecx, esi
mov dword [ebp - 0xf8], 0
mov byte [ebp - 0x108], 0
call fcn.100036d0
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 0x10
jb 0x100028b4
mov eax, dword [eax]
push eax
mov dl, 0x52
mov byte [ebp - 0xc5], 0
mov byte [ebp - 0xc8], dl
mov al, 0x77
mov cl, 0x21
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 0x1000290a
mov eax, dword [edx]
jmp 0x1000290c
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0xc7], 0
jne 0x1000291c
xor ecx, ecx
jmp 0x10002934
lea ecx, [ebp - 0xc7]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002925
sub ecx, esi
mov esi, dword [ebp - 0x13c]
push ecx
lea eax, [ebp - 0xc7]
mov ecx, edx
push eax
call fcn.10004a40
lea eax, [ebp - 0x40]
push eax
call fcn.100043b0
mov eax, dword [ebp - 0x118]
add esp, 0x20
cmp eax, 0x10
jb 0x1000296d
inc eax
lea ecx, [ebp - 0x12c]
push eax
push dword [ebp - 0x12c]
call fcn.100048f0
push 0x48
lea eax, [ebp - 0x188]
push 0
push eax
call fcn.10060920
add esp, 0xc
mov dword [ebp - 0xf4], 0x2a292e26
cmp dword [ebp - 0xa4], 0x10
lea eax, [ebp - 0xb8]
xorps xmm0, xmm0
mov word [ebp - 0xf0], 0x28
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 [0x100af5e0]
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 [0x100afdb0]
movups xmmword [ebp - 0x104], xmm0
nop dword [eax]
mov al, byte [ebp - 0x114]
xor byte [ebp + ecx - 0x113], al
inc ecx
cmp ecx, 0x24
jb 0x10002a50
movaps xmm0, xmmword [0x100afac0]
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], 0x5d666847
mov dword [ebp - 0xfc], 0x7f587f4a
mov dword [ebp - 0xf8], 0x7f587f4a
mov word [ebp - 0xf4], 0x120f
mov byte [ebp - 0xf2], 0
mov al, byte [ebp - 0x110]
xor byte [ebp + ecx - 0x10f], al
inc ecx
cmp ecx, 0x1d
jb 0x10002ac1
lea eax, [ebp - 0x10f]
mov byte [ebp - 0xf2], 0
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x150], eax
call fcn.10051ad0
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x10002b07
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.100048f0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp eax, 0x10
jb 0x10002b2e
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.100048f0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp eax, 0x10
jb 0x10002b55
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.100048f0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
cmp eax, 0x10
jb 0x10002b82
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.100048f0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
cmp eax, 0x10
jb 0x10002bb5
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.100048f0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
cmp eax, 0x10
jb 0x10002bee
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.100048f0
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 0x10002c3c
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.100048f0
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100020f3
xor ecx, ecx
call fcn.10051ad0
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100020f3
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.1005baa0
mov esp, ebp
pop ebp
ret