Function at 0x100d1fbb
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
mov eax, 0xffffffea
push esi
push ebx
sub esp, 0xc4
cmp dword [esp + 0xe0], 0
mov esi, dword [esp + 0xdc]
js 0x100d29e4
cmp dword [esp + 0xe0], 0x80
jg 0x100d1fff
mov eax, dword [esp + 0xd8]
mov dword [eax + 0xb0], 2
jmp 0x100d201f
xor eax, eax
cmp dword [esp + 0xe0], 0xc0
mov edi, dword [esp + 0xd8]
setg al
add eax, 3
mov dword [edi + 0xb0], eax
xor eax, eax
cmp dword [esp + 0xe0], 0x100
lea edx, [esp + 0xa0]
mov ecx, 8
mov edi, edx
rep stosd dword es:[edi], eax
jg 0x100d204e
mov ecx, dword [esp + 0xe0]
mov edi, edx
sar ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x100d2057
mov ecx, 8
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xd8]
mov eax, dword [eax + 0xb0]
mov edx, eax
mov dword [esp + 0xc], eax
add edx, eax
xor eax, eax
cmp eax, edx
jge 0x100d2083
mov ecx, dword [esp + eax*4 + 0xa0]
mov dword [esp + eax*4 + 0x80], ecx
inc eax
jmp 0x100d206e
mov eax, dword [esp + 0xd8]
mov edi, dword [esp + 0xc]
mov dword [esp + 4], 0
lea eax, [eax + edi*4]
mov dword [esp + 0x48], eax
mov edi, dword [esp + 0xc]
cmp dword [esp + 4], edi
jge 0x100d2876
mov eax, dword [esp + 4]
mov edi, dword [esp + 4]
xor esi, esi
mov cl, 1
mov eax, dword [esp + eax*8 + 0x80]
mov dword [esp + edi*4 + 0x60], eax
mov edi, dword [esp + edi*8 + 0x84]
mov dl, al
mov byte [esp + 0x42], al
mov dword [esp], edi
mov edi, dword [esp + 4]
mov ebx, dword [esp]
mov dword [esp + edi*4 + 0x70], ebx
test dl, dl
je 0x100d20fc
test cl, cl
je 0x100d20fc
xor esi, edx
mov bl, dl
add edx, edx
mov cl, dl
and ebx, 0xffffff80
xor ecx, 0x4d
test bl, bl
cmovne edx, ecx
xor ecx, ecx
jmp 0x100d20dd
movzx edi, ah
xor ecx, ecx
mov bl, 0xa4
mov dword [esp + 0x20], edi
mov dl, byte [esp + 0x20]
mov dword [esp + 0x10], eax
test bl, bl
je 0x100d2138
test dl, dl
je 0x100d2138
mov edi, ecx
mov ebp, edx
xor edi, edx
test bl, 1
cmovne ecx, edi
add edx, edx
and ebp, 0xffffff80
mov edi, edx
mov eax, ebp
xor edi, 0x4d
test al, al
cmovne edx, edi
shr bl, 1
jmp 0x100d210f
mov eax, dword [esp + 0x10]
xor esi, ecx
xor ecx, ecx
mov edi, eax
shr edi, 0x10
mov dword [esp + 0x30], edi
mov bl, byte [esp + 0x30]
mov byte [esp + 0x43], bl
mov dl, bl
mov bl, 0x55
test bl, bl
je 0x100d217e
test dl, dl
je 0x100d217e
mov edi, ecx
mov ebp, edx
xor edi, edx
test bl, 1
cmovne ecx, edi
add edx, edx
and ebp, 0xffffff80
mov edi, edx
mov eax, ebp
xor edi, 0x4d
test al, al
cmovne edx, edi
shr bl, 1
jmp 0x100d2155
mov eax, dword [esp + 0x10]
xor ecx, esi
xor esi, esi
mov edi, eax
shr edi, 0x18
mov dword [esp + 0x34], edi
mov bl, byte [esp + 0x34]
mov byte [esp + 0x44], bl
mov dl, bl
mov bl, 0x87
test bl, bl
je 0x100d21c4
test dl, dl
je 0x100d21c4
mov edi, esi
mov ebp, edx
xor edi, edx
test bl, 1
cmovne esi, edi
add edx, edx
and ebp, 0xffffff80
mov edi, edx
mov eax, ebp
xor edi, 0x4d
test al, al
cmovne edx, edi
shr bl, 1
jmp 0x100d219b
mov bl, byte [esp]
xor esi, ecx
xor ecx, ecx
mov byte [esp + 0x45], bl
mov dl, bl
mov bl, 0x5a
test bl, bl
je 0x100d21fc
test dl, dl
je 0x100d21fc
mov edi, ecx
mov ebp, edx
xor edi, edx
test bl, 1
cmovne ecx, edi
add edx, edx
and ebp, 0xffffff80
mov edi, edx
mov eax, ebp
xor edi, 0x4d
test al, al
cmovne edx, edi
shr bl, 1
jmp 0x100d21d3
mov ebx, esi
mov eax, dword [esp + 0x10]
mov esi, 0x58
xor ebx, ecx
mov ecx, dword [esp]
mov dword [esp + 0x38], eax
movzx edi, ch
xor ecx, ecx
mov dword [esp + 0x10], edi
mov dl, byte [esp + 0x10]
mov eax, esi
test al, al
je 0x100d224f
test dl, dl
je 0x100d224f
mov edi, ecx
mov ebp, edx
xor edi, edx
test esi, 1
cmovne ecx, edi
add edx, edx
and ebp, 0xffffff80
mov edi, edx
mov eax, ebp
xor edi, 0x4d
test al, al
mov eax, esi
cmovne edx, edi
shr al, 1
mov esi, eax
jmp 0x100d221d
mov edi, dword [esp]
mov eax, dword [esp + 0x38]
xor ecx, ebx
mov esi, 0xffffffdb
shr edi, 0x10
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edi
mov bl, byte [esp + 0x38]
mov byte [esp + 0x46], bl
mov dl, bl
xor ebx, ebx
mov eax, esi
test al, al
je 0x100d22a6
test dl, dl
je 0x100d22a6
mov edi, ebx
mov ebp, edx
xor edi, edx
test esi, 1
cmovne ebx, edi
add edx, edx
and ebp, 0xffffff80
mov edi, edx
mov eax, ebp
xor edi, 0x4d
test al, al
mov eax, esi
cmovne edx, edi
shr al, 1
mov esi, eax
jmp 0x100d2274
mov edi, dword [esp]
mov eax, dword [esp + 0x3c]
xor ebx, ecx
mov esi, 0xffffff9e
shr edi, 0x18
mov dword [esp + 0x4c], eax
mov dword [esp + 0x3c], edi
mov cl, byte [esp + 0x3c]
mov byte [esp + 0x47], cl
mov dl, cl
xor ecx, ecx
mov eax, esi
test al, al
je 0x100d22fd
test dl, dl
je 0x100d22fd
mov edi, ecx
mov ebp, edx
xor edi, edx
test esi, 1
cmovne ecx, edi
add edx, edx
and ebp, 0xffffff80
mov edi, edx
mov eax, ebp
xor edi, 0x4d
test al, al
mov eax, esi
cmovne edx, edi
shr al, 1
mov esi, eax
jmp 0x100d22cb
mov eax, dword [esp + 0x4c]
xor ebx, ecx
xor esi, esi
mov byte [esp + 8], bl
mov cl, 0xa4
mov dl, al
mov ebp, eax
test cl, cl
je 0x100d2338
test dl, dl
je 0x100d2338
mov ebx, esi
mov edi, edx
xor ebx, edx
test cl, 1
cmovne esi, ebx
add edx, edx
and edi, 0xffffff80
mov bl, dl
mov eax, edi
xor ebx, 0x4d
test al, al
cmovne edx, ebx
shr cl, 1
jmp 0x100d230f
mov dl, byte [esp + 0x20]
xor ecx, ecx
mov bl, 0x56
mov dword [esp + 0x4c], ebp
test bl, bl
je 0x100d236d
test dl, dl
je 0x100d236d
mov edi, ecx
mov ebp, edx
xor edi, edx
test bl, 1
cmovne ecx, edi
add edx, edx
and ebp, 0xffffff80
mov edi, edx
mov eax, ebp
xor edi, 0x4d
test al, al
cmovne edx, edi
shr bl, 1
jmp 0x100d2344
mov dl, byte [esp + 0x30]
xor ecx, esi
mov bl, 0x82
xor esi, esi
test bl, bl
je 0x100d23a0
test dl, dl
je 0x100d23a0
mov edi, esi
mov ebp, edx
xor edi, edx
test bl, 1
cmovne esi, edi
add edx, edx
and ebp, 0xffffff80
mov edi, edx
mov eax, ebp
xor edi, 0x4d
test al, al
cmovne edx, edi
shr bl, 1
jmp 0x100d2377
mov dl, byte [esp + 0x34]
xor ecx, esi
xor edi, edi
mov bl, 0xf3
test bl, bl
je 0x100d23d3
test dl, dl
je 0x100d23d3
mov esi, edi
mov ebp, edx
xor esi, edx
test bl, 1
cmovne edi, esi
add edx, edx
and ebp, 0xffffff80
mov esi, edx
mov eax, ebp
xor esi, 0x4d
test al, al
cmovne edx, esi
shr bl, 1
jmp 0x100d23aa
mov dl, byte [esp]
xor ecx, edi
xor esi, esi
mov bl, 0x1e
test bl, bl
je 0x100d2405
test dl, dl
je 0x100d2405
mov edi, esi
mov ebp, edx
xor edi, edx
test bl, 1
cmovne esi, edi
add edx, edx
and ebp, 0xffffff80
mov edi, edx
mov eax, ebp
xor edi, 0x4d
test al, al
cmovne edx, edi
shr bl, 1
jmp 0x100d23dc
mov dl, byte [esp + 0x10]
mov ebx, esi
mov esi, 0xffffffc6
xor ebx, ecx
xor ecx, ecx
mov eax, esi
test al, al
je 0x100d2446
test dl, dl
je 0x100d2446
mov edi, ecx
mov ebp, edx
xor edi, edx
test esi, 1
cmovne ecx, edi
add edx, edx
and ebp, 0xffffff80
mov edi, edx
mov eax, ebp
xor edi, 0x4d
test al, al
mov eax, esi
cmovne edx, edi
shr al, 1
mov esi, eax
jmp 0x100d2414
mov dl, byte [esp + 0x38]
xor ecx, ebx
mov esi, 0x68
xor ebx, ebx
mov eax, esi
test al, al
je 0x100d2485
test dl, dl
je 0x100d2485
mov edi, ebx
mov ebp, edx
xor edi, edx
test esi, 1
cmovne ebx, edi
add edx, edx
and ebp, 0xffffff80
mov edi, edx
mov eax, ebp
xor edi, 0x4d
test al, al
mov eax, esi
cmovne edx, edi
shr al, 1
mov esi, eax
jmp 0x100d2453
mov dl, byte [esp + 0x3c]
xor ebx, ecx
mov esi, 0xffffffe5
xor ecx, ecx
mov eax, esi
test al, al
je 0x100d24c4
test dl, dl
je 0x100d24c4
mov edi, ecx
mov ebp, edx
xor edi, edx
test esi, 1
cmovne ecx, edi
add edx, edx
and ebp, 0xffffff80
mov edi, edx
mov eax, ebp
xor edi, 0x4d
test al, al
mov eax, esi
cmovne edx, edi
shr al, 1
mov esi, eax
jmp 0x100d2492
xor ebx, ecx
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x4c]
mov dl, 2
mov ch, bl
xor ebx, ebx
mov dword [esp + 8], ecx
test dl, dl
je 0x100d2503
test al, al
je 0x100d2503
mov cl, bl
mov esi, eax
xor ecx, eax
test dl, 1
cmovne ebx, ecx
add eax, eax
and esi, 0xffffff80
mov cl, al
xor ecx, 0x4d
mov edi, ecx
mov ecx, esi
test cl, cl
cmovne eax, edi
shr dl, 1
jmp 0x100d24d8
mov al, byte [esp + 0x20]
xor edx, edx
mov cl, 0xa1
mov ebp, ebx
test cl, cl
je 0x100d2536
test al, al
je 0x100d2536
mov esi, edx
mov edi, eax
xor esi, eax
test cl, 1
cmovne edx, esi
add eax, eax
and edi, 0xffffff80
mov esi, eax
mov ebx, edi
xor esi, 0x4d
test bl, bl
cmovne eax, esi
shr cl, 1
jmp 0x100d250d
mov ebx, ebp
mov al, byte [esp + 0x30]
mov cl, 0xfc
xor edx, ebx
xor ebx, ebx
mov ebp, edx
test cl, cl
je 0x100d256d
test al, al
je 0x100d256d
mov esi, ebx
mov edi, eax
xor esi, eax
test cl, 1
cmovne ebx, esi
add eax, eax
and edi, 0xffffff80
mov esi, eax
mov edx, edi
xor esi, 0x4d
test dl, dl
cmovne eax, esi
shr cl, 1
jmp 0x100d2544
mov edx, ebp
mov al, byte [esp + 0x34]
xor esi, esi
xor edx, ebx
mov cl, 0xc1
mov ebp, edx
test cl, cl
je 0x100d25a4
test al, al
je 0x100d25a4
mov ebx, esi
mov edi, eax
xor ebx, eax
test cl, 1
cmovne esi, ebx
add eax, eax
and edi, 0xffffff80
mov bl, al
mov edx, edi
xor ebx, 0x4d
test dl, dl
cmovne eax, ebx
shr cl, 1
jmp 0x100d257b
mov edx, ebp
mov al, byte [esp]
xor ebx, ebx
xor edx, esi
mov cl, 0x47
mov ebp, edx
test cl, cl
je 0x100d25da
test al, al
je 0x100d25da
mov esi, ebx
mov edi, eax
xor esi, eax
test cl, 1
cmovne ebx, esi
add eax, eax
and edi, 0xffffff80
mov esi, eax
mov edx, edi
xor esi, 0x4d
test dl, dl
cmovne eax, esi
shr cl, 1
jmp 0x100d25b1
mov ecx, ebp
mov al, byte [esp + 0x10]
xor edx, edx
xor ecx, ebx
mov bl, 0xae
mov ebp, ecx
test bl, bl
je 0x100d2611
test al, al
je 0x100d2611
mov esi, edx
mov edi, eax
xor esi, eax
test bl, 1
cmovne edx, esi
add eax, eax
and edi, 0xffffff80
mov esi, eax
mov ecx, edi
xor esi, 0x4d
test cl, cl
cmovne eax, esi
shr bl, 1
jmp 0x100d25e8
mov ecx, ebp
mov al, byte [esp + 0x38]
mov bl, 0x3d
xor edx, ecx
xor ecx, ecx
mov ebp, edx
test bl, bl
je 0x100d2648
test al, al
je 0x100d2648
mov esi, ecx
mov edi, eax
xor esi, eax
test bl, 1
cmovne ecx, esi
add eax, eax
and edi, 0xffffff80
mov esi, eax
mov edx, edi
xor esi, 0x4d
test dl, dl
cmovne eax, esi
shr bl, 1
jmp 0x100d261f
mov edx, ebp
mov al, byte [esp + 0x3c]
mov bl, 0x19
xor ecx, edx
xor edx, edx
mov ebp, ecx
test bl, bl
je 0x100d267f
test al, al
je 0x100d267f
mov esi, edx
mov edi, eax
xor esi, eax
test bl, 1
cmovne edx, esi
add eax, eax
and edi, 0xffffff80
mov esi, eax
mov ecx, edi
xor esi, 0x4d
test cl, cl
cmovne eax, esi
shr bl, 1
jmp 0x100d2656
mov ecx, ebp
mov al, 0xa4
xor ecx, edx
mov edx, dword [esp + 8]
movzx ecx, cl
shl ecx, 0x10
and edx, 0xff00ffff
or edx, ecx
mov cl, byte [esp + 0x42]
mov dword [esp], edx
xor edx, edx
test al, al
je 0x100d26ca
test cl, cl
je 0x100d26ca
mov bl, dl
mov esi, ecx
xor ebx, ecx
test al, 1
cmovne edx, ebx
add ecx, ecx
and esi, 0xffffff80
mov bl, cl
xor ebx, 0x4d
mov edi, ebx
mov ebx, esi
test bl, bl
cmovne ecx, edi
shr al, 1
jmp 0x100d26a0
mov bl, byte [esp + 0x20]
xor eax, eax
mov cl, 0x55
mov ebp, edx
test cl, cl
je 0x100d26fd
test bl, bl
je 0x100d26fd
mov esi, eax
mov edi, ebx
xor esi, ebx
test cl, 1
cmovne eax, esi
add ebx, ebx
and edi, 0xffffff80
mov esi, ebx
mov edx, edi
xor esi, 0x4d
test dl, dl
cmovne ebx, esi
shr cl, 1
jmp 0x100d26d4
mov edx, ebp
mov bl, byte [esp + 0x43]
xor ecx, ecx
xor eax, edx
mov dl, 0x87
mov ebp, eax
test dl, dl
je 0x100d2734
test bl, bl
je 0x100d2734
mov esi, ecx
mov edi, ebx
xor esi, ebx
test dl, 1
cmovne ecx, esi
add ebx, ebx
and edi, 0xffffff80
mov esi, ebx
mov eax, edi
xor esi, 0x4d
test al, al
cmovne ebx, esi
shr dl, 1
jmp 0x100d270b
mov eax, ebp
xor ebx, ebx
mov dl, 0x5a
xor eax, ecx
mov cl, byte [esp + 0x44]
mov ebp, eax
test dl, dl
je 0x100d276b
test cl, cl
je 0x100d276b
mov esi, ebx
mov edi, ecx
xor esi, ecx
test dl, 1
cmovne ebx, esi
add ecx, ecx
and edi, 0xffffff80
mov esi, ecx
mov eax, edi
xor esi, 0x4d
test al, al
cmovne ecx, esi
shr dl, 1
jmp 0x100d2742
mov eax, ebp
mov cl, byte [esp + 0x45]
xor esi, esi
xor eax, ebx
mov dl, 0x58
mov ebp, eax
test dl, dl
je 0x100d27a2
test cl, cl
je 0x100d27a2
mov ebx, esi
mov edi, ecx
xor ebx, ecx
test dl, 1
cmovne esi, ebx
add ecx, ecx
and edi, 0xffffff80
mov bl, cl
mov eax, edi
xor ebx, 0x4d
test al, al
cmovne ecx, ebx
shr dl, 1
jmp 0x100d2779
mov eax, ebp
mov cl, byte [esp + 0x10]
xor edi, edi
xor eax, esi
mov dl, 0xdb
mov ebp, eax
test dl, dl
je 0x100d27d9
test cl, cl
je 0x100d27d9
mov ebx, edi
mov esi, ecx
xor ebx, ecx
test dl, 1
cmovne edi, ebx
add ecx, ecx
and esi, 0xffffff80
mov bl, cl
mov eax, esi
xor ebx, 0x4d
test al, al
cmovne ecx, ebx
shr dl, 1
jmp 0x100d27b0
mov eax, ebp
mov cl, byte [esp + 0x46]
xor ebp, ebp
xor eax, edi
mov dl, 0x9e
mov edi, eax
test dl, dl
je 0x100d2810
test cl, cl
je 0x100d2810
mov ebx, ebp
mov esi, ecx
xor ebx, ecx
test dl, 1
cmovne ebp, ebx
add ecx, ecx
and esi, 0xffffff80
mov bl, cl
mov eax, esi
xor ebx, 0x4d
test al, al
cmovne ecx, ebx
shr dl, 1
jmp 0x100d27e7
mov eax, edi
mov bl, byte [esp + 0x47]
xor edx, edx
xor eax, ebp
mov cl, 3
mov ebp, eax
test cl, cl
je 0x100d2847
test bl, bl
je 0x100d2847
mov esi, edx
mov edi, ebx
xor esi, ebx
test cl, 1
cmovne edx, esi
add ebx, ebx
and edi, 0xffffff80
mov esi, ebx
mov eax, edi
xor esi, 0x4d
test al, al
cmovne ebx, esi
shr cl, 1
jmp 0x100d281e
mov eax, ebp
mov edi, dword [esp + 0x48]
xor eax, edx
mov edx, dword [esp]
shl eax, 0x18
and edx, 0xffffff
or edx, eax
imul eax, dword [esp + 4], 0xfffffffc
mov dword [esp + 8], edx
inc dword [esp + 4]
mov dword [edi + eax + 0x9c], edx
jmp 0x100d209d
mov eax, dword [esp + 0xd8]
xor ebx, ebx
lea esi, [eax + 0xb4]
lea edi, [eax + 0xa0]
mov eax, dword [esp + 0xd8]
mov edx, edi
mov byte [esp + 0x5f], bl
mov byte [esp + 0x5e], bl
mov byte [esp + 0x5d], bl
add esi, 4
mov byte [esp + 0x5c], bl
inc ebx
mov ecx, dword [eax + 0xb0]
lea eax, [esp + 0x5c]
call fcn.100d1df0
movzx edx, byte [esp + 0x5c]
movzx eax, byte [edx + 0x100ea260]
movzx ebp, byte [edx + 0x100ea360]
mov ecx, eax
shl ebp, 8
shl eax, 0x18
shl ecx, 0x10
xor ecx, ebp
xor edx, ecx
movzx ecx, byte [esp + 0x5d]
xor edx, eax
mov dword [esi - 4], edx
movzx edx, byte [ecx + 0x100ea260]
mov eax, ecx
shl eax, 0x18
xor eax, edx
mov ebp, eax
mov eax, edx
movzx edx, byte [ecx + 0x100ea360]
shl eax, 8
xor eax, ebp
movzx ebp, byte [esp + 0x5f]
shl edx, 0x10
xor eax, edx
mov dword [esi + 0x3fc], eax
movzx eax, byte [esp + 0x5e]
movzx edx, byte [eax + 0x100ea260]
movzx ecx, byte [eax + 0x100ea360]
shl eax, 0x10
xor eax, ecx
mov ecx, edx
shl edx, 0x18
shl ecx, 8
xor eax, ecx
xor eax, edx
mov edx, ebp
shl edx, 8
mov dword [esi + 0x7fc], eax
movzx eax, byte [ebp + 0x100ea360]
mov ecx, edx
movzx edx, byte [ebp + 0x100ea260]
xor ecx, eax
shl eax, 0x18
shl edx, 0x10
xor edx, ecx
xor eax, edx
mov dword [esi + 0xbfc], eax
cmp ebx, 0x100
jne 0x100d288b
mov eax, dword [esp + 0xd8]
xor esi, esi
lea edi, [eax + 4]
mov ebx, eax
mov ecx, dword [ebx + 0xb0]
lea edx, [esp + 0x60]
mov eax, esi
add edi, 8
call fcn.100d1f24
mov ecx, dword [ebx + 0xb0]
mov ebp, eax
lea edx, [esp + 0x70]
lea eax, [esi + 0x1010101]
add esi, 0x2020202
call fcn.100d1f24
rol eax, 8
lea edx, [ebp + eax]
mov dword [edi - 0xc], edx
add edx, eax
rol edx, 9
mov dword [edi - 8], edx
cmp esi, 0x28282828
jne 0x100d297c
mov eax, dword [esp + 0xd8]
mov eax, dword [eax + 0xb0]
shl eax, 6
cmp eax, dword [esp + 0xe0]
setne al
movzx eax, al
add esp, 0xc4
pop ebx
pop esi
pop edi
pop ebp
ret