Function at 0x41dc3a
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c4
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x30], edi
xor esi, esi
mov dword [esp + 0x14], 0x253c35ee
mov ecx, 0xff
mov byte [esp + 0x18], 0xf3
movzx eax, byte [esp + esi + 0x14]
add ax, 0x37
and ax, cx
mov word [esp + esi*2 + 0x64], ax
inc esi
cmp esi, 5
jl 0x41dc62
xor eax, eax
mov dword [esp + 0x14], 0xc7e8f7be
mov word [esp + 0x6e], ax
xor ecx, ecx
mov word [esp + 0x18], 0xf7be
mov byte [esp + 0x1a], 0xe8
mov al, byte [esp + ecx + 0x14]
xor al, 0x9b
movzx eax, al
mov word [esp + ecx*2 + 0x70], ax
inc ecx
cmp ecx, 7
jl 0x41dc96
mov cx, word [0x42bb68]
xor eax, eax
add byte [0x42bb12], 0xe2
mov edx, 0x4ed2
mov word [esp + 0x7e], ax
mov ax, cx
sub ax, dx
cmp dword [esp + 0x2dc], 0
mov word [0x42bb9c], ax
jne 0x41dd14
mov eax, 0x2e8c
mov edx, 0x8f0d
add ax, word [0x42bafc]
movzx eax, ax
xor eax, 0xb1348c4d
mov dword [0x42bb28], eax
mov ax, cx
or ax, dx
mov word [0x42bafc], ax
add eax, 0xffffc23f
mov word [0x42bb9c], ax
jmp 0x41e591
movzx eax, cx
or eax, 0x50f0201a
mov dword [0x42bb28], eax
lea eax, [esp + 0x64]
push edi
push eax
call fcn.00422d73
mov dx, word [0x42bb68]
mov ebx, eax
pop ecx
pop ecx
mov cx, dx
mov dword [esp + 0x34], ebx
mov eax, 0xddce
and cx, ax
mov word [0x42bafc], cx
push 0x2e
pop esi
test ebx, ebx
je 0x41e1a8
mov cx, word [0x42bb9c]
mov eax, 0x782d
sub cx, ax
add dl, 0x2c
movzx eax, dl
mov edx, 0x54e1cc7b
mov word [0x42bafc], cx
or eax, 0xed11709e
xor cl, 0xd8
mov dword [0x42bb28], eax
mov byte [0x42bb12], cl
lea eax, [esp + 0x80]
push eax
xor ecx, ecx
push ebx
inc ecx
call fcn.004155a6
call eax
mov ecx, dword [0x42bb28]
mov esi, eax
xor ecx, 0xf3cb
mov dword [esp + 0x2c], esi
mov word [0x42bb9c], cx
mov eax, 0x6633
movzx ecx, byte [0x42bb12]
mov edx, 0x17299c7b
sub cx, ax
mov word [0x42bb68], cx
xor ecx, ecx
inc ecx
call fcn.004155a6
mov bx, word [0x42bb68]
mov ebp, dword [0x42bb28]
mov dl, bl
xor dl, 0x46
mov dword [esp + 0x3c], eax
add ebp, 0x446d
mov byte [0x42bb12], dl
mov word [0x42bb9c], bp
cmp esi, 0xffffffff
je 0x41e17c
mov si, word [0x42bafc]
mov eax, 0x35ba
mov ebx, dword [esp + 0x2c]
movzx edi, si
imul edi, eax
movzx eax, dl
imul eax, eax, 0x61
mov word [esp + 0x10], 0xafaf
mov byte [0x42bb12], al
push 0x2e
pop eax
mov word [esp + 0x2c], ax
mov edx, 0xff
xor eax, eax
xor ecx, ecx
mov word [esp + 0x2e], ax
movzx eax, byte [esp + ecx + 0x10]
add ax, 0x7f
and ax, dx
mov word [esp + ecx*2 + 0x14], ax
inc ecx
cmp ecx, 2
jl 0x41de4b
xor eax, eax
movzx ecx, di
mov word [esp + 0x18], ax
movzx eax, bp
or eax, 0x3c8169c8
mov dword [0x42bb28], eax
mov eax, 0x9440
imul ecx, eax
mov eax, 0xca96
or si, ax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0xb0]
mov word [0x42bafc], si
push eax
mov word [0x42bb68], cx
call fcn.00405af6
pop ecx
pop ecx
test eax, eax
je 0x41e106
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0xb0]
push eax
call fcn.00405af6
pop ecx
pop ecx
test eax, eax
je 0x41e106
mov dx, word [0x42bb68]
mov eax, 0xa7e8
movzx esi, word [0x42bb9c]
xor ax, dx
test byte [esp + 0x80], 0x10
mov word [0x42bafc], ax
lea eax, [esi + 0x52ddb658]
mov dword [0x42bb28], eax
je 0x41e11b
mov dword [esp + 0x1c], 0x122922db
xor ecx, ecx
mov word [esp + 0x20], 0x22db
mov ebp, 0xff
mov byte [esp + 0x22], 0x29
movzx eax, byte [esp + ecx + 0x1c]
add ax, 0x4a
and ax, bp
mov word [esp + ecx*2 + 0x44], ax
inc ecx
cmp ecx, 7
jl 0x41df1f
xor eax, eax
xor dl, 0xfd
mov word [esp + 0x52], ax
mov ecx, 0xb85c
movzx eax, dl
xor esi, 0xa1e6a2bf
xor ax, cx
mov byte [0x42bb12], dl
mov word [0x42bafc], ax
lea eax, [esp + 0xac]
push eax
push dword [esp + 0x34]
lea eax, [esp + 0x4c]
mov dword [0x42bb28], esi
push eax
call fcn.00422d73
movzx ecx, byte [0x42bb12]
mov edi, eax
mov dx, word [0x42bafc]
or ecx, 0x8af4d3ea
mov dword [0x42bb28], ecx
mov eax, 0x5b99
mov cx, word [0x42bb68]
add esp, 0xc
and cx, ax
mov word [0x42bb9c], cx
mov cl, dl
xor cl, 0xce
mov byte [0x42bb12], cl
test edi, edi
je 0x41e11b
mov dword [esp + 0x24], 0x8fd3cc85
xor ecx, ecx
mov word [esp + 0x28], 0xcc85
mov byte [esp + 0x2a], 0xd3
movzx eax, byte [esp + ecx + 0x24]
sub ax, 0x60
and ax, bp
mov word [esp + ecx*2 + 0x54], ax
inc ecx
cmp ecx, 7
jl 0x41dfd7
xor eax, eax
mov word [esp + 0x62], ax
mov eax, 0x202f
sub dx, ax
movzx eax, dx
add eax, 0x571c618e
mov word [0x42bb68], dx
mov dword [0x42bb28], eax
lea eax, [esp + 0xac]
push eax
push dword [esp + 0x44]
lea eax, [esp + 0x5c]
push eax
call fcn.00422d73
movzx edx, word [0x42bb68]
mov ecx, 0x6b87
add cx, word [0x42bafc]
mov esi, eax
mov word [0x42bb9c], cx
add esp, 0xc
mov ecx, 0xc839
imul edx, ecx
mov word [0x42bafc], dx
test esi, esi
je 0x41e0e3
movzx eax, word [0x42bb28]
add eax, 0x6fb
movzx ecx, dx
or ecx, 0x6c225278
or eax, 0xf76e
mov dword [0x42bb28], ecx
mov edx, esi
add cl, 0x1b
mov word [0x42bafc], ax
movzx eax, cl
mov byte [0x42bb12], cl
mov ecx, 0xf9ac
xor ax, cx
mov ecx, edi
mov word [0x42bb9c], ax
mov eax, dword [esp + 0x2dc]
dec eax
push eax
push dword [esp + 0x2dc]
call fcn.0041dc3a
movzx eax, word [0x42bb68]
xor eax, 0xcbe0f4c3
mov dword [0x42bb28], eax
mov al, byte [0x42bb9c]
neg al
push esi
mov byte [0x42bb12], al
call fcn.004056f0
mov dx, word [0x42bafc]
add esp, 0xc
mov eax, 0x5e66
add ax, dx
mov word [0x42bb68], ax
mov al, byte [0x42bb28]
xor al, 0x6c
push edi
mov byte [0x42bb12], al
call fcn.004056f0
pop ecx
jmp 0x41e11b
movzx eax, byte [0x42bb12]
mov ecx, 0x3153
or ax, cx
mov word [0x42bafc], ax
lea eax, [esp + 0x80]
push eax
push ebx
call dword [esp + 0x44]
test eax, eax
je 0x41e146
mov bp, word [0x42bb9c]
mov di, word [0x42bb68]
mov si, word [0x42bafc]
jmp 0x41de35
movzx eax, byte [0x42bb12]
mov ecx, 0x7cf7
sub ax, cx
mov edx, 0x83fbc401
xor ecx, ecx
mov word [0x42bafc], ax
push ebx
inc ecx
call fcn.004155a6
call eax
mov dl, byte [0x42bb12]
mov bx, word [0x42bb68]
mov edi, dword [esp + 0x30]
push dword [esp + 0x34]
mov eax, 0xb175
movzx ecx, bx
imul ecx, eax
movzx eax, dl
or eax, 0x8bf8dfcc
mov dword [0x42bb28], eax
mov word [0x42bb68], cx
call fcn.004056f0
pop ecx
push 0x2e
pop esi
movzx eax, byte [0x42bb12]
mov ecx, 0x9e97
push dword [esp + 0x2d8]
or ax, cx
mov word [0x42bb9c], ax
lea eax, [esp + 0x74]
push edi
push eax
call fcn.00422d73
mov ebp, eax
add esp, 0xc
mov eax, 0xb16a
mov dword [esp + 0x14], ebp
xor word [0x42bb9c], ax
test ebp, ebp
je 0x41e591
mov ecx, dword [0x42bb28]
mov edx, 0x54e1cc7b
mov ax, word [0x42bafc]
add ecx, 0x2d93
or byte [0x42bb12], 0x84
mov word [0x42bb9c], cx
mov ecx, 0x395
and ax, cx
xor ecx, ecx
mov word [0x42bb68], ax
inc ecx
lea eax, [esp + 0x80]
push eax
push ebp
call fcn.004155a6
call eax
mov cl, byte [0x42bafc]
mov ebx, eax
sub cl, 0x79
mov dword [esp + 0x34], ebx
mov byte [0x42bb12], cl
mov edx, 0x17299c7b
xor ecx, ecx
inc ecx
call fcn.004155a6
movzx edx, word [0x42bafc]
mov ecx, edx
mov dword [esp + 0x3c], eax
xor ecx, 0xb8acc072
mov dword [0x42bb28], ecx
cmp ebx, 0xffffffff
je 0x41e578
mov bx, word [0x42bb68]
or edx, 0x9268
mov ebp, dword [esp + 0x34]
mov cl, bl
or cl, 0xbe
mov word [esp + 0x10], 0x1515
add edx, 0x7d00d788
mov byte [0x42bb12], cl
mov dword [0x42bb28], edx
xor eax, eax
mov word [esp + 0x2c], si
mov word [esp + 0x2e], ax
xor ecx, ecx
mov edx, 0xff
movzx eax, byte [esp + ecx + 0x10]
add ax, 0x19
and ax, dx
mov word [esp + ecx*2 + 0x34], ax
inc ecx
cmp ecx, 2
jl 0x41e2b8
xor eax, eax
mov ecx, 0x1c75
mov word [esp + 0x38], ax
mov eax, 0x6e2d
sub bx, ax
mov ax, bx
or ax, cx
mov word [0x42bafc], ax
add eax, 0xffffa110
mov word [0x42bb9c], ax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0xb0]
push eax
call fcn.00405af6
pop ecx
pop ecx
test eax, eax
je 0x41e523
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0xb0]
push eax
call fcn.00405af6
pop ecx
pop ecx
test eax, eax
je 0x41e523
mov eax, 0xb25e
and word [0x42bb9c], ax
test byte [esp + 0x80], 0xa7
je 0x41e506
mov dword [esp + 0x24], 0x223932eb
xor ecx, ecx
mov word [esp + 0x28], 0x32eb
mov ebx, 0xff
mov byte [esp + 0x2a], 0x39
movzx eax, byte [esp + ecx + 0x24]
add ax, 0x3a
and ax, bx
mov word [esp + ecx*2 + 0x54], ax
inc ecx
cmp ecx, 7
jl 0x41e367
xor eax, eax
mov ecx, 0xaf9e
mov word [esp + 0x62], ax
mov eax, 0x1000
xor ax, word [0x42bb68]
or ax, cx
mov word [0x42bafc], ax
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x58]
push edi
push eax
call fcn.00422d73
movzx edi, word [0x42bb28]
mov esi, eax
mov edx, edi
add esp, 0xc
and edx, 0x37e
mov word [0x42bafc], dx
test esi, esi
je 0x41e4ff
mov dword [esp + 0x1c], 0xbf03fcb5
xor ecx, ecx
mov word [esp + 0x20], 0xfcb5
mov byte [esp + 0x22], 3
movzx eax, byte [esp + ecx + 0x1c]
add ax, 0x70
and ax, bx
mov word [esp + ecx*2 + 0x44], ax
inc ecx
cmp ecx, 7
jl 0x41e3eb
xor eax, eax
xor dl, 0xcb
mov word [esp + 0x52], ax
add dl, 0x4e
lea eax, [edi + 0x3911]
mov byte [0x42bb12], dl
mov word [0x42bb9c], ax
movzx eax, ax
or eax, 0x4b4ad63d
mov dword [0x42bb28], eax
or eax, 0xc3ac
mov word [0x42bafc], ax
lea eax, [esp + 0xac]
push eax
push dword [esp + 0x44]
lea eax, [esp + 0x4c]
push eax
call fcn.00422d73
mov cx, word [0x42bafc]
mov edi, eax
mov eax, 0x6f19
add esp, 0xc
add cx, ax
mov word [0x42bb9c], cx
test edi, edi
je 0x41e4e3
or byte [0x42bb12], 0x4f
mov eax, 0xedb1
movzx ecx, cx
mov edx, edi
sub ecx, 0x5f4efa85
mov dword [0x42bb28], ecx
movzx ecx, word [0x42bb68]
imul ecx, eax
mov word [0x42bb68], cx
mov ecx, esi
call fcn.0041e59c
mov cx, word [0x42bb9c]
mov edx, 0x7c3f
mov ax, cx
sub ax, dx
mov word [0x42bafc], ax
movzx eax, word [0x42bb68]
imul eax, eax, 0x6e4064cb
push edi
mov dword [0x42bb28], eax
mov eax, 0xdd0a
add cx, ax
mov word [0x42bb9c], cx
call fcn.004056f0
pop ecx
movzx eax, byte [0x42bb12]
mov ecx, 0x7704
or ax, cx
push esi
mov word [0x42bb9c], ax
call fcn.004056f0
pop ecx
mov edi, dword [esp + 0x30]
push 0x2e
pop esi
lea eax, [esp + 0x80]
push eax
push ebp
call dword [esp + 0x44]
test eax, eax
je 0x41e558
mov bx, word [0x42bb68]
jmp 0x41e2a5
movzx eax, byte [0x42bb12]
imul eax, eax, 0x57
mov byte [0x42bb12], al
movzx eax, word [0x42bafc]
imul eax, eax, 0x3218d772
mov dword [0x42bb28], eax
mov eax, 0xd504
or ax, word [0x42bb9c]
mov word [0x42bafc], ax
jmp 0x41e506
xor ecx, ecx
mov eax, 0xc88f
xor word [0x42bb68], ax
mov edx, 0x83fbc401
push ebp
inc ecx
call fcn.004155a6
call eax
mov ebp, dword [esp + 0x14]
mov eax, 0x8b11
or ax, word [0x42bb68]
push ebp
mov word [0x42bb9c], ax
call fcn.004056f0
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c4
ret