Function at 0x41d7a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x120
mov dword [esp + 0x20], 0xab68a54d
mov dword [esp + 0x24], 0xaf0da91b
mov dword [esp + 0x28], 0xb300ad09
mov dword [esp + 0x2c], 0xb700b175
mov dword [esp + 0x30], 0xbb70b506
mov dword [esp + 0x34], 0xbf0cb91d
mov dword [esp + 0x38], 0x8357bd19
lea eax, [esp + 0x3c]
mov word [esp + 0x3c], 0x8182
mov dword [esp + 0x3e], 0
mov dword [esp + 0x42], 0
mov dword [esp + 0x46], 0
mov dword [esp + 0x9c], 0
mov ecx, dword [esp + 0x9c]
cmp ecx, 0x29
ja 0x41d866
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x9c]
add cl, 0xc5
xor cl, byte [esp + edx + 0x20]
add cl, 0x9d
mov edx, dword [esp + 0x9c]
mov byte [esp + edx + 0x20], cl
inc dword [esp + 0x9c]
mov ecx, dword [esp + 0x9c]
cmp ecx, 0x2a
jb 0x41d830
lea esi, [esp + 0xfe]
lea edx, [esp + 0x20]
mov ecx, 7
mov edi, esi
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x11a]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
lea edi, [esp + 0x88]
push edi
push 0
push 0
push 0xe
push esi
push 0
call dword [0x44a2c4]
mov ebx, dword [esp + 0x88]
test ebx, ebx
jns 0x41d8b8
mov eax, 0xffffffff
jmp 0x41d8bb
lea eax, [ebx + ebx]
push eax
call fcn.00408810
add esp, 4
push edi
push ebx
mov ebx, eax
push eax
push 0xe
push esi
push 0
call dword [0x44a2c4]
mov dword [esp + 0x20], 0x63d261dc
mov dword [esp + 0x24], 0x67c565c5
mov dword [esp + 0x28], 0x6bcb69c3
mov dword [esp + 0x2c], 0x6fcb6dcb
mov dword [esp + 0x30], 0x535251c3
lea eax, [esp + 0x34]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x47], 0
mov dword [esp + 0x9c], 0
mov ecx, dword [esp + 0x9c]
cmp ecx, 0x2a
ja 0x41d995
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 0x9c]
mov ecx, dword [esp + 0x9c]
movzx esi, byte [esp + ecx + 0x20]
lea ecx, [edx - 0x3b760ff0]
add edx, 0x10
or edx, ecx
and edx, esi
or ecx, esi
sub ecx, edx
add cl, 0x90
mov edx, dword [esp + 0x9c]
mov byte [esp + edx + 0x20], cl
inc dword [esp + 0x9c]
mov ecx, dword [esp + 0x9c]
cmp ecx, 0x2b
jb 0x41d950
lea edi, [esp + 0xea]
lea edx, [esp + 0x20]
mov ecx, 5
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0xfe]
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov eax, dword [esp + 0x88]
mov ecx, eax
add ecx, 9
jns 0x41d9ce
mov eax, 0xffffffff
jmp 0x41d9d3
add eax, eax
add eax, 0x12
push eax
call fcn.00408810
add esp, 4
mov esi, eax
movzx ecx, word [ebx]
test cx, cx
je 0x41da01
lea edx, [ebx + 2]
mov eax, esi
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41d9f0
mov word [eax], 0
movzx ecx, word [esp + 0xea]
test cx, cx
je 0x41da31
lea edx, [esp + 0xec]
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41da20
mov edi, dword [ebp + 8]
mov word [eax], 0
lea eax, [esp + 0x98]
push eax
push esi
call fcn.0043b160
add esp, 8
not eax
shr eax, 0x1f
mov eax, dword [eax*4 + 0x443b58]
mov ecx, 0xd644e5e7
xor ecx, dword [0x443b60]
add eax, ecx
inc eax
mov dword [esp + 0x90], ebx
jmp eax