Function at 0x4472c2
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1010
call fcn.004939a2
push ebx
mov ebx, dword [esp + 0x1018]
push ebp
mov ebp, dword [esp + 0x1024]
mov eax, dword [ebp + 0x10]
push esi
push edi
mov esi, ecx
mov cl, byte [ebp + 0x3030]
push 4
push 0xffffffffffffffff
mov byte [esp + 0x1a], cl
test eax, eax
lea edi, [esi + 0x10]
push edi
mov ecx, ebx
mov dword [esp + 0x28], eax
seta byte [esp + 0x1f]
call fcn.00442222
cmp byte [esp + 0x12], 0
je 0x447333
mov eax, dword [edi]
movzx ecx, byte [esi + 0x13]
mov edx, eax
mov dword [esp + 0x14], eax
shl edx, 0x10
and eax, 0xff00
add edx, eax
xor eax, eax
mov ah, byte [esp + 0x16]
shl edx, 8
add edx, eax
add edx, ecx
mov dword [edi], edx
mov eax, dword [edi]
mov cl, byte [esp + 0x13]
test eax, eax
seta byte [esp + 0x27]
test eax, eax
je 0x447362
test cl, cl
je 0x44735e
cmp eax, dword [esp + 0x1c]
je 0x44735e
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x1010
ret 0xc
test eax, eax
jne 0x447372
test cl, cl
je 0x44736e
mov edx, dword [esp + 0x1c]
mov dword [edi], edx
jmp 0x44737c
test eax, eax
je 0x44737c
test cl, cl
jne 0x44737c
mov dword [edi], 0
push 1
push 0xffffffffffffffff
lea eax, [esp + 0x2e]
push eax
mov ecx, ebx
call fcn.00442222
mov al, byte [esp + 0x26]
cmp al, 0x59
jne 0x44739a
mov byte [esi + 0x20], 1
jmp 0x4473a2
cmp al, 0x4e
jne 0x4473a2
mov byte [esi + 0x20], 0
push 4
push 0xffffffffffffffff
push esi
mov ecx, ebx
call fcn.00442222
cmp byte [esp + 0x12], 0
je 0x4473da
mov eax, dword [esi]
mov dword [esp + 0x14], eax
xor edx, edx
mov dh, byte [esp + 0x16]
mov ecx, eax
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
movzx eax, byte [esi + 3]
shl ecx, 8
add ecx, edx
add ecx, eax
mov dword [esi], ecx
push 4
push 0xffffffffffffffff
lea edi, [esi + 4]
push edi
mov ecx, ebx
call fcn.00442222
cmp byte [esp + 0x12], 0
je 0x447415
mov eax, dword [edi]
mov dword [esp + 0x14], eax
xor edx, edx
mov dh, byte [esp + 0x16]
mov ecx, eax
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
movzx eax, byte [esi + 7]
shl ecx, 8
add ecx, edx
add ecx, eax
mov dword [edi], ecx
push 4
push 0xffffffffffffffff
lea edi, [esi + 8]
push edi
mov ecx, ebx
call fcn.00442222
cmp byte [esp + 0x12], 0
je 0x447450
mov eax, dword [edi]
mov dword [esp + 0x14], eax
xor edx, edx
mov dh, byte [esp + 0x16]
mov ecx, eax
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
movzx eax, byte [esi + 0xb]
shl ecx, 8
add ecx, edx
add ecx, eax
mov dword [edi], ecx
cmp byte [esi + 0x20], 0
je 0x447491
push 4
push 0xffffffffffffffff
lea edi, [esi + 0x14]
push edi
mov ecx, ebx
call fcn.00442222
cmp byte [esp + 0x12], 0
je 0x447491
mov eax, dword [edi]
mov dword [esp + 0x14], eax
xor edx, edx
mov dh, byte [esp + 0x16]
mov ecx, eax
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
movzx eax, byte [esi + 0x17]
shl ecx, 8
add ecx, edx
add ecx, eax
mov dword [edi], ecx
push 4
push 0xffffffffffffffff
lea edi, [esi + 0x18]
push edi
mov ecx, ebx
call fcn.00442222
cmp byte [esp + 0x12], 0
je 0x4474cc
mov eax, dword [edi]
mov dword [esp + 0x14], eax
xor edx, edx
mov dh, byte [esp + 0x16]
mov ecx, eax
shl ecx, 0x10
and eax, 0xff00
add ecx, eax
movzx eax, byte [esi + 0x1b]
shl ecx, 8
add ecx, edx
add ecx, eax
mov dword [edi], ecx
cmp byte [esi + 0x20], 0
je 0x44752e
mov eax, dword [esi]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044df64
mov ecx, dword [esi]
add ecx, ecx
add esp, 4
add ecx, ecx
push ecx
push 0xffffffffffffffff
push eax
mov ecx, ebx
mov dword [esi + 0x24], eax
call fcn.00442222
mov eax, dword [esi]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044df64
mov ecx, dword [esi]
add esp, 4
add ecx, ecx
push ecx
push 0xffffffffffffffff
push eax
mov ecx, ebx
mov dword [esi + 0x28], eax
call fcn.00442222
mov eax, dword [esi]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044df64
mov ecx, dword [esi]
add ecx, ecx
add esp, 4
add ecx, ecx
push ecx
push 0xffffffffffffffff
push eax
mov ecx, ebx
mov dword [esi + 0x2c], eax
call fcn.00442222
mov eax, dword [esi]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044df64
mov ecx, dword [esi]
add esp, 4
add ecx, ecx
push ecx
push 0xffffffffffffffff
push eax
mov ecx, ebx
mov dword [esi + 0x30], eax
call fcn.00442222
cmp byte [esp + 0x12], 0
je 0x447638
xor eax, eax
cmp dword [esi], eax
jbe 0x447638
lea ecx, [ecx]
cmp byte [esi + 0x20], 0
je 0x4475eb
mov edx, dword [esi + 0x24]
mov ecx, dword [edx + eax*4]
lea edi, [edx + eax*4]
mov edx, ecx
shl edx, 0x10
mov dword [esp + 0x14], ecx
and ecx, 0xff00
add edx, ecx
movzx ecx, byte [edi + 3]
shl edx, 8
add edx, ecx
xor ecx, ecx
mov ch, byte [esp + 0x16]
add edx, ecx
mov dword [edi], edx
mov edx, dword [esi + 0x28]
movzx cx, byte [edx + eax*2 + 1]
lea edi, [edx + eax*2]
xor edx, edx
mov dh, byte [edi]
xor cx, dx
mov word [edi], cx
mov ecx, dword [esi + 0x2c]
lea edi, [ecx + eax*4]
mov ecx, dword [edi]
mov edx, ecx
shl edx, 0x10
mov dword [esp + 0x14], ecx
and ecx, 0xff00
add edx, ecx
movzx ecx, byte [edi + 3]
shl edx, 8
add edx, ecx
xor ecx, ecx
mov ch, byte [esp + 0x16]
add edx, ecx
mov dword [edi], edx
mov edx, dword [esi + 0x30]
movzx cx, byte [edx + eax*2 + 1]
lea edi, [edx + eax*2]
xor edx, edx
mov dh, byte [edi]
add eax, 1
xor cx, dx
mov word [edi], cx
cmp eax, dword [esi]
jb 0x4475a2
cmp byte [esi + 0x20], 0
je 0x44765b
mov eax, dword [esi + 0x14]
push eax
call fcn.0044df64
mov ecx, dword [esi + 0x14]
add esp, 4
push ecx
push 0xffffffffffffffff
push eax
mov ecx, ebx
mov dword [esi + 0x3c], eax
call fcn.00442222
mov edx, dword [esi + 0x18]
push edx
call fcn.0044df64
mov ecx, dword [esi + 0x18]
add esp, 4
push ecx
push 0xffffffffffffffff
push eax
mov ecx, ebx
mov dword [esi + 0x40], eax
call fcn.00442222
cmp byte [esp + 0x12], 0
je 0x4476b1
mov edi, dword [esi + 0x40]
xor eax, eax
test dword [esi + 0x18], 0xfffffffe
jbe 0x4476b1
jmp 0x447692
movzx dx, byte [edi + eax*2 + 1]
xor ecx, ecx
mov ch, byte [edi + eax*2]
add eax, 1
xor dx, cx
mov word [edi + eax*2 - 2], dx
mov edx, dword [esi + 0x18]
shr edx, 1
cmp eax, edx
jb 0x447692
cmp byte [esi + 0x20], 0
je 0x44799d
mov eax, dword [esi + 8]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044df64
mov ecx, dword [esi + 8]
add esp, 4
add ecx, ecx
push ecx
push 0xffffffffffffffff
push eax
mov ecx, ebx
mov dword [esi + 0x54], eax
call fcn.00442222
mov edx, dword [esi + 8]
add edx, edx
add edx, edx
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x34]
push eax
mov ecx, ebx
call fcn.00442222
cmp byte [esp + 0x12], 0
je 0x44775b
xor eax, eax
cmp dword [esi + 8], eax
jbe 0x44775b
lea esp, [esp]
mov ecx, dword [esi + 0x54]
movzx dx, byte [ecx + eax*2 + 1]
lea edi, [ecx + eax*2]
xor ecx, ecx
mov ch, byte [edi]
add eax, 1
xor dx, cx
mov word [edi], dx
mov ecx, dword [esp + eax*4 + 0x28]
mov edx, ecx
mov dword [esp + 0x14], ecx
shl edx, 0x10
and ecx, 0xff00
add edx, ecx
movzx ecx, byte [esp + eax*4 + 0x2b]
shl edx, 8
add edx, ecx
xor ecx, ecx
mov ch, byte [esp + 0x16]
add edx, ecx
cmp eax, dword [esi + 8]
mov dword [esp + eax*4 + 0x28], edx
jb 0x447712
cmp byte [esi + 0x20], 0
je 0x44799d
xor edi, edi
cmp dword [esi + 8], edi
mov dword [esp + 0x14], edi
jbe 0x44799d
lea edx, [esp + 0x2c]
mov dword [esp + 0x1c], edx
lea ebx, [ebx]
mov eax, dword [esi + 0x54]
movzx eax, word [eax + edi]
lea ecx, [eax + eax*2]
mov edx, dword [ebp + ecx*4 + 0x40]
mov ebx, dword [ebp + ecx*4 + 0x3c]
lea eax, [ebp + ecx*4 + 0x38]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x28], edx
xor ecx, ecx
add eax, ebx
mov edx, 4
mul edx
seto cl
mov dword [esp + 0x18], ebx
neg ecx
or ecx, eax
push ecx
call fcn.0044df64
mov ecx, dword [esi + 0x54]
movzx ecx, word [ecx + edi]
add esp, 4
cmp byte [esp + 0x13], 0
lea edx, [ecx + ecx*2]
mov dword [ebp + edx*4 + 0x40], eax
je 0x44780e
xor eax, eax
test ebx, ebx
jbe 0x447801
lea ebx, [ebx]
mov ecx, dword [esi + 0x54]
movzx ecx, word [ecx + edi]
lea edx, [ecx + ecx*2]
mov ecx, dword [ebp + edx*4 + 0x40]
mov edx, dword [esp + 0x28]
mov edx, dword [edx + eax*4]
mov dword [ecx + eax*4], edx
add eax, 1
cmp eax, ebx
jb 0x4477e2
mov eax, dword [esp + 0x28]
push eax
call fcn.0044df69
add esp, 4
mov ecx, dword [esi + 0x54]
movzx eax, word [ecx + edi]
mov ecx, dword [esp + 0x1c]
lea edx, [eax + eax*2]
lea eax, [ebp + edx*4 + 0x3c]
mov edx, dword [ecx]
add dword [eax], edx
cmp dword [ecx], 0
mov dword [esp + 0x28], 0
jbe 0x44797a
add ebx, ebx
add ebx, ebx
jmp 0x447842
mov ecx, dword [esp + 0x1024]
push 4
push 0xffffffffffffffff
lea eax, [esp + 0x28]
push eax
call fcn.00442222
cmp byte [esp + 0x12], 0
je 0x447887
mov ecx, dword [esp + 0x20]
mov eax, ecx
shl eax, 0x10
mov edx, ecx
and edx, 0xff00
add eax, edx
xor edx, edx
mov dh, byte [esp + 0x22]
shl eax, 8
shr ecx, 0x18
add eax, edx
add eax, ecx
mov dword [esp + 0x20], eax
jmp 0x44788b
mov eax, dword [esp + 0x20]
cmp byte [esp + 0x27], 0
je 0x4478b4
cmp byte [esp + 0x13], 0
je 0x4478bb
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x54]
add ecx, eax
movzx eax, word [edx + edi]
lea eax, [eax + eax*2]
mov edx, dword [ebp + eax*4 + 0x40]
mov dword [ebx + edx], ecx
jmp 0x447960
cmp byte [esp + 0x13], 0
jne 0x4478d1
mov ecx, dword [esi + 0x54]
movzx ecx, word [ecx + edi]
lea edx, [ecx + ecx*2]
mov ecx, dword [ebp + edx*4 + 0x40]
mov dword [ebx + ecx], eax
jmp 0x447960
mov edx, dword [esi + 0x30]
movzx ecx, word [edx + eax*2]
mov edx, dword [esi + 0x2c]
push ecx
mov ecx, dword [edx + eax*4]
add ecx, dword [esi + 0x40]
mov edx, dword [esi + 0x28]
push ecx
movzx ecx, word [edx + eax*2]
mov edx, dword [esi + 0x24]
push ecx
mov ecx, dword [edx + eax*4]
add ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x54]
push ecx
movzx ecx, word [edx + edi]
lea ecx, [ecx + ecx*2]
mov edx, dword [ebp + ecx*4 + 0x40]
mov ecx, dword [esp + 0x28]
push edx
push ecx
push eax
mov ecx, ebp
call fcn.00446202
test al, al
je 0x447948
mov edx, dword [esi + 0x28]
mov eax, dword [esp + 0x20]
mov word [edx + eax*2], 0
mov ecx, dword [esi + 0x30]
mov edx, dword [esp + 0x20]
mov word [ecx + edx*2], 0
mov eax, dword [esi + 0x54]
movzx eax, word [eax + edi]
lea ecx, [eax + eax*2]
add dword [ebp + ecx*4 + 0x3c], 0xffffffff
add dword [esi + 4], 0xffffffff
lea eax, [ebp + ecx*4 + 0x3c]
jmp 0x447963
mov eax, dword [esi + 0x54]
movzx eax, word [eax + edi]
mov edx, dword [esi + 0x10]
add edx, dword [esp + 0x20]
lea ecx, [eax + eax*2]
mov eax, dword [ebp + ecx*4 + 0x40]
mov dword [ebx + eax], edx
add ebx, 4
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
add eax, 1
cmp eax, dword [ecx]
mov dword [esp + 0x28], eax
jb 0x447842
mov eax, dword [esp + 0x14]
add dword [esp + 0x1c], 4
add eax, 1
add edi, 2
cmp eax, dword [esi + 8]
mov dword [esp + 0x14], eax
jb 0x447782
mov ebx, dword [esp + 0x1024]
push 4
push 0xffffffffffffffff
lea edi, [esi + 0xc]
push edi
mov ecx, ebx
call fcn.00442222
cmp byte [esp + 0x12], 0
je 0x4479d8
mov eax, dword [edi]
movzx ecx, byte [esi + 0xf]
mov edx, eax
mov dword [esp + 0x18], eax
shl edx, 0x10
and eax, 0xff00
add edx, eax
xor eax, eax
mov ah, byte [esp + 0x1a]
shl edx, 8
add edx, eax
add edx, ecx
mov dword [edi], edx
cmp dword [edi], 0
je 0x447b90
push 4
push 0xffffffffffffffff
lea ebp, [esi + 0x1c]
push ebp
mov ecx, ebx
call fcn.00442222
cmp byte [esp + 0x12], 0
je 0x447a1e
mov eax, dword [ebp]
movzx ecx, byte [esi + 0x1f]
mov edx, eax
mov dword [esp + 0x18], eax
shl edx, 0x10
and eax, 0xff00
add edx, eax
xor eax, eax
mov ah, byte [esp + 0x1a]
shl edx, 8
add edx, eax
add edx, ecx
mov dword [ebp], edx
mov eax, dword [edi]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044df64
mov ecx, dword [edi]
add ecx, ecx
add esp, 4
add ecx, ecx
push ecx
push 0xffffffffffffffff
push eax
mov ecx, ebx
mov dword [esi + 0x58], eax
call fcn.00442222
mov eax, dword [edi]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044df64
mov ecx, dword [edi]
add ecx, ecx
add esp, 4
add ecx, ecx
push ecx
push 0xffffffffffffffff
push eax
mov ecx, ebx
mov dword [esi + 0x34], eax
call fcn.00442222
mov eax, dword [edi]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044df64
mov ecx, dword [edi]
add esp, 4
add ecx, ecx
push ecx
push 0xffffffffffffffff
push eax
mov ecx, ebx
mov dword [esi + 0x38], eax
call fcn.00442222
cmp byte [esp + 0x12], 0
je 0x447b3f
xor eax, eax
cmp dword [edi], eax
jbe 0x447b3f
lea esp, [esp]
mov edx, dword [esi + 0x38]
lea ecx, [edx + eax*2]
movzx dx, byte [ecx + 1]
mov dword [esp + 0x14], ebx
xor ebx, ebx
mov bh, byte [ecx]
xor dx, bx
mov word [ecx], dx
mov ecx, dword [esi + 0x34]
lea edx, [ecx + eax*4]
mov ecx, dword [edx]
mov ebp, ecx
mov dword [esp + 0x18], ecx
shl ebp, 0x10
and ecx, 0xff00
add ebp, ecx
movzx ecx, byte [edx + 3]
shl ebp, 8
add ebp, ecx
xor ecx, ecx
mov ch, byte [esp + 0x1a]
mov ebx, dword [esp + 0x14]
add ebp, ecx
mov dword [edx], ebp
mov edx, dword [esi + 0x58]
mov ecx, dword [edx + eax*4]
lea edx, [edx + eax*4]
mov ebp, ecx
mov dword [esp + 0x18], ecx
shl ebp, 0x10
and ecx, 0xff00
add ebp, ecx
movzx ecx, byte [edx + 3]
shl ebp, 8
add ebp, ecx
xor ecx, ecx
mov ch, byte [esp + 0x1a]
add eax, 1
add ebp, ecx
mov dword [edx], ebp
cmp eax, dword [edi]
jb 0x447ac2
mov edx, dword [esi + 0x1c]
lea edi, [esi + 0x1c]
push edx
call fcn.0044df64
mov ecx, dword [edi]
add esp, 4
push ecx
push 0xffffffffffffffff
push eax
mov ecx, ebx
mov dword [esi + 0x44], eax
call fcn.00442222
cmp byte [esp + 0x12], 0
je 0x447b90
mov esi, dword [esi + 0x44]
xor eax, eax
test dword [edi], 0xfffffffe
jbe 0x447b90
movzx dx, byte [esi + eax*2 + 1]
xor ecx, ecx
mov ch, byte [esi + eax*2]
add eax, 1
xor dx, cx
mov word [esi + eax*2 - 2], dx
mov edx, dword [edi]
shr edx, 1
cmp eax, edx
jb 0x447b72
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1010
ret 0xc