Function at 0x418af0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xc0
mov dword [esp + 0x10], 0x5bae59bc
mov dword [esp + 0x14], 0x47a545d3
mov dword [esp + 0x18], 0x43d641a1
mov dword [esp + 0x1c], 0x4f834d6c
mov dword [esp + 0x20], 0x4bd649d0
mov dword [esp + 0x24], 0x77e07599
mov dword [esp + 0x28], 0x739b71e3
mov dword [esp + 0x2c], 0x7fe87deb
mov dword [esp + 0x30], 0x7b897958
mov dword [esp + 0x34], 0x67fa6589
mov dword [esp + 0x38], 0x638b61fc
mov dword [esp + 0x3c], 0x6f816dfa
mov dword [esp + 0x40], 0x6b8e69fb
mov word [esp + 0x44], 0x1514
mov dword [esp + 0x46], 0
mov dword [esp + 0x4a], 0
mov dword [esp + 0x4e], 0
mov dword [esp + 0x52], 0
mov dword [esp + 0x56], 0
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0x84]
cmp eax, 0x49
ja 0x418bf7
nop
nop
nop
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x84]
movzx edx, byte [esp + eax + 0x10]
lea eax, [ecx + edx]
add eax, 0x9b246a8c
add ecx, 0x9b246a8c
and ecx, edx
add ecx, ecx
sub eax, ecx
add al, 0x2c
mov ecx, dword [esp + 0x84]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 0x84]
mov eax, dword [esp + 0x84]
cmp eax, 0x4a
jb 0x418bb0
mov esi, dword [ebp + 0xc]
movzx ecx, word [esp + 0x10]
lea eax, [esp + 0x84]
test cx, cx
je 0x418c21
lea edx, [esp + 0x12]
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x418c10
mov ecx, dword [ebp + 0x10]
mov word [eax], 0
mov esi, dword [esi + 4]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x418c40
sar eax, 1
mov edi, dword [ecx]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x418c60
sar ecx, 1
lea edx, [eax + ecx]
add edx, 0x1b
test edx, edx
jns 0x418c7e
mov eax, 0xffffffff
jmp 0x418c85
add eax, ecx
add eax, eax
add eax, 0x36
push eax
call fcn.0042f750
add esp, 4
movzx ecx, word [esi]
mov ebx, eax
test cx, cx
je 0x418cb1
add esi, 2
mov ebx, eax
nop
nop
nop
mov word [ebx], cx
add ebx, 2
movzx ecx, word [esi]
add esi, 2
test cx, cx
jne 0x418ca0
mov dword [esp + 0x64], eax
mov word [ebx], 0
movzx ecx, word [esp + 0x84]
test cx, cx
je 0x418ce1
lea edx, [esp + 0x86]
nop
nop
mov word [ebx], cx
add ebx, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x418cd0
mov word [ebx], 0
movzx ecx, word [edi]
test cx, cx
je 0x418d11
add edi, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebx], cx
add ebx, 2
movzx ecx, word [edi]
add edi, 2
test cx, cx
jne 0x418d00
mov word [ebx], 0
mov dword [esp + 0x10], 0xa367ad9f
mov dword [esp + 0x14], 0xa752a128
mov dword [esp + 0x18], 0xbb48a541
mov dword [esp + 0x1c], 0xbf47b94f
mov dword [esp + 0x20], 0xb340bd4f
mov dword [esp + 0x24], 0xb785b147
mov word [esp + 0x28], 0xb5b4
mov dword [esp + 0x2a], 0
mov dword [esp + 0x2e], 0
mov dword [esp + 0x32], 0
mov dword [esp + 0x36], 0
mov word [esp + 0x3a], 0
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x68]
cmp eax, 0x2b
ja 0x418dbf
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x68]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax + 0x66]
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
add al, 0x9c
mov ecx, dword [esp + 0x68]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 0x68]
mov eax, dword [esp + 0x68]
cmp eax, 0x2c
jb 0x418d90
movzx ecx, word [esp + 0x10]
test cx, cx
mov edi, dword [ebp + 0xc]
lea eax, [esp + 0x68]
je 0x418df1
lea edx, [esp + 0x12]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x418de0
mov word [eax], 0
mov esi, dword [edi]
mov eax, 0xfffffffe
nop
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x418e00
mov ebx, dword [edi + 8]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x418e20
sar eax, 1
add eax, 0xe
mov edx, dword [ebp + 0x10]
mov edi, dword [edx + 4]
mov edx, 0xfffffffe
nop
nop
nop
nop
nop
cmp word [edi + edx + 2], 0
lea edx, [edx + 2]
jne 0x418e40
sar ecx, 1
add eax, ecx
sar edx, 1
mov ecx, edx
and ecx, eax
xor edx, eax
lea eax, [edx + ecx*2]
test eax, eax
jns 0x418e65
mov eax, 0xffffffff
jmp 0x418e67
add eax, eax
push eax
call fcn.0042f750
add esp, 4
movzx edx, word [esi]
mov ecx, eax
test dx, dx
je 0x418e91
add esi, 2
mov ecx, eax
nop
mov word [ecx], dx
add ecx, 2
movzx edx, word [esi]
add esi, 2
test dx, dx
jne 0x418e80
mov word [ecx], 0x2f
add ecx, 2
movzx edx, word [ebx]
test dx, dx
je 0x418ec1
add ebx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ecx], dx
add ecx, 2
movzx edx, word [ebx]
add ebx, 2
test dx, dx
jne 0x418eb0
mov word [ecx], 0
movzx edx, word [esp + 0x68]
test dx, dx
je 0x418ef1
lea esi, [esp + 0x6a]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ecx], dx
add ecx, 2
movzx edx, word [esi]
add esi, 2
test dx, dx
jne 0x418ee0
mov word [ecx], 0
movzx edx, word [edi]
test dx, dx
je 0x418f21
add edi, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ecx], dx
add ecx, 2
movzx edx, word [edi]
add edi, 2
test dx, dx
jne 0x418f10
mov word [ecx], 0
mov byte [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x1310113c
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0xc]
cmp ecx, 0x10
ja 0x418f9f
nop
nop
nop
nop
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
movzx edx, byte [esp + edx + 0x10]
mov esi, ecx
and esi, 0x3aca0253
xor ecx, 0xbaca0253
lea esi, [ecx + esi*2]
lea ecx, [esi + edx]
and esi, edx
add esi, esi
sub ecx, esi
add cl, 0xbb
mov edx, dword [esp + 0xc]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
cmp ecx, 0x11
jb 0x418f60
lea ecx, [esp + 0x10]
push 0
push 0xc00000
push ecx
push dword [esp + 0x70]
push eax
push dword [ebp + 8]
call fcn.00419cd0
add esp, 0x18
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret