Function at 0x451810
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x9c70
call fcn.0047e4b0
push ebp
mov ebp, dword [esp + 0x9c78]
mov ecx, dword [ebp + 0x258]
lea eax, [ebp + 0x10178]
cmp ecx, 0xffffffff
mov dword [esp + 0x2c], eax
mov dword [esp + 4], eax
je 0x451f0c
cmp byte [ecx], 0
je 0x451f0c
push ebx
xor ebx, ebx
xor ecx, ecx
push esi
push edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ecx
mov byte [esp + 0x1c], cl
mov byte [esp + 0x17], cl
mov dword [esp + 0x18], ecx
mov esi, eax
mov ecx, 0x2710
xor eax, eax
lea edi, [esp + 0x40]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x40]
push eax
push ecx
push 0x7f
push 0
push edi
push ebp
call fcn.004520f0
add esp, 0x18
test eax, eax
jne 0x451d81
lea edx, [esp + 0x30]
lea eax, [esp + 0x40]
push edx
push 0x49f190
push eax
call fcn.0047e1c0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
cmp eax, 0x69
lea edx, [esp + 0x23]
setne bl
dec ebx
mov byte [esp + ecx + 0x2c], al
and ebx, 0x80
mov ecx, dword [esp + 0x9c90]
mov byte [esp + 0x40], bl
lea eax, [esp + 0x1c]
mov ebp, dword [esp + 0x40]
push ebp
push edx
push 0x80
push edi
push eax
push ecx
call fcn.00451f20
mov ecx, dword [esp + 0x9ca8]
lea edx, [esp + 0x3b]
push ebp
push edx
push 0x81
lea eax, [esp + 0x40]
push edi
push eax
push ecx
call fcn.00451f20
mov ecx, dword [esp + 0x9cc0]
lea edx, [esp + 0x53]
push ebp
push edx
push 0x82
lea eax, [esp + 0x58]
push edi
push eax
push ecx
call fcn.00451f20
mov ecx, dword [esp + 0x9cd8]
add esp, 0x54
lea edx, [esp + 0x17]
lea eax, [esp + 0x10]
push ebp
push edx
push 0x83
push edi
push eax
push ecx
call fcn.00451f20
mov ecx, dword [esp + 0x9c9c]
lea edx, [esp + 0x2f]
push ebp
push edx
push 0x84
lea eax, [esp + 0x34]
push edi
push eax
push ecx
call fcn.00451f20
lea edx, [esp + 0x47]
push ebp
push edx
push 0x87
push edi
mov edi, dword [esp + 0x9cc4]
lea eax, [esp + 0x50]
push eax
push edi
call fcn.00451f20
mov ecx, dword [esp + 0x58]
add esp, 0x48
mov byte [ecx], 0x8f
mov edx, dword [esp + 0x10]
mov byte [edx + 1], 0
mov ecx, dword [esp + 0x10]
mov al, byte [esp + 0x17]
mov dl, byte [esp + 0x1c]
mov byte [ecx + 2], al
mov al, byte [esp + 0x17]
inc al
mov byte [esp + 0x17], al
mov eax, dword [esp + 0x10]
shl dl, 4
or dl, bl
mov byte [eax + 3], dl
mov eax, dword [esp + 0x30]
cmp eax, 0x69
mov eax, dword [esp + 0x10]
setne cl
dec ecx
and ecx, 0x80
mov byte [eax + 4], cl
mov ecx, dword [esp + 0x10]
mov byte [ecx + 5], 1
mov ecx, dword [esp + 0x10]
mov al, byte [edi + 0x1260]
mov byte [ecx + 6], al
mov eax, dword [esp + 0x10]
mov byte [eax + 7], 0
mov ecx, dword [esp + 0x10]
mov byte [ecx + 8], 0
mov eax, dword [esp + 0x10]
cmp esi, eax
je 0x451a24
mov edi, esi
mov ecx, esi
cmp byte [edi], 0x80
jne 0x451a1b
mov bl, byte [eax + 8]
inc bl
mov byte [eax + 8], bl
mov eax, dword [esp + 0x10]
add ecx, 0x12
cmp ecx, eax
mov edi, ecx
jne 0x451a0a
mov byte [eax + 9], 0
mov ecx, dword [esp + 0x10]
cmp esi, ecx
je 0x451a4e
mov edi, esi
mov eax, esi
cmp byte [edi], 0x81
jne 0x451a45
mov bl, byte [ecx + 9]
inc bl
mov byte [ecx + 9], bl
mov ecx, dword [esp + 0x10]
add eax, 0x12
cmp eax, ecx
mov edi, eax
jne 0x451a34
mov byte [ecx + 0xa], 0
mov ecx, dword [esp + 0x10]
cmp esi, ecx
je 0x451a78
mov edi, esi
mov eax, esi
cmp byte [edi], 0x82
jne 0x451a6f
mov bl, byte [ecx + 0xa]
inc bl
mov byte [ecx + 0xa], bl
mov ecx, dword [esp + 0x10]
add eax, 0x12
cmp eax, ecx
mov edi, eax
jne 0x451a5e
mov byte [ecx + 0xb], 0
mov ecx, dword [esp + 0x10]
cmp esi, ecx
je 0x451aa2
mov edi, esi
mov eax, esi
cmp byte [edi], 0x83
jne 0x451a99
mov bl, byte [ecx + 0xb]
inc bl
mov byte [ecx + 0xb], bl
mov ecx, dword [esp + 0x10]
add eax, 0x12
cmp eax, ecx
mov edi, eax
jne 0x451a88
mov byte [ecx + 0xc], 0
mov ecx, dword [esp + 0x10]
cmp esi, ecx
je 0x451acc
mov edi, esi
mov eax, esi
cmp byte [edi], 0x84
jne 0x451ac3
mov bl, byte [ecx + 0xc]
inc bl
mov byte [ecx + 0xc], bl
mov ecx, dword [esp + 0x10]
add eax, 0x12
cmp eax, ecx
mov edi, eax
jne 0x451ab2
mov byte [ecx + 0xd], 0
mov ecx, dword [esp + 0x10]
cmp esi, ecx
je 0x451af6
mov edi, esi
mov eax, esi
cmp byte [edi], 0x85
jne 0x451aed
mov bl, byte [ecx + 0xd]
inc bl
mov byte [ecx + 0xd], bl
mov ecx, dword [esp + 0x10]
add eax, 0x12
cmp eax, ecx
mov edi, eax
jne 0x451adc
mov byte [ecx + 0xe], 0
mov ecx, dword [esp + 0x10]
cmp esi, ecx
je 0x451b20
mov edi, esi
mov eax, esi
cmp byte [edi], 0x86
jne 0x451b17
mov bl, byte [ecx + 0xe]
inc bl
mov byte [ecx + 0xe], bl
mov ecx, dword [esp + 0x10]
add eax, 0x12
cmp eax, ecx
mov edi, eax
jne 0x451b06
mov byte [ecx + 0xf], 0
mov eax, dword [esp + 0x10]
cmp esi, eax
je 0x451b4a
mov edi, esi
mov ecx, esi
cmp byte [edi], 0x87
jne 0x451b41
mov bl, byte [eax + 0xf]
inc bl
mov byte [eax + 0xf], bl
mov eax, dword [esp + 0x10]
add ecx, 0x12
cmp ecx, eax
mov edi, ecx
jne 0x451b30
add eax, 0x12
mov dword [esp + 0x10], eax
mov byte [eax], 0x8f
mov eax, dword [esp + 0x10]
mov byte [eax + 1], 1
mov eax, dword [esp + 0x10]
mov cl, byte [esp + 0x17]
mov byte [eax + 2], cl
mov cl, byte [esp + 0x17]
inc cl
mov byte [esp + 0x17], cl
mov ecx, dword [esp + 0x10]
mov byte [ecx + 3], dl
mov eax, dword [esp + 0x10]
mov byte [eax + 4], 0
mov ecx, dword [esp + 0x10]
cmp esi, ecx
je 0x451ba6
mov edi, esi
mov eax, esi
cmp byte [edi], 0x88
jne 0x451b9d
mov bl, byte [ecx + 4]
inc bl
mov byte [ecx + 4], bl
mov ecx, dword [esp + 0x10]
add eax, 0x12
cmp eax, ecx
mov edi, eax
jne 0x451b8c
mov byte [ecx + 5], 0
mov ecx, dword [esp + 0x10]
cmp esi, ecx
je 0x451bd0
mov edi, esi
mov eax, esi
cmp byte [edi], 0x89
jne 0x451bc7
mov bl, byte [ecx + 5]
inc bl
mov byte [ecx + 5], bl
mov ecx, dword [esp + 0x10]
add eax, 0x12
cmp eax, ecx
mov edi, eax
jne 0x451bb6
mov byte [ecx + 6], 0
mov ecx, dword [esp + 0x10]
cmp esi, ecx
je 0x451bfa
mov edi, esi
mov eax, esi
cmp byte [edi], 0x8a
jne 0x451bf1
mov bl, byte [ecx + 6]
inc bl
mov byte [ecx + 6], bl
mov ecx, dword [esp + 0x10]
add eax, 0x12
cmp eax, ecx
mov edi, eax
jne 0x451be0
mov byte [ecx + 7], 0
mov ecx, dword [esp + 0x10]
cmp esi, ecx
je 0x451c24
mov edi, esi
mov eax, esi
cmp byte [edi], 0x8b
jne 0x451c1b
mov bl, byte [ecx + 7]
inc bl
mov byte [ecx + 7], bl
mov ecx, dword [esp + 0x10]
add eax, 0x12
cmp eax, ecx
mov edi, eax
jne 0x451c0a
mov byte [ecx + 8], 0
mov ecx, dword [esp + 0x10]
cmp esi, ecx
je 0x451c4e
mov edi, esi
mov eax, esi
cmp byte [edi], 0x8c
jne 0x451c45
mov bl, byte [ecx + 8]
inc bl
mov byte [ecx + 8], bl
mov ecx, dword [esp + 0x10]
add eax, 0x12
cmp eax, ecx
mov edi, eax
jne 0x451c34
mov byte [ecx + 9], 0
mov ecx, dword [esp + 0x10]
cmp esi, ecx
je 0x451c78
mov edi, esi
mov eax, esi
cmp byte [edi], 0x8d
jne 0x451c6f
mov bl, byte [ecx + 9]
inc bl
mov byte [ecx + 9], bl
mov ecx, dword [esp + 0x10]
add eax, 0x12
cmp eax, ecx
mov edi, eax
jne 0x451c5e
mov byte [ecx + 0xa], 0
mov eax, dword [esp + 0x10]
cmp esi, eax
je 0x451ca0
mov ecx, esi
cmp byte [ecx], 0x8e
jne 0x451c97
mov cl, byte [eax + 0xa]
inc cl
mov byte [eax + 0xa], cl
mov eax, dword [esp + 0x10]
add esi, 0x12
cmp esi, eax
mov ecx, esi
jne 0x451c86
mov byte [eax + 0xb], 3
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x9c84]
mov byte [ecx + 0xc], 0
mov eax, dword [esp + 0x10]
mov byte [eax + 0xd], 0
mov ecx, dword [esp + 0x10]
mov byte [ecx + 0xe], 0
mov eax, dword [esp + 0x10]
mov byte [eax + 0xf], 0
mov eax, dword [esp + 0x10]
add eax, 0x12
mov dword [esp + 0x10], eax
mov byte [eax], 0x8f
mov ecx, dword [esp + 0x10]
mov byte [ecx + 1], 2
mov ecx, dword [esp + 0x10]
mov al, byte [esp + 0x17]
mov byte [ecx + 2], al
mov bl, byte [esp + 0x17]
mov eax, dword [esp + 0x10]
inc bl
mov byte [esp + 0x17], bl
mov ebx, dword [esp + 0x24]
mov byte [eax + 3], dl
mov ecx, dword [esp + 0x10]
mov byte [ecx + 4], 0
mov edx, dword [esp + 0x10]
mov byte [edx + 5], 0
mov eax, dword [esp + 0x10]
mov byte [eax + 6], 0
mov ecx, dword [esp + 0x10]
mov byte [ecx + 7], 0
mov edx, dword [esp + 0x10]
mov byte [edx + 8], 0
mov eax, dword [esp + 0x10]
mov byte [eax + 9], 0
mov ecx, dword [esp + 0x10]
mov byte [ecx + 0xa], 0
mov edx, dword [esp + 0x10]
mov byte [edx + 0xb], 0
mov eax, dword [esp + 0x10]
mov byte [eax + 0xc], 0
mov ecx, dword [esp + 0x10]
mov byte [ecx + 0xd], 0
mov edx, dword [esp + 0x10]
mov byte [edx + 0xe], 0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov byte [eax + 0xf], 0
mov eax, dword [esp + 0x10]
mov cl, byte [esp + 0x17]
add eax, 0x12
dec cl
mov dword [esp + 0x10], eax
mov byte [esp + edx + 0x28], cl
mov byte [esp + 0x17], 0
jmp 0x451d85
mov eax, dword [esp + 0x10]
mov cl, byte [esp + 0x1c]
mov esi, dword [esp + 0x18]
inc cl
inc esi
cmp cl, 8
mov byte [esp + 0x1c], cl
mov dword [esp + 0x18], esi
jb 0x45186b
mov esi, dword [esp + 0x38]
cmp esi, eax
je 0x451edd
cmp byte [esi], 0x8f
jne 0x451e1f
cmp byte [esi + 1], 1
jne 0x451dd0
mov eax, dword [esp + 0x28]
mov cl, byte [esp + 0x2b]
mov byte [esi + 0xc], al
mov al, byte [esp + 0x2a]
mov byte [esi + 0xd], ah
mov byte [esi + 0xe], al
mov byte [esi + 0xf], cl
cmp byte [esi], 0x8f
jne 0x451e1f
cmp byte [esi + 1], 2
jne 0x451e1f
mov eax, dword [esp + 0x2c]
mov dl, byte [esp + 0x2e]
mov cl, byte [esp + 0x22]
mov byte [esi + 4], al
mov al, byte [esp + 0x2f]
mov byte [esi + 5], ah
mov byte [esi + 7], al
mov eax, dword [esp + 0x20]
mov byte [esi + 6], dl
mov dl, byte [esp + 0x23]
mov byte [esi + 8], al
mov al, byte [esp + 0x26]
mov byte [esi + 0xa], cl
mov cl, byte [esp + 0x27]
mov byte [esi + 9], ah
mov byte [esi + 0xb], dl
mov byte [esi + 0xc], bl
mov byte [esi + 0xd], bh
mov byte [esi + 0xe], al
mov byte [esi + 0xf], cl
xor edx, edx
mov dl, byte [esi]
mov ax, word [edx*2 + 0x4ac260]
xor edx, edx
mov dl, byte [esi + 1]
mov ecx, eax
and ecx, 0xffff
shr ecx, 8
xor ecx, edx
xor edx, edx
mov dh, al
mov ax, word [ecx*2 + 0x4ac260]
xor ax, dx
xor edx, edx
mov dl, byte [esi + 2]
mov ecx, eax
and ecx, 0xffff
shr ecx, 8
xor ecx, edx
xor edx, edx
mov dh, al
mov ax, word [ecx*2 + 0x4ac260]
xor ax, dx
xor edx, edx
mov dl, byte [esi + 3]
mov ecx, eax
and ecx, 0xffff
shr ecx, 8
xor ecx, edx
xor edx, edx
mov dh, al
mov ax, word [ecx*2 + 0x4ac260]
xor ax, dx
xor ecx, ecx
xor edx, edx
mov edi, eax
mov dl, byte [esi + ecx + 4]
and edi, 0xffff
mov ebp, edx
xor edx, edx
shr edi, 8
xor ebp, edi
mov dh, al
mov ax, word [ebp*2 + 0x4ac260]
xor ax, dx
inc ecx
cmp ecx, 0xc
jb 0x451e90
and eax, 0xffff
not eax
push eax
lea eax, [esi + 0x10]
push eax
call fcn.0044ffd0
mov eax, dword [esp + 0x18]
add esi, 0x12
add esp, 8
cmp esi, eax
jne 0x451dad
mov esi, dword [esp + 0x9c84]
sub eax, esi
sub eax, 0x10176
lea ecx, [esi + 0x10174]
push eax
push ecx
call fcn.0044ffd0
add esp, 8
mov byte [esi + 0x10177], 0
mov byte [esi + 0x10176], 0
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x9c70
ret