Function at 0x423c60
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xe4
mov eax, dword [0x44cd98]
mov dword [esp + 0x10], 0xf4b2f6dc
mov dword [esp + 0x14], 0xf889fa8b
mov dword [esp + 0x18], 0xfc9afebb
mov dword [esp + 0x1c], 0x660277
mov dword [esp + 0x20], 0x405062c
mov dword [esp + 0x24], 0
mov dword [esp + 0x4c], 0
mov ecx, dword [esp + 0x4c]
cmp ecx, 0x17
ja 0x423ceb
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x4c]
movzx edx, byte [esp + edx + 0x10]
add ecx, 0x1e1a6974
xor ecx, edx
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0xb8]
add cl, 0x7d
mov edx, dword [esp + 0x4c]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 0x4c]
mov ecx, dword [esp + 0x4c]
cmp ecx, 0x18
jb 0x423cb0
lea edi, [esp + 0x7c]
lea esi, [esp + 0x10]
push edi
push 0
push 0
push 9
push esi
push 0
call eax
mov ebx, dword [esp + 0x7c]
test ebx, ebx
jns 0x423d0e
mov eax, 0xffffffff
jmp 0x423d11
lea eax, [ebx + ebx]
push eax
call fcn.00409660
add esp, 4
mov dword [esp + 0x6c], eax
mov eax, dword [0x44cd98]
mov dword [esp + 0x10], 0xbf7fb19d
mov dword [esp + 0x14], 0xbb4abd4c
mov dword [esp + 0x18], 0x47a7b974
mov dword [esp + 0x1c], 0x43a345b8
mov dword [esp + 0x20], 0x4f4e416d
mov word [esp + 0x24], 0
mov byte [esp + 0x26], 0
mov dword [esp + 0x4c], 0
mov ecx, dword [esp + 0x4c]
cmp ecx, 0x16
ja 0x423db5
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x4c]
movzx edx, byte [esp + edx + 0x10]
lea ebp, [ecx + edx]
add ecx, 0x76
and ecx, edx
add ecx, ecx
sub ebp, ecx
add ebp, 0x31be4676
mov dword [esp + 0xb8], ebp
mov ecx, dword [esp + 0xb8]
add cl, 0x3a
mov edx, dword [esp + 0x4c]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 0x4c]
mov ecx, dword [esp + 0x4c]
cmp ecx, 0x17
jb 0x423d70
push edi
push ebx
push dword [esp + 0x74]
push 9
push esi
push 0
call eax
mov dword [esp + 0x10], 0x379f35f6
mov dword [esp + 0x14], 0x3b9d39a3
mov dword [esp + 0x18], 0x3fae3dab
mov dword [esp + 0x1c], 0x2320219a
lea edx, [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x4c]
cmp eax, 0x13
ja 0x423e44
nop
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x4c]
movzx ecx, byte [esp + ecx + 0x10]
lea esi, [eax + ecx]
add eax, 0x43
and eax, ecx
add eax, eax
sub esi, eax
add esi, 0x8a10b443
mov dword [esp + 0xb8], esi
mov eax, dword [esp + 0xb8]
add al, 0x8f
mov ecx, dword [esp + 0x4c]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 0x4c]
mov eax, dword [esp + 0x4c]
cmp eax, 0x14
jb 0x423e00
lea eax, [esp + 0xd4]
lea esi, [esp + 0x10]
mov ecx, 4
mov edi, eax
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
lea edi, [esp + 0xe4]
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov dword [esp + 0x10], 0x2c922a6d
mov dword [esp + 0x14], 0x208c2e9e
mov dword [esp + 0x18], 0x2491229e
mov dword [esp + 0x1c], 0x38642681
mov dword [esp + 0x20], 0x3c853a98
mov dword [esp + 0x24], 0x308d3e9c
mov dword [esp + 0x28], 0x343332b8
lea esi, [esp + 0x2c]
mov word [esp + 0x2c], 0
mov byte [esp + 0x2e], 0
mov dword [esp + 0x4c], 0
mov ecx, dword [esp + 0x4c]
cmp ecx, 0x1e
ja 0x423f0b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x4c]
movzx edx, byte [esp + edx + 0x10]
add ecx, 0x45255201
xor ecx, edx
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0xb8]
add cl, 0xd8
mov edx, dword [esp + 0x4c]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 0x4c]
mov ecx, dword [esp + 0x4c]
cmp ecx, 0x1f
jb 0x423ed0
lea edx, [esp + 0xb8]
lea ebx, [esp + 0x10]
mov edi, edx
mov ecx, 7
xchg esi, ebx
rep movsd dword es:[edi], dword [esi]
xchg esi, ebx
lea edi, [esp + 0xd4]
xor ecx, ecx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov dword [esp + 0x10], 0x19b51bd0
mov dword [esp + 0x14], 0x1dbb1f8d
mov dword [esp + 0x18], 0x194038d
mov dword [esp + 0x1c], 0x5b607a4
mov dword [esp + 0x20], 0x9cc0bb0
lea ebx, [esp + 0x24]
mov word [esp + 0x24], 0xf08
mov dword [esp + 0x26], 0
mov dword [esp + 0x84], 0
mov ecx, dword [esp + 0x84]
cmp ecx, 0x19
ja 0x423fe1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x84]
movzx esi, byte [esp + esi + 0x10]
lea edi, [ecx + esi]
add edi, 0x9afc87e7
add ecx, 0x9afc87e7
and ecx, esi
add ecx, ecx
sub edi, ecx
mov dword [esp + 0x4c], edi
mov ecx, dword [esp + 0x4c]
add cl, 0xd
mov esi, dword [esp + 0x84]
mov byte [esp + esi + 0x10], cl
inc dword [esp + 0x84]
mov ecx, dword [esp + 0x84]
cmp ecx, 0x1a
jb 0x423f90
lea esi, [esp + 0x4c]
lea ebp, [esp + 0x10]
mov ecx, 5
mov edi, esi
xchg esi, ebp
rep movsd dword es:[edi], dword [esi]
xchg esi, ebp
lea edi, [esp + 0x60]
mov ecx, 1
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], esi
mov ebp, dword [esp + 0x6c]
mov eax, ebp
add eax, 2
mov dword [esp + 0x98], eax
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x70], 0
cmp ecx, 0xc
setne al
xor ecx, ecx
jmp dword [eax*4 + 0x4490c4]
jmp dword [0x4490cc]
jmp dword [0x4491b4]
mov dword [esp + 0xb4], ecx
mov esi, dword [esp + ecx + 0x84]
mov eax, 0xfffffffe
nop
nop
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x424090
mov dword [esp + 0x74], eax
mov edx, eax
sar edx, 1
mov eax, dword [esp + 0x7c]
lea ecx, [edx + eax]
mov dword [esp + 0x64], edx
add edx, eax
add edx, 0xd
lea eax, [ecx*2 + 0x1a]
test edx, edx
jns 0x4240c3
mov eax, 0xffffffff
push eax
call fcn.00409660
add esp, 4
mov edi, eax
movzx ecx, word [ebp]
test cx, cx
je 0x4240f1
mov edx, dword [esp + 0x98]
mov eax, edi
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x4240e0
mov word [eax], 0x5c
mov dword [esp + 0x10], 0x588d5ebb
mov dword [esp + 0x14], 0x64885aaa
mov dword [esp + 0x18], 0x60956684
mov dword [esp + 0x1c], 0x6cb06243
mov dword [esp + 0x20], 0x688a6e93
mov dword [esp + 0x24], 0x749a6a97
mov word [esp + 0x28], 0x7677
lea ecx, [esp + 0x10]
mov word [ecx + 0x1e], 0
mov dword [ecx + 0x1a], 0
add eax, 2
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x1f
ja 0x424180
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x10]
add ecx, 0x2901f01a
xor ecx, edx
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x40]
add cl, 0xbb
mov edx, dword [esp]
mov byte [esp + edx + 0x10], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x20
jb 0x424150
movzx ecx, word [esi]
test cx, cx
je 0x4241a1
lea edx, [esi + 2]
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x424190
mov word [eax], 0
movzx ecx, word [esp + 0x10]
test cx, cx
je 0x4241d1
lea edx, [esp + 0x12]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x4241c0
mov word [eax], 0
lea eax, [esp + 0x78]
push 0x60
push 3
push 0x120089
push eax
push edi
call fcn.00441830
add esp, 0x14
not eax
shr eax, 0x1f
mov dword [esp + 0x9c], esi
jmp dword [eax*4 + 0x4490d4]
xor ebx, ebx
mov eax, dword [0x449180]
jmp 0x424c40
lea eax, [esp + 0xa4]
push 0
push eax
push dword [esp + 0x80]
call fcn.00441bc0
add esp, 0xc
not eax
shr eax, 0x1f
xor ebx, ebx
jmp dword [eax*4 + 0x4490dc]
jmp dword [0x4490f0]
mov esi, dword [esp + 0xa4]
lea eax, [esi + 1]
push eax
call fcn.00409660
add esp, 4
push 0
push esi
mov dword [esp + 0x9c], eax
push eax
push dword [esp + 0x84]
call fcn.00441cb0
add esp, 0x10
not eax
shr eax, 0x1f
xor ebx, ebx
jmp dword [eax*4 + 0x4490f4]
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x94]
mov byte [ecx + eax], 0
push ecx
call fcn.00402960
add esp, 4
xor ecx, ecx
test eax, eax
setne cl
xor ebx, ebx
jmp dword [ecx*4 + 0x4490fc]
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], eax
push eax
call fcn.00403280
add esp, 4
mov dword [esp + 0x90], eax
mov dword [esp + 0x10], 0xe7e2898c
mov dword [esp + 0x14], 0x92979f97
mov dword [esp + 0x18], 0xef99efd7
mov dword [esp + 0x1c], 0x9a9f979f
mov dword [esp + 0x20], 0xdfd2e8e6
mov dword [esp + 0x24], 0x37afda
jmp dword [0x449104]
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x17
ja 0x42433e
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x10]
add eax, 0x98f0b3ce
xor eax, ecx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
add al, 0x2d
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x18
jb 0x424310
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x94]
call fcn.004033c0
add esp, 8
mov edx, 0xffffffff
mov esi, 0xfffffffd
nop
nop
nop
nop
mov ecx, edx
add esi, 3
cmp byte [eax + edx + 1], 0
lea edx, [edx + 1]
jne 0x424360
shr esi, 2
movzx ecx, byte [eax + edx - 1]
cmp ecx, 0x3d
je 0x424381
cmp ecx, 0x2e
jne 0x424382
dec esi
mov ecx, edx
not edx
and edx, 2
mov dword [esp + 0x68], ecx
and ecx, 0xfffffffd
sub ecx, edx
movzx ecx, byte [eax + ecx]
cmp ecx, 0x3d
mov dword [esp + 0xa0], eax
je 0x4243a7
cmp ecx, 0x2e
jne 0x4243a8
dec esi
mov dword [esp + 0xb0], esi
lea eax, [esi + 1]
push eax
call fcn.00409660
add esp, 4
mov dword [esp + 0x48], eax
cmp dword [esp + 0x68], 0
je 0x4244ba
xor ebp, ebp
mov edi, 2
jmp 0x4243f2
lea eax, [edi + 4]
add edi, 2
mov ebp, ebx
cmp edi, edx
mov edi, eax
jae 0x4244ba
mov esi, dword [esp + 0xa0]
movzx eax, byte [esi + edi - 2]
push eax
call fcn.00416900
add esp, 4
mov ebx, eax
movzx eax, byte [esi + edi - 1]
push eax
call fcn.00416900
add esp, 4
shl bl, 2
mov ecx, eax
shr cl, 4
and cl, 3
or cl, bl
lea ebx, [ebp + 1]
mov edx, dword [esp + 0x48]
mov byte [edx + ebp], cl
mov edx, dword [esp + 0x68]
cmp edi, edx
jae 0x4243e0
mov byte [esp + 0xb], al
movzx eax, byte [esi + edi]
push eax
call fcn.00416900
mov edx, dword [esp + 0x6c]
add esp, 4
cmp al, 0x40
je 0x4243e0
mov ch, al
movzx eax, byte [esp + 0xb]
shl al, 4
mov cl, ch
shr cl, 2
and cl, 0xf
or cl, al
lea ebx, [ebp + 2]
mov eax, dword [esp + 0x48]
mov byte [eax + ebp + 1], cl
lea eax, [edi + 1]
cmp eax, edx
jae 0x4243e0
mov eax, dword [esp + 0xa0]
movzx eax, byte [eax + edi + 1]
push eax
mov byte [esp + 0xf], ch
call fcn.00416900
movzx ecx, byte [esp + 0xf]
mov edx, dword [esp + 0x6c]
add esp, 4
cmp al, 0x40
je 0x4243e0
shl cl, 6
add al, cl
mov ecx, dword [esp + 0x48]
mov byte [ecx + ebp + 2], al
add ebp, 3
mov ebx, ebp
jmp 0x4243e0
jmp dword [0x44910c]
mov eax, dword [esp + 0xb0]
add eax, 0xfffffffb
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x48]
add eax, 5
mov dword [esp + 0x44], eax
mov dword [esp], 0
mov dword [esp + 4], 0
push 0x6c625980
push dword [0x44cda8]
call fcn.00440db0
add esp, 8
mov ecx, esp
lea edx, [esp + 0x40]
push ecx
push 0
push 0
push 0
push 0
push 0
push edx
call eax
xor ecx, ecx
test eax, eax
setne cl
xor ebx, ebx
mov edi, dword [esp + 0x9c]
jmp dword [ecx*4 + 0x449114]
jmp dword [0x449120]
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x17
ja 0x42456e
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x10]
add eax, 0x98f0b3ce
xor eax, ecx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
add al, 0x2d
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x18
jb 0x424540
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x94]
call fcn.004033c0
add esp, 8
mov esi, eax
mov edi, 0xffffffff
nop
nop
nop
nop
nop
nop
nop
cmp byte [esi + edi + 1], 0
lea edi, [edi + 1]
jne 0x424590
test edi, edi
je case.0x42403f.16
mov ebx, 2
jmp 0x4245c0
lea eax, [ebx + 4]
add ebx, 2
cmp ebx, edi
mov ebx, eax
jae case.0x42403f.16
movzx eax, byte [esi + ebx - 2]
push eax
call fcn.00416900
add esp, 4
movzx eax, byte [esi + ebx - 1]
push eax
call fcn.00416900
add esp, 4
cmp ebx, edi
jae 0x4245b0
movzx eax, byte [esi + ebx]
push eax
call fcn.00416900
add esp, 4
cmp al, 0x40
je 0x4245b0
lea eax, [ebx + 1]
cmp eax, edi
jae 0x4245b0
movzx eax, byte [esi + ebx + 1]
push eax
call fcn.00416900
add esp, 4
jmp 0x4245b0
mov eax, dword [esp + 0x74]
add eax, 0x10
cmp dword [esp + 0x64], 0xfffffff8
jge 0x424962
mov eax, 0xffffffff
push eax
call fcn.00409660
add esp, 4
mov dword [esp + 0x10], 0x3dd83be5
mov dword [esp + 0x14], 0x31ee3fae
mov dword [esp + 0x18], 0x35bc33a6
mov dword [esp + 0x1c], 0x292837a2
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0xc]
cmp ecx, 0xf
ja 0x4249db
nop
nop
nop
nop
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
movzx edx, byte [esp + edx + 0x10]
add ecx, 0xc5f87262
xor ecx, edx
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x80]
add cl, 0xa8
mov edx, dword [esp + 0xc]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
cmp ecx, 0x10
jb 0x4249a0
movzx edx, word [edi]
mov ecx, eax
test dx, dx
je 0x424a01
lea esi, [edi + 2]
mov ecx, eax
nop
nop
nop
nop
nop
nop
mov word [ecx], dx
add ecx, 2
movzx edx, word [esi]
add esi, 2
test dx, dx
jne 0x4249f0
mov word [ecx], 0
movzx edx, word [esp + 0x10]
test dx, dx
je 0x424a31
lea esi, [esp + 0x12]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ecx], dx
add ecx, 2
movzx edx, word [esi]
add esi, 2
test dx, dx
jne 0x424a20
mov word [ecx], 0
mov ecx, dword [esp + 0xf8]
push dword [esp]
push dword [esp + 8]
push eax
call fcn.00409ec0
mov eax, dword [esp + 0x74]
add eax, 0x10
cmp dword [esp + 0x64], 0xfffffff8
jge 0x424a5d
mov eax, 0xffffffff
push eax
call fcn.00409660
add esp, 4
mov esi, eax
mov dword [esp + 0x10], 0x3dd83be5
mov dword [esp + 0x14], 0x31ee3fae
mov dword [esp + 0x18], 0x35bc33a6
mov dword [esp + 0x1c], 0x292837a2
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 0xf
ja 0x424ad9
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
movzx ecx, byte [esp + ecx + 0x10]
add eax, 0xc5f87262
xor eax, ecx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x80]
add al, 0xa8
mov ecx, dword [esp + 0xc]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 0x10
jb 0x424aa0
movzx ecx, word [edi]
mov eax, esi
test cx, cx
je 0x424b01
lea edx, [edi + 2]
mov eax, esi
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x424af0
mov word [eax], 0
movzx ecx, word [esp + 0x10]
test cx, cx
je 0x424b31
lea edx, [esp + 0x12]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x424b20
mov word [eax], 0
mov ecx, dword [esp + 0xf8]
push dword [esp]
push dword [esp + 8]
push esi
call fcn.00409ec0
jmp dword [0x449128]
mov ebx, eax
jmp dword [0x44912c]
mov ebp, edi
mov eax, dword [esp + 0x78]
mov dword [esp + 0x10], 0x2b282956
lea ecx, [esp + 0x10]
mov byte [ecx + 6], 0
mov word [ecx + 4], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 6
ja 0x424be0
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x10]
add ecx, 0x52ff67bf
xor ecx, edx
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x40]
add cl, 0x16
mov edx, dword [esp]
mov byte [esp + edx + 0x10], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 7
jb 0x424bb0
mov ecx, dword [0x44cd9c]
test ecx, ecx
je 0x424c30
mov edx, dword [esp + 0x10]
xor esi, esi
mov edi, dword [0x44cda0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0x625b6034
je 0x424c10
inc esi
cmp ecx, esi
jne 0x424c00
jmp 0x424c30
mov ecx, dword [edi + esi*8 + 4]
cmp ecx, edx
je 0x424c30
push eax
push 1
push dword [0x44cda4]
push ecx
call fcn.0043f410
add esp, 0x10
nop
nop
nop
nop
nop
nop
mov eax, dword [0x449180]
mov edi, ebp
mov ebp, dword [esp + 0x6c]
nop
nop
nop
nop
nop
jmp eax
mov eax, dword [0x449168]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
jmp eax
mov eax, dword [0x449150]
nop
jmp eax
mov eax, dword [esp + 0x70]
and al, 1
add esp, 0xe4
pop esi
pop edi
pop ebx
pop ebp
ret