Function at 0x41a3d4
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x70
push ebx
push ebp
push esi
movzx esi, word [0x42ba60]
mov ebx, ecx
and esi, 0x66bd8dd9
push edi
mov edi, edx
movzx edx, si
cmp dword [ebx + 8], 0
lea eax, [esi + 0xbdb]
mov word [0x42ba60], ax
jne 0x41a46c
imul eax, edx, 0xda8b
movzx ecx, ax
add ecx, 0x7b4264fc
cmp byte [0x42d020], 0
movzx eax, cx
jne 0x41a452
xor eax, 0x5f82
or ecx, 0x8c7a27d2
imul eax, eax, 0xe365
mov dword [0x42ba68], ecx
mov word [0x42ba60], ax
imul eax, edx, 0x8fb8
mov word [0x42ba5c], ax
call fcn.0042295e
mov esi, dword [0x42ba68]
jmp 0x41a465
and eax, 0xe40
mov esi, eax
mov word [0x42ba60], ax
xor esi, 0x813a5ef1
mov dword [ebx + 8], 0x42d020
xor esi, 0x51b4ad30
push edi
lea eax, [esi + 0x4d1dae50]
mov dword [0x42ba68], eax
add eax, 0xfffff022
mov word [0x42ba5c], ax
call fcn.00405b40
mov ecx, dword [esp + 0x8c]
add ecx, 0x800
add eax, ecx
push eax
call fcn.0040570b
mov dx, word [0x42ba60]
mov ebp, eax
pop ecx
pop ecx
movzx ecx, word [0x42ba5c]
mov eax, 0x539b
movzx esi, dx
or ecx, 0xb74af35e
imul esi, eax
test ebp, ebp
je 0x41a73b
xor edx, edx
mov dword [esp + 0x18], 0xa7f1f9f9
mov dword [esp + 0x1c], 0xbb97ded9
mov ecx, edx
mov dword [esp + 0x20], 0xbab1a0ba
mov dword [esp + 0x24], 0xbd90f9a0
mov dword [esp + 0x28], 0xa7bba4a7
mov dword [esp + 0x2c], 0xbbbda0bd
mov dword [esp + 0x30], 0xb2f4eeba
mov dword [esp + 0x34], 0xf9b9a6bb
mov dword [esp + 0x38], 0xb5a0b5b0
mov dword [esp + 0x3c], 0xb5baf4ef
mov dword [esp + 0x40], 0xf6e9b1b9
mov dword [esp + 0x44], 0xd9f6a7f1
mov word [esp + 0x48], 0xd9de
mov byte [esp + 0x4a], 0xde
mov al, byte [esp + ecx + 0x18]
xor al, 0xd4
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x33
jl 0x41a53e
mov byte [esp + 0x7f], dl
mov ecx, edx
mov word [esp + 0x10], 0x1c1b
mov al, byte [esp + ecx + 0x10]
xor al, 0x16
mov byte [esp + ecx + 0x14], al
inc ecx
cmp ecx, 2
jl 0x41a55b
movzx ecx, si
xor ecx, 0x99647840
mov byte [esp + 0x16], dl
push edi
push dword [ebx + 8]
mov dword [0x42ba68], ecx
mov edx, 0x534fbfb6
lea eax, [ecx + 0x6a2c]
mov word [0x42ba5c], ax
lea eax, [ecx - 0x28a7]
mov word [0x42ba60], ax
xor ecx, ecx
lea eax, [esp + 0x54]
push eax
push 0x2000
push ebp
call fcn.004155a6
call eax
push dword [esp + 0x9c]
mov edi, eax
movzx eax, word [0x42ba5c]
push dword [esp + 0x9c]
xor eax, 0xb45a6020
mov dword [0x42ba68], eax
and eax, 0xb40d
lea esi, [edi + ebp]
mov word [0x42ba60], ax
push esi
call fcn.00401d70
mov ax, word [0x42ba5c]
mov ecx, 0x7ec0
and ax, cx
mov word [0x42ba60], ax
lea eax, [esp + 0x34]
push 2
push eax
mov eax, dword [esp + 0xb0]
add eax, esi
push eax
call fcn.00401d70
mov esi, dword [esp + 0xb4]
mov eax, 0x80a
mov dx, word [0x42ba60]
add esi, 2
or dword [0x42ba68], 0xdb0fcc7e
xor ax, dx
mov ecx, 0xad8a
add esp, 0x2c
and ax, cx
add esi, edi
cmp dword [ebx], 0
movzx eax, ax
jne 0x41a66c
mov ecx, 0xd2b3
add eax, 0xffffe556
add dx, cx
mov word [0x42ba5c], ax
push esi
mov word [0x42ba60], dx
call fcn.0040570b
jmp 0x41a6a6
mov eax, 0x96ea
movzx ecx, dx
imul ecx, eax
movzx eax, dx
xor eax, 0x53d7512e
mov dword [0x42ba68], eax
mov eax, dword [ebx + 4]
add eax, esi
mov word [0x42ba5c], cx
push eax
push dword [ebx]
or ecx, 0x57e1
mov word [0x42ba60], cx
call fcn.00405c8c
pop ecx
mov edx, eax
mov dword [ebx], edx
mov eax, dword [0x42ba68]
add eax, 0xffff86c0
mov word [0x42ba60], ax
pop ecx
test edx, edx
je 0x41a70f
movzx ecx, word [0x42ba5c]
movzx eax, ax
and eax, 0x48a8fcd5
mov dword [0x42ba68], eax
mov eax, 0x673f
imul ecx, eax
mov eax, dword [ebx + 4]
push esi
add eax, edx
push ebp
push eax
mov word [0x42ba60], cx
call fcn.00401d70
movzx ecx, word [0x42ba5c]
mov eax, 0x7a1
add dword [ebx + 4], esi
add esp, 0xc
imul ecx, eax
mov bl, 1
mov word [0x42ba5c], cx
jmp 0x41a718
mov cx, word [0x42ba5c]
xor ebx, ebx
movzx eax, cx
xor eax, 0xcbd7d51d
push ebp
mov dword [0x42ba68], eax
call fcn.004056f0
mov dx, word [0x42ba60]
pop ecx
mov ecx, dword [0x42ba68]
jmp 0x41a73d
xor ebx, ebx
pop edi
mov eax, 0xaaa8
or ecx, 0x3ce827ce
pop esi
and dx, ax
mov dword [0x42ba68], ecx
pop ebp
mov al, bl
mov word [0x42ba5c], dx
pop ebx
add esp, 0x70
ret