Function at 0x422efe
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x44c
mov dword [esp + 0x4c], 0x4bbe49bb
mov dword [esp + 0x50], 0x4faf4da9
mov dword [esp + 0x54], 0x537c51bd
mov dword [esp + 0x58], 0x57ae55b1
mov dword [esp + 0x5c], 0x5b5a59bd
mov eax, 8
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x44]
mov edx, ecx
and edx, eax
add dl, dl
sub cl, dl
movzx ecx, cl
add ecx, eax
add cl, 0xc0
mov byte [esp + eax + 0x44], cl
inc eax
cmp eax, 0x1c
jne case.default.0x422ef0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
lea edi, [esp + 0x4c]
lea esi, [esp + 0x30]
mov ecx, esi
push edi
call fcn.00435e60
mov ecx, esi
push 0x410
call fcn.00435fe0
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x43fa14]
xor ebx, ebx
jmp 0x423474
mov dword [esp + 0x4c], 0xedd29bf4
mov dword [esp + 0x50], 0xdfebcef1
mov dword [esp + 0x54], 0xcbd4d0f0
mov dword [esp + 0x58], 0xc8dfd5f4
mov dword [esp + 0x5c], 0xd7fae1f7
mov dword [esp + 0x60], 0xc0fde5fc
mov dword [esp + 0x64], 0xc5d8fddb
mov dword [esp + 0x68], 0xc9fec7e2
mov dword [esp + 0x6c], 0xf1e1e5e3
mov dword [esp + 0x70], 0x31f206e0
mov dword [esp + 0x74], 0xccfb1210
mov eax, 0x27
mov ecx, 0x19
movzx edx, byte [esp + ecx + 0x33]
lea esi, [edx + edx]
not esi
add esi, edx
and esi, 0xd9
and edx, 0x26
or edx, esi
lea esi, [ecx - 0x6284b640]
or esi, 0xd9
add esi, eax
mov ebx, ecx
and ebx, 0x26
or ebx, esi
xor ebx, edx
add bl, 0x38
mov byte [esp + ecx + 0x33], bl
dec eax
inc ecx
cmp eax, 0xfffffffb
jne 0x422f60
lea eax, [esp + 0x40]
lea ecx, [esp + 0x30]
push 0
push 0x2b
push edi
push eax
call fcn.00436300
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
xor eax, eax
cmp ebp, ebx
sete al
jmp dword [eax*4 + 0x43fa1c]
mov eax, ebx
sub eax, ebp
sar eax, 2
imul eax, eax, 0x421
push eax
call fcn.00408310
add esp, 4
mov dword [esp + 0x24], 0
xor ecx, ecx
cmp ebp, ebx
setne cl
mov dword [esp + 0x20], eax
mov dword [esp + 4], eax
mov dword [esp + 0x28], ebx
jmp dword [ecx*4 + 0x43fa24]
add ebp, 4
xor eax, eax
cmp ebp, ebx
setne al
jmp dword [eax*4 + 0x43fa24]
mov esi, dword [ebp]
push 0x400
push 0
push edi
call fcn.004084a0
add esp, 0xc
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x30]
push eax
push 0x400
push edi
push esi
call fcn.00436290
cmp eax, 0xc0000000
setae al
cmp dword [esp + 0x1c], 0
sete cl
or cl, al
movzx eax, cl
jmp dword [eax*4 + 0x43fa34]
mov eax, 1
jmp dword [eax*4 + 0x43fa3c]
xor eax, eax
jmp dword [eax*4 + 0x43fa3c]
mov byte [esp + 0x44b], 0
movzx eax, byte [esp + 0x4c]
xor edx, edx
test al, al
je 0x4230a1
mov ecx, edi
nop
nop
cmp al, 0x2e
je 0x42309f
movzx eax, byte [ecx + 1]
inc ecx
test al, al
jne 0x423090
jmp 0x4230a1
mov edx, ecx
xor eax, eax
test edx, edx
setne al
jmp dword [eax*4 + 0x43fa44]
movzx eax, byte [edx + 1]
inc edx
xor esi, esi
test al, al
mov dword [esp + 8], edx
je 0x4230d1
mov ecx, edx
cmp al, 0x2e
je 0x4230cf
movzx eax, byte [ecx + 1]
inc ecx
test al, al
jne 0x4230c0
jmp 0x4230d1
mov esi, ecx
xor eax, eax
test esi, esi
setne al
mov edx, dword [esp + 8]
jmp dword [eax*4 + 0x43fa4c]
mov ecx, esi
sub ecx, edx
mov eax, ecx
not eax
lea edi, [ecx + ecx*2]
shr edi, 2
and eax, 1
mov dword [esp + 0xc], ecx
and ecx, 0xfffffffe
sub ecx, eax
movzx eax, byte [edx + ecx]
cmp eax, 0x3d
je 0x42310b
cmp eax, 0x2e
jne 0x423110
mov edx, edi
dec edx
jmp 0x423112
mov edx, edi
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
movzx eax, byte [eax + ecx - 2]
cmp eax, 0x3d
je 0x423129
cmp eax, 0x2e
jne 0x423130
mov dword [esp + 0x18], ebp
dec edx
jmp 0x423134
mov dword [esp + 0x18], ebp
mov eax, edx
and eax, 1
mov ecx, edx
mov dword [esp + 0x2c], edx
xor ecx, 1
lea eax, [ecx + eax*2]
push eax
call fcn.00408310
add esp, 4
mov dword [esp + 0x10], eax
cmp esi, dword [esp + 8]
mov ebx, dword [esp + 0xc]
je 0x423259
xor ebp, ebp
mov esi, 2
jmp 0x423188
mov edx, ebx
mov ebx, ebp
lea eax, [esi + 4]
add esi, 2
mov ebp, ebx
cmp esi, edx
mov esi, eax
mov ebx, edx
jae 0x423259
mov edi, dword [esp + 8]
movzx eax, byte [edi + esi - 2]
push eax
call fcn.0041a7e0
add esp, 4
mov byte [esp + 0x14], al
movzx eax, byte [edi + esi - 1]
push eax
call fcn.0041a7e0
add esp, 4
mov byte [esp + 3], al
movzx eax, al
mov ecx, eax
not ecx
or ecx, 0x30
add eax, ecx
inc eax
movzx ecx, byte [esp + 0x14]
shr eax, 4
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x10]
mov byte [ecx + ebp], al
mov dword [esp + 0x14], ebp
inc ebp
cmp esi, ebx
jae 0x423170
movzx eax, byte [edi + esi]
push eax
call fcn.0041a7e0
mov edx, dword [esp + 0x10]
add esp, 4
cmp al, 0x40
mov ebx, ebp
je 0x423174
mov ah, byte [esp + 3]
shl ah, 4
mov ecx, eax
shr cl, 2
and cl, 0xf
or cl, ah
mov ebp, dword [esp + 0x14]
lea ebx, [ebp + 2]
mov edi, dword [esp + 0x10]
mov byte [edi + ebp + 1], cl
lea ecx, [esi + 1]
cmp ecx, edx
jae 0x423174
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + esi + 1]
push ecx
mov edi, ebx
mov ebx, eax
call fcn.0041a7e0
mov edx, dword [esp + 0x10]
add esp, 4
mov ecx, ebx
mov ebx, edi
cmp al, 0x40
je 0x423174
shl cl, 6
add al, cl
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov byte [ecx + ebx + 2], al
add ebx, 3
jmp 0x423174
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x10]
mov byte [esi + eax], 0
push esi
call fcn.00401000
add esp, 4
mov ebx, eax
jmp dword [0x43fa54]
push esi
call fcn.00408320
add esp, 4
lea edi, [esp + 0x4c]
mov ebp, dword [esp + 0x18]
jmp dword [0x43fa5c]
lea edi, [esp + 0x4c]
mov ebp, dword [esp + 0x18]
jmp dword [0x43fa5c]
push ebx
call fcn.00401a50
add esp, 4
push ebx
call fcn.00401a50
add esp, 4
jmp dword [0x43fa64]
xor ecx, ecx
test eax, eax
setne cl
jmp dword [ecx*4 + 0x43fa6c]
jmp 0x423339
mov dword [esp + 0x1c], 0x627573
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.00401860
add esp, 8
xor ecx, ecx
test eax, eax
setne cl
jmp dword [ecx*4 + 0x43fa74]
mov edx, dword [esp + 4]
jmp 0x423313
movzx ecx, byte [eax]
test cl, cl
mov edx, dword [esp + 4]
je 0x42330b
inc eax
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], cl
inc edx
movzx ecx, byte [eax]
inc eax
test cl, cl
jne 0x423300
mov word [edx], 0x203a
add edx, 2
movzx eax, byte [esp + 0x4c]
test al, al
je 0x42332b
lea ecx, [esp + 0x4d]
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x423320
mov byte [edx], 0xa
inc edx
mov dword [esp + 4], edx
mov al, 1
mov dword [esp + 0x24], eax
push ebx
call fcn.00401f60
add esp, 4
add ebp, 4
xor eax, eax
mov ebx, dword [esp + 0x28]
cmp ebp, ebx
setne al
jmp dword [eax*4 + 0x43fa24]
mov ebx, dword [esp + 0x24]
mov eax, ebx
and al, 1
movzx eax, al
jmp dword [eax*4 + 0x43fa2c]
jmp 0x423437
xor esi, esi
test ebp, ebp
jne 0x423465
jmp 0x423472
mov eax, dword [esp + 4]
mov byte [eax], 0
mov dword [esp + 0x4c], 0xc2cdcc1a
mov dword [esp + 0x50], 0xc63033c6
mov dword [esp + 0x54], 0xc5cbcbca
mov dword [esp + 0x58], 0x2fdd3b08
mov dword [esp + 0x5c], 0x3a12d12a
mov dword [esp + 0x60], 0xdc24dbd0
mov dword [esp + 0x64], 0xced11ad0
mov word [esp + 0x68], 0x78d3
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x4c]
lea edx, [eax - 0x45bbfebd]
and edx, ecx
lea esi, [eax + ecx]
add esi, 0xba440143
add edx, edx
sub esi, edx
lea ecx, [esi + 0xe7]
mov edx, 0x18
sub edx, esi
or edx, 1
add edx, esi
or ecx, 1
add ecx, edx
add cl, 0xe8
mov byte [esp + eax + 0x4c], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 0x1e
jb 0x4233d0
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 4]
sub esi, edx
lea eax, [esp + 0x4c]
mov ecx, dword [esp + 0x460]
push esi
push edx
push eax
call fcn.00409300
mov ebx, eax
mov eax, dword [case.0x4230dc.14]
nop
nop
nop
nop
jmp eax
jmp dword [0x43fa8c]
push dword [esp + 0x20]
call fcn.00408320
add esp, 4
and bl, 1
mov esi, ebx
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
test ebp, ebp
je 0x423472
cmp ebp, ebx
je 0x423472
push ebp
call fcn.00408320
add esp, 4
mov ebx, esi
lea ecx, [esp + 0x30]
call fcn.004360a0
mov eax, ebx
add esp, 0x44c
pop esi
pop edi
pop ebx
pop ebp
ret