Function at 0x2d1b4f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov dword [esp + 0x10], 0xeba1d5ba
mov dword [esp + 0x14], 0xef99e99e
mov dword [esp + 0x18], 0xe38bed98
mov dword [esp + 0x1c], 0xe79be19b
mov dword [esp + 0x20], 0xfb80e58a
mov dword [esp + 0x24], 0xff82f981
mov dword [esp + 0x28], 0xf377fd99
mov dword [esp + 0x2c], 0xf784f18e
lea eax, [esp + 0x30]
mov word [esp + 0x30], 0xf5f6
mov dword [esp + 0x32], 0
mov dword [esp + 0x36], 0
mov dword [esp + 0x3a], 0
mov dword [esp + 0x3e], 0
mov dword [esp + 0x42], 0
mov dword [esp + 0x46], 0
mov dword [esp + 0x4a], 0
mov dword [esp + 0x74], 0
mov ecx, dword [esp + 0x74]
cmp ecx, 0x3d
ja 0x2d1b5da
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x74]
movzx esi, byte [esp + ecx + 0x10]
lea ecx, [edx + esi]
add ecx, 0x57f7ff5d
add edx, 0x57f7ff5d
and edx, esi
add edx, edx
sub ecx, edx
add cl, 0x75
mov edx, dword [esp + 0x74]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 0x74]
mov ecx, dword [esp + 0x74]
cmp ecx, 0x3e
jb 0x2d1b5a0
mov ebx, dword [ebp + 8]
lea edi, [esp + 0x74]
lea edx, [esp + 0x10]
mov ecx, 8
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x94]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov eax, dword [ebp + 0x10]
mov edi, dword [eax + 4]
mov ecx, 0xfffffffe
nop
nop
nop
nop
cmp word [edi + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x2d1b610
mov eax, ecx
sar eax, 1
and ecx, 0x22
xor eax, 0x11
add eax, ecx
jns 0x2d1b630
mov eax, 0xffffffff
jmp 0x2d1b632
add eax, eax
push eax
call fcn.02d39cc0
add esp, 4
mov esi, eax
movzx ecx, word [edi]
test cx, cx
je 0x2d1b661
add edi, 2
mov eax, esi
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edi]
add edi, 2
test cx, cx
jne 0x2d1b650
mov word [eax], 0
movzx ecx, word [esp + 0x74]
test cx, cx
je 0x2d1b691
lea edx, [esp + 0x76]
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 0x2d1b680
mov word [eax], 0
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], esi
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xa0], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xa4], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xa8], eax
mov dword [esp + 0x10], 0x73c16dc1
mov dword [esp + 0x14], 0x771b71ce
mov dword [esp + 0x18], 0x7bc275d1
mov dword [esp + 0x1c], 0x7fdb79cc
mov dword [esp + 0x20], 0x43f57dce
mov dword [esp + 0x24], 0x47f541e9
mov dword [esp + 0x28], 0x4b2545f6
mov dword [esp + 0x2c], 0x4f214927
mov dword [esp + 0x30], 0x53f04d22
mov dword [esp + 0x34], 0x57e151e5
mov dword [esp + 0x38], 0x5bec55f1
mov dword [esp + 0x3c], 0x5fed591f
mov dword [esp + 0x40], 0xa3165dee
mov dword [esp + 0x44], 0xa71ea105
mov dword [esp + 0x48], 0xabe3a510
mov dword [esp + 0x4c], 0xafd3a90c
mov dword [esp + 0x50], 0xb3b2adc2
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 0x57
ja 0x2d1b7d6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
movzx edx, byte [esp + eax + 0x10]
lea eax, [ecx + edx]
add eax, 0x5915364e
add ecx, 0x5915364e
and ecx, edx
add ecx, ecx
sub eax, ecx
mov ecx, eax
xor ecx, 0xdd
and eax, 0x5d
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp + 0xc]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 0x58
jb 0x2d1b790
lea eax, [esp + 0x98]
push eax
push 0x2d1af10
lea eax, [esp + 0x18]
push eax
push esi
call fcn.02d1c480
add esp, 0x10
mov ebx, eax
mov eax, dword [0x2d460d8]
mov ecx, 0x134c38bf
xor ecx, dword [0x2d460e0]
add eax, ecx
inc eax
jmp eax