Function at 0x42196c
Capabilities:
Decrypt data using tea
Encode data using xor

Disassembly:
mov al, byte [0x42cbb6]
sub esp, 0x44
add al, 0x47
mov ecx, 0x5a7c
mov byte [0x42cbb6], al
movzx eax, al
push ebx
push ebp
push esi
sub ax, cx
push edi
mov word [0x42cbb8], ax
call fcn.004216a3
mov ecx, eax
call fcn.004235d5
mov cl, byte [0x42cbb8]
and cl, 0xa3
movzx ecx, cl
mov edx, ecx
test eax, eax
jne 0x4219c6
lea eax, [edx - 0x6fc9]
mov word [0x42cbb8], ax
and al, 0x9e
mov byte [0x42cbb6], al
jmp 0x421eba
sub cl, 0x4b
movzx eax, cl
mov byte [0x42cbb6], cl
mov ecx, 0x4883
add ax, cx
push 0x400
mov word [0x42cbb8], ax
call fcn.0040630b
pop ecx
mov cl, byte [0x42cbb6]
mov esi, eax
or cl, 0x18
mov dword [esp + 0x44], esi
mov byte [0x42cbb6], cl
mov eax, 0x2af5
movzx ecx, cl
xor cx, ax
mov eax, 0x52d1
sub cx, ax
movzx eax, cx
mov word [0x42cbb8], cx
test esi, esi
je 0x421eba
movzx ebx, byte [0x42cb9c]
lea ebp, [esi + 2]
xor al, 0xe
mov word [esp + 0x18], 0x7c
movzx eax, al
add ebx, 0xbdb4f5c
imul eax, eax, 0x73
mov edi, 0x429eb0
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], 3
add al, 0x15
mov byte [0x42cbb6], al
mov eax, dword [str..CRT_XPX]
imul ecx, eax, 0x15d14d62
xor eax, 0x7780d0d8
mov dword [esp + 0x1c], eax
mov eax, 0x429eb2
sub eax, esi
mov si, word [0x42cba0]
mov dword [esp + 0x40], eax
jmp 0x421a8c
mov edi, dword [esp + 0x20]
mov ebp, dword [eax + ebp]
sub cl, 0x2f
mov edi, dword [edi]
or bl, 0x8a
movzx ecx, cl
sub ecx, 0x48f42b7
movzx edx, si
and edx, 0x1b1f3b76
mov dword [esp + 0x3c], ecx
mov cl, dl
mov dword [esp + 0x38], ebx
or cl, 0x8a
mov dword [esp + 0x24], 0x20
mov ebx, 0xc6ef3720
mov byte [esp + 0x17], cl
mov byte [str..CRT_XPZ], cl
mov eax, edx
mov esi, edx
mov edx, eax
or esi, 0xa2dd
mov eax, edi
shr eax, 5
or edx, 0xae913bb2
movzx ecx, si
sub eax, 0x5b4d792b
mov dword [esp + 0x30], ecx
mov ecx, edi
shl ecx, 4
add ecx, 0x7fcd3e7f
mov word [0x42cba0], si
xor ecx, eax
lea eax, [ebx + edi]
xor ecx, eax
sub ebp, ecx
mov ecx, ebp
shr ecx, 5
add ecx, 0x3d2007a6
lea eax, [ebx + ebp]
xor ecx, eax
lea ebx, [ebx + 0x61c88647]
mov eax, ebp
shl eax, 4
add eax, 0x6a2497d9
xor ecx, eax
mov eax, edx
sub edi, ecx
sub dword [esp + 0x24], 1
jne 0x421acf
mov eax, dword [esp + 0x30]
mov ecx, edi
shl al, 3
mov byte [0x42cbc9], al
movzx eax, byte [esp + 0x17]
sub eax, 0x6b5aef16
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0x28]
mov dword [0x42cba4], eax
mov eax, ecx
shr eax, 8
mov edx, dword [esp + 0x34]
mov byte [ebp - 1], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp], al
mov eax, dword [esp + 0x1c]
movzx eax, al
mov ebx, dword [esp + 0x38]
imul eax, eax, 0x3f
and bl, 0x78
add dword [esp + 0x20], 8
add bl, 0x67
mov byte [ebp - 2], cl
xor bl, 0x99
shr ecx, 0x18
mov byte [ebp + 1], cl
movzx eax, al
imul eax, eax, 0xf34e2ee2
mov byte [ebp + 2], dl
mov dword [esp + 0x24], edi
movzx ecx, bl
mov byte [0x42cbc2], bl
and ecx, 0x184456e
mov dword [esp + 0x1c], eax
mov eax, edx
mov edi, dword [esp + 0x1c]
shr eax, 8
add edi, 0xa3cc0da4
mov byte [ebp + 3], al
mov eax, edx
shr eax, 0x10
mov byte [ebp + 4], al
mov eax, dword [esp + 0x3c]
add al, 0x24
shr edx, 0x18
movzx eax, al
mov byte [ebp + 5], dl
add ebp, 8
imul ebx, eax, 0xff21076a
sub dword [esp + 0x2c], 1
mov eax, dword [esp + 0x40]
mov dword [str..CRT_XPA], edi
mov dword [esp + 0x28], ebp
jne 0x421a88
mov esi, dword [esp + 0x44]
and edi, 0x6a9e0f56
mov dword [0x42cbc4], ecx
or cl, 0xc0
movzx eax, cl
xor eax, 0x9ca41338
mov byte [0x42cb9c], cl
push 0x10
mov dword [0x42cba8], eax
xor ebx, ebx
pop eax
mov word [0x42cbb8], ax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x1c]
mov dword [str..CRT_XPX], edi
push eax
mov byte [esi + 0x18], bl
mov dword [esp + 0x34], ebx
mov byte [0x42cbb6], 0xf6
push esi
jmp 0x421e90
mov cl, byte [0x42cbb6]
lea edx, [esp + 0x48]
and cl, 0x95
shl cl, 7
sub cl, 0x63
movzx eax, cl
mov byte [0x42cbb6], cl
mov ecx, 0xc337
xor ax, cx
mov ecx, edi
mov word [0x42cbb8], ax
call fcn.0041de5b
test al, al
je 0x421e67
movzx ecx, word [0x42cbb8]
mov eax, 0xee4d
imul ecx, eax
mov eax, 0xe29b
and cx, ax
mov word [0x42cbb8], cx
xor cl, 0x7e
mov byte [0x42cbb6], cl
call fcn.00422038
movzx eax, byte [0x42cbb6]
mov ecx, 0x4f4e
add ax, cx
lea ecx, [esp + 0x48]
mov word [0x42cbb8], ax
call fcn.0041087a
mov al, byte [0x42cbb6]
mov ecx, 0x7188
or al, 0x92
mov byte [0x42cbb6], al
movzx eax, al
add ax, cx
lea ecx, [esp + 0x48]
mov word [0x42cbb8], ax
call fcn.004187f6
mov eax, 0x57de
or word [0x42cbb8], ax
call fcn.0042054a
mov al, byte [0x42cbb8]
and al, 1
movzx ecx, al
mov eax, 0x57a8
sub cx, ax
movzx eax, cx
cmp byte [esp + 0x50], bl
je 0x421d58
or eax, 0x10f5
movzx ecx, ax
mov al, cl
xor ecx, 0x2649
sub al, 0x52
mov word [0x42cbb8], cx
mov byte [0x42cbb6], al
call fcn.0041809a
mov cx, word [0x42cbb8]
mov al, cl
add al, 0x46
cmp byte [esp + 0x51], bl
je 0x421d8d
sub al, 0x56
mov byte [0x42cbb6], 0x7e
movzx eax, al
mov ecx, 0xfd62
and ax, cx
mov word [0x42cbb8], ax
call fcn.00417878
mov al, byte [0x42cbb6]
mov cx, word [0x42cbb8]
add al, 3
or al, 0xec
mov byte [0x42cbb6], al
cmp byte [esp + 0x4f], bl
je 0x421dc0
mov edx, 0x9d43
or al, 0xb6
or cx, dx
xor al, 0x2a
mov word [0x42cbb8], cx
mov byte [0x42cbb6], al
call fcn.0041f9b7
mov cx, word [0x42cbb8]
mov eax, 0xdb7b
and cx, ax
add eax, 2
xor cx, ax
mov eax, 0x5b58
or cx, ax
mov word [0x42cbb8], cx
call fcn.0041ca9b
mov al, byte [0x42cbb8]
sub al, 0x3e
and al, 0xc8
movzx ecx, al
mov byte [0x42cbb6], al
mov eax, 0xb71e
imul ecx, eax
mov word [0x42cbb8], cx
call fcn.004167ce
and byte [0x42cbb6], 0xe1
mov eax, 0xb039
add word [0x42cbb8], ax
push 5
pop ecx
call fcn.0041f712
mov al, byte [0x42cbb8]
or al, 0xcd
movzx eax, al
imul eax, eax, 0x1b
xor al, 0x5d
mov byte [0x42cbb6], al
call fcn.0041c0d8
mov ax, word [0x42cbb8]
mov edx, 0x5c60
mov cl, al
or ax, dx
sub cl, 0x40
mov word [0x42cbb8], ax
mov byte [0x42cbb6], cl
call fcn.0041bdc9
mov ax, word [0x42cbb8]
jmp 0x421e7c
movzx eax, byte [0x42cbb6]
mov ecx, 0xa722
or ax, cx
mov word [0x42cbb8], ax
xor al, 0x23
add al, 6
mov byte [0x42cbb6], al
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x1c]
push eax
push ebx
call fcn.0040699c
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x421c59
movzx eax, byte [0x42cbb6]
add ax, 0x13
push esi
mov word [0x42cbb8], ax
call fcn.004062f0
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret