Function at 0x425b90
Capabilities:
Encode data using xor

Disassembly:
push ebp
call fcn.00408260
add esp, 4
inc ebx
lea eax, [esp + 0x96]
mov dword [esp + 0x30], eax
xor eax, eax
cmp ebx, dword [esp + 0x38]
setb al
jmp dword [eax*4 + 0x44780c]
mov eax, esi
and eax, 1
xor esi, 1
lea esi, [esi + eax*2]
lea eax, [esp + 0x14]
lea ebx, [esp + 0xe04]
lea ecx, [esp + 0x74]
lea edx, [esp + 0x78]
push eax
push ebx
push ecx
push edx
lea eax, [esp + 0xa4]
push eax
push esi
push dword [esp + 0x64]
call fcn.00441220
add esp, 0x1c
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x447854]
test byte [esp + 4], 1
sete al
mov ebx, dword [esp + 0x74]
cmp ebx, 1
sete cl
and cl, al
movzx eax, cl
jmp dword [eax*4 + 0x44785c]
mov ecx, dword [case.0x425e63.8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
jmp ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp + 0x18], 0x61fb67a7
mov dword [esp + 0x1c], 0x5df363fd
mov dword [esp + 0x20], 0x59c85fd3
mov dword [esp + 0x24], 0x555a5bd4
mov byte [esp + 0x28], 0
xor ecx, ecx
nop
movzx esi, byte [esp + ecx + 0x18]
lea edx, [ecx + 0x4c781c19]
xor edx, esi
and esi, 0xffffff80
mov eax, edx
and eax, 2
or esi, 2
imul esi, eax
xor edx, 0x82
add edx, esi
inc dl
mov byte [esp + ecx + 0x18], dl
mov eax, ecx
and eax, 1
xor ecx, 1
lea ecx, [ecx + eax*2]
cmp ecx, 0x11
jb 0x425920
movzx esi, word [esp + 0x18]
lea ebp, [esp + 0x94]
test si, si
je 0x4259ac
lea ecx, [esp + 0x94]
lea ebx, [esp + 0x18]
mov ebp, ecx
jmp 0x425988
movzx esi, word [ebx]
test si, si
je 0x4259ac
movzx eax, word [ecx]
test ax, ax
je 0x4259aa
add ecx, 2
add ebx, 2
lea edx, [ebp + 2]
cmp ax, si
je 0x4259a2
mov ebp, edx
mov ecx, edx
je 0x425980
lea ebx, [esp + 0x18]
jmp 0x425980
xor ebp, ebp
xor edx, edx
test ebp, ebp
setne dl
mov esi, dword [esp + 8]
mov ebx, dword [esp + 0xc]
jmp dword [edx*4 + 0x447864]
xor eax, eax
cmp ebx, 3
sete al
jmp dword [eax*4 + 0x44788c]
mov dword [esp + 8], esi
mov dword [esp + 0x18], 0xb7d789f8
mov dword [esp + 0x1c], 0xb32db52b
mov dword [esp + 0x20], 0xbf2db12b
mov dword [esp + 0x24], 0xbbd6bd22
mov word [esp + 0x28], 0xb9b8
mov eax, dword [esp + 0x70]
mov byte [eax + 4], 0
mov dword [eax], 0
xor eax, eax
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x18]
lea edx, [eax - 0x1ac22162]
xor edx, ecx
add edx, 0x85caa6e9
mov ecx, edx
and ecx, 1
xor edx, 1
lea ecx, [edx + ecx*2]
mov byte [esp + eax + 0x18], cl
add eax, 0xb0678a02
mov ecx, eax
xor ecx, 0xb0678a01
and eax, 0x3e
add eax, eax
sub eax, ecx
cmp eax, 0x17
jb 0x425a10
movzx esi, word [esp + 0x18]
lea eax, [esp + 0x94]
test si, si
je 0x425aa8
lea ecx, [esp + 0x94]
lea edx, [esp + 0x18]
mov eax, ecx
jmp 0x425a78
movzx esi, word [edx]
test si, si
je 0x425aa8
movzx ebx, word [ecx]
test bx, bx
je 0x425aa6
add ecx, 2
add edx, 2
lea ebp, [eax + 2]
cmp bx, si
je 0x425a92
mov eax, ebp
mov ecx, ebp
je 0x425a70
lea edx, [esp + 0x18]
jmp 0x425a70
jmp dword [0x447870]
xor eax, eax
xor ecx, ecx
test eax, eax
setne cl
jmp dword [ecx*4 + 0x447894]
mov esi, dword [esp + 8]
jmp case.0x425e63.18
mov eax, dword [esp + 0x14]
cmp eax, 2
jb 0x425b74
shr eax, 1
lea edx, [eax - 1]
mov esi, eax
lea ecx, [esp + 0xe04]
and esi, 3
je 0x425b0f
mov dword [esp + 0xc], edx
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebp, word [ecx]
xor edx, edx
test bp, bp
setne dl
lea ecx, [ecx + edx*2]
mov word [edi], bp
add edi, 2
inc ebx
cmp esi, ebx
jne 0x425af0
sub eax, ebx
mov edx, dword [esp + 0xc]
cmp edx, 3
mov esi, dword [esp + 8]
jb 0x425b78
nop
nop
nop
nop
nop
nop
nop
nop
mov ebp, edi
movzx edx, word [ecx]
xor ebx, ebx
test dx, dx
setne bl
lea esi, [ecx + ebx*2]
mov word [edi], dx
movzx ecx, word [ecx + ebx*2]
xor edx, edx
test cx, cx
setne dl
lea ebx, [esi + edx*2]
mov word [edi + 2], cx
movzx ecx, word [esi + edx*2]
xor edx, edx
test cx, cx
setne dl
lea esi, [ebx + edx*2]
mov word [edi + 4], cx
movzx edx, word [ebx + edx*2]
xor ecx, ecx
test dx, dx
setne cl
mov word [edi + 6], dx
add edi, 8
lea ecx, [esi + ecx*2]
add eax, 0xfffffffc
jne 0x425b20
mov esi, dword [esp + 8]
mov word [edi], 0xa
add edi, 2
mov al, 1
mov dword [esp + 0x48], eax
jmp case.0x425e63.18
add ecx, 4
mov al, 1
mov dword [esp + 4], eax
mov edi, ecx
jmp case.0x425e63.18
mov ecx, dword [esp + 0x14]
mov eax, ecx
and eax, 2
mov edx, edi
mov edi, ecx
or ecx, 2
imul ecx, eax
xor eax, 2
and edi, 0xfffffffd
imul edi, eax
mov esi, edi
mov dword [esp], edx
add esi, ecx
je 0x425c82
lea eax, [ecx + edi]
dec eax
mov edi, esi
lea ecx, [esp + 0xe04]
and edi, 2
jne 0x425be8
mov edx, dword [esp]
cmp eax, 3
jae 0x425c30
jmp 0x425c82
mov dword [esp + 4], eax
xor ebx, ebx
mov edx, dword [esp]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebp, word [ecx]
xor eax, eax
test bp, bp
setne al
lea ecx, [ecx + eax*2]
mov word [edx], bp
add edx, 2
inc ebx
cmp edi, ebx
jne 0x425c00
sub esi, ebx
mov eax, dword [esp + 4]
cmp eax, 3
jb 0x425c82
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, word [ecx]
xor ebx, ebx
test ax, ax
setne bl
lea edi, [ecx + ebx*2]
mov word [edx], ax
movzx eax, word [ecx + ebx*2]
xor ecx, ecx
test ax, ax
setne cl
lea ebx, [edi + ecx*2]
mov word [edx + 2], ax
movzx eax, word [edi + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edi, [ebx + ecx*2]
mov word [edx + 4], ax
movzx eax, word [ebx + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
mov word [edx + 6], ax
add edx, 8
lea ecx, [edi + ecx*2]
add esi, 0xfffffffc
jne 0x425c30
mov dword [edx], 0x20003a
mov edi, dword [esp]
mov esi, dword [esp + 8]
mov ebp, dword [esp + 0x14]
mov ecx, edi
cmp ebp, 2
jb 0x425d59
shr ebp, 1
lea eax, [ebp - 1]
mov esi, ebp
and esi, 3
mov dword [esp], edi
je 0x425ce4
mov dword [esp + 4], eax
xor ebx, ebx
lea edx, [esp + 0xe04]
mov ecx, edi
nop
nop
nop
nop
movzx edi, word [edx]
xor eax, eax
test di, di
setne al
lea edx, [edx + eax*2]
mov word [ecx], di
add ecx, 2
inc ebx
cmp esi, ebx
jne 0x425cc0
sub ebp, ebx
mov edi, dword [esp]
mov eax, dword [esp + 4]
jmp 0x425ced
mov ecx, edi
lea edx, [esp + 0xe04]
cmp eax, 3
mov esi, dword [esp + 8]
jb 0x425d59
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, word [edx]
xor ebx, ebx
test ax, ax
setne bl
lea esi, [edx + ebx*2]
mov word [ecx], ax
movzx eax, word [edx + ebx*2]
xor edx, edx
test ax, ax
setne dl
lea edi, [esi + edx*2]
mov word [ecx + 2], ax
movzx eax, word [esi + edx*2]
xor edx, edx
test ax, ax
setne dl
lea esi, [edi + edx*2]
mov word [ecx + 4], ax
movzx eax, word [edi + edx*2]
xor edx, edx
test ax, ax
setne dl
mov word [ecx + 6], ax
add ecx, 8
lea edx, [esi + edx*2]
add ebp, 0xfffffffc
jne 0x425d00
mov edi, dword [esp]
mov esi, dword [esp + 8]
mov dword [ecx], 0x20003a
jmp dword [0x447878]
mov dword [esp], edi
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x18], 0xc0d0a0b
mov ecx, dword [esp + 0x6c]
mov byte [ecx + 2], 0
mov word [ecx], 0
mov ecx, 0xb5df5e98
mov edx, 0x6bbebd30
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx + 0x4a20a180]
mov edi, edx
and edi, 0x4ab00004
mov ebx, ecx
xor ebx, 0xe7780142
lea ebp, [ebx + edi]
add edi, ebx
add edi, 0x4a20a168
and edi, esi
lea ebx, [esi + ebp]
add ebx, 0x4a20a168
add edi, edi
sub ebx, edi
add bl, 0xb6
mov byte [esp + ecx + 0x4a20a180], bl
inc ecx
add edx, 2
cmp ecx, 0xb5df5e9f
jne 0x425da0
mov ecx, dword [0x44d268]
test ecx, ecx
je 0x425e20
mov edx, dword [esp + 0x18]
xor esi, esi
mov ebx, dword [0x44d26c]
nop
nop
cmp dword [ebx + esi*8], 0x1b6183f2
je 0x425e10
inc esi
cmp ecx, esi
jne 0x425e00
jmp 0x425e20
mov ecx, dword [ebx + esi*8 + 4]
cmp ecx, edx
jne case.default.0x425e35
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x40]
inc ecx
xor eax, eax
cmp cx, 0x35
setb al
mov edi, dword [esp]
mov edx, dword [esp + 0x34]
jmp dword [eax*4 + 0x447844]
push eax
push 4
push ecx
push dword [0x44d270]
call fcn.0043de40
add esp, 0x10
mov ecx, dword [esp + 0x40]
inc ecx
xor eax, eax
cmp cx, 0x35
setb al
mov edi, dword [esp]
mov edx, dword [esp + 0x34]
jmp dword [eax*4 + 0x447844]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
jmp dword [0x4478c4]
and al, 1
add esp, 0x2204
pop esi
pop edi
pop ebx
pop ebp
ret
push esi
mov esi, eax
call fcn.00408260
mov eax, esi
add esp, 4
jmp dword [0x4478bc]
movzx ebx, word [esp + 0x1204]
xor esi, esi
test bx, bx
je 0x425f3b
xor esi, esi
lea eax, [esp + 0x1206]
mov ecx, ebx
jmp 0x425f0c
inc esi
movzx ecx, word [eax]
add eax, 2
test cx, cx
je 0x425f3b
cmp cx, 0x7f
jbe 0x425f00
movzx edx, cx
cmp edx, 0x7ff
ja 0x425f30
add esi, 2
jmp 0x425f01
cmp cx, 0xffff
je 0x425f01
add esi, 3
jmp 0x425f01
lea eax, [esi + 1]
push eax
call fcn.00408250
add esp, 4
mov edi, eax
mov dword [esp + 4], eax
test bx, bx
je 0x4260b4
mov edi, dword [esp + 4]
test esi, esi
je 0x4260b4
lea edx, [esp + 0x1204]
mov ecx, esi
mov edi, dword [esp + 4]
mov dword [esp + 0xc], esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, bx
lea ebp, [edx + 2]
cmp bx, 0x7f
ja 0x425fa0
lea eax, [edi + 1]
mov byte [edi], bl
jmp 0x426060
cmp ebx, 0x7ff
ja 0x425fd0
cmp ecx, 2
jb 0x425fd0
mov eax, ebx
shr eax, 6
add al, 0xc0
mov byte [edi], al
and bl, 0x3f
or bl, 0x80
lea eax, [edi + 2]
mov byte [edi + 1], bl
jmp 0x426060
mov eax, ebx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x42607a
cmp ecx, 4
jb 0x42607a
movzx ebp, word [edx + 2]
add edx, 4
shl ebx, 0xa
mov eax, ebp
mov dword [esp + 8], ebp
not eax
and eax, 0xdc00
mov esi, dword [esp + 0xc]
and ebp, 0x23ff
sub ebp, eax
lea eax, [ebx + ebp]
add eax, 0xfca00000
mov dword [esp], eax
lea eax, [ebx + ebp]
add eax, 0xfca10000
mov ebx, eax
shr ebx, 0x12
add bl, 0xf0
mov byte [edi], bl
shr eax, 0xc
and al, 0x3f
or al, 0x80
mov byte [edi + 1], al
mov eax, dword [esp]
shr eax, 6
and al, 0x3f
or al, 0x80
mov byte [edi + 2], al
mov eax, dword [esp + 8]
and al, 0x3f
or al, 0x80
mov ebx, eax
lea eax, [edi + 4]
mov byte [edi + 3], bl
mov ebp, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
add ecx, edi
sub ecx, eax
mov edx, ebp
mov edi, eax
movzx ebx, word [edx]
test bx, bx
je 0x4260b4
test ecx, ecx
jne 0x425f80
jmp 0x4260b4
movzx eax, ax
cmp eax, 0xdc00
jne 0x426088
mov edx, ebp
jmp 0x426068
cmp ecx, 3
jb 0x4260b0
mov eax, ebx
shr eax, 0xc
or al, 0xe0
mov byte [edi], al
mov eax, ebx
shr eax, 6
and al, 0x3f
or al, 0x80
mov byte [edi + 1], al
and bl, 0x3f
or bl, 0x80
lea eax, [edi + 3]
mov byte [edi + 2], bl
jmp 0x426060
mov eax, edi
jmp 0x426060
mov byte [edi], 0
mov dword [esp + 0x94], 0xb3aea959
mov dword [esp + 0x98], 0xd7c3bab5
mov dword [esp + 0x9c], 0xd0d4d2c9
mov dword [esp + 0xa0], 0xdfdf3617
mov dword [esp + 0xa4], 0xc0dddac4
mov dword [esp + 0xa8], 0xc0c43d1f
mov dword [esp + 0xac], 0xd2dad8da
mov dword [esp + 0xb0], 0xc3ce07c3
mov dword [esp + 0xb4], 0x79cc
mov eax, 0x3a
nop
movzx ecx, byte [esp + eax + 0x5a]
lea edx, [eax - 0x3a495d00]
and edx, ecx
or ecx, eax
xor ecx, edx
add cl, 0xde
mov byte [esp + eax + 0x5a], cl
inc eax
cmp eax, 0x5e
jne 0x426120
lea eax, [esp + 0x94]
mov ecx, dword [esp + 0x2218]
push esi
mov esi, dword [esp + 8]
push esi
push eax
call fcn.004090f0
jmp dword [0x4478ac]
movzx ebp, word [esp + 0x1204]
test bp, bp
je 0x42630d
xor esi, esi
lea eax, [esp + 0x1206]
mov ecx, ebp
jmp 0x42618c
inc esi
movzx ecx, word [eax]
add eax, 2
test cx, cx
je 0x4261bb
cmp cx, 0x7f
jbe 0x426180
movzx edx, cx
cmp edx, 0x7ff
ja 0x4261b0
add esi, 2
jmp 0x426181
cmp cx, 0xffff
je 0x426181
add esi, 3
jmp 0x426181
mov dword [esp], esi
mov edi, 0xffffffff
lea ebx, [esp + 0x1204]
push 0
call fcn.00408250
add esp, 4
mov esi, eax
mov dword [esp + 4], eax
nop
nop
nop
nop
nop
nop
movzx edx, bp
lea ebp, [ebx + 2]
cmp dx, 0x7f
ja 0x426200
lea ecx, [esi + 1]
mov byte [esi], dl
jmp 0x4262b0
cmp edx, 0x7ff
ja 0x426230
cmp edi, 2
jb 0x426230
mov eax, edx
shr eax, 6
add al, 0xc0
mov byte [esi], al
and dl, 0x3f
or dl, 0x80
lea ecx, [esi + 2]
mov byte [esi + 1], dl
jmp 0x4262b0
mov eax, edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4262ca
cmp edi, 4
jb 0x4262ca
movzx ebp, word [ebx + 2]
mov dword [esp + 8], ebp
add ebx, 4
shl edx, 0xa
mov ecx, ebp
not ecx
and ecx, 0xdc00
and ebp, 0x23ff
sub ebp, ecx
lea ecx, [edx + ebp]
add ecx, 0xfca00000
lea eax, [edx + ebp]
add eax, 0xfca10000
mov edx, eax
shr edx, 0x12
add dl, 0xf0
mov byte [esi], dl
shr eax, 0xc
and al, 0x3f
or al, 0x80
mov byte [esi + 1], al
shr ecx, 6
and cl, 0x3f
or cl, 0x80
mov byte [esi + 2], cl
mov eax, dword [esp + 8]
and al, 0x3f
or al, 0x80
lea ecx, [esi + 4]
mov byte [esi + 3], al
mov ebp, ebx
nop
nop
nop
nop
add edi, esi
sub edi, ecx
mov ebx, ebp
mov esi, ecx
movzx ebp, word [ebx]
test bp, bp
je 0x426304
test edi, edi
jne 0x4261e0
jmp 0x426304
movzx eax, ax
cmp eax, 0xdc00
jne 0x4262d8
mov ebx, ebp
jmp 0x4262b8
cmp edi, 3
jb 0x426300
mov eax, edx
shr eax, 0xc
or al, 0xe0
mov byte [esi], al
mov eax, edx
shr eax, 6
and al, 0x3f
or al, 0x80
mov byte [esi + 1], al
and dl, 0x3f
or dl, 0x80
lea ecx, [esi + 3]
mov byte [esi + 2], dl
jmp 0x4262b0
mov ecx, esi
jmp 0x4262b0
mov edi, dword [esp]
mov eax, dword [esp + 4]
jmp 0x42631b
xor edi, edi
push 0
call fcn.00408250
add esp, 4
mov esi, eax
mov byte [esi], 0
mov dword [esp + 0x94], 0xb3aea959
mov dword [esp + 0x98], 0xd7c3bab5
mov dword [esp + 0x9c], 0xd0d4d2c9
mov dword [esp + 0xa0], 0xdfdf3617
mov dword [esp + 0xa4], 0xc0dddac4
mov dword [esp + 0xa8], 0xc0c43d1f
mov dword [esp + 0xac], 0xd2dad8da
mov dword [esp + 0xb0], 0xc3ce07c3
mov dword [esp + 0xb4], 0x79cc
mov esi, 0x3a
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + esi + 0x5a]
lea edx, [esi - 0x3a495d00]
and edx, ecx
or ecx, esi
xor ecx, edx
add cl, 0xde
mov byte [esp + esi + 0x5a], cl
inc esi
cmp esi, 0x5e
jne 0x426390
lea edx, [esp + 0x94]
mov ecx, dword [esp + 0x2218]
push edi
push eax
push edx
call fcn.004090f0
jmp case.0x425e63.24
jmp dword [0x4478b4]