Function at 0x4150e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c9ab
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x43c010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [ebp + 0x1c]
lea eax, [ebp + 8]
mov dword [ebp - 4], 1
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
mov ecx, esp
push eax
call dword [sym.imp.mfc140.dll_Ordinal_300]
mov ecx, edi
call fcn.00415360
test eax, eax
jne 0x41513c
xor esi, esi
jmp 0x415332
mov ecx, dword [edi + 8]
lea ebx, [edi + 0x10]
push 0xe
push ebx
call fcn.00412ca0
movzx eax, ax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_300]
push 0
push 0x2d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc140.dll_Ordinal_4655]
cmp eax, 0xffffffff
je 0x415191
push 1
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_3839]
push 0
push 0x2d
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_4655]
cmp eax, 0xffffffff
jne 0x415173
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_8679]
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0x1b
jne 0x415327
xorps xmm0, xmm0
lea ecx, [ebp - 0x14]
movq qword [ebx], xmm0
mov dword [ebx + 8], 0
push 0
mov word [ebx + 0xc], 0
call dword [sym.imp.mfc140.dll_Ordinal_5059]
push 1
lea ecx, [ebp - 0x14]
mov byte [ebx], al
call dword [sym.imp.mfc140.dll_Ordinal_5059]
mov ebx, 2
mov byte [edi + 0x11], al
lea esi, [ebx + 0xe]
nop
push ebx
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_5059]
movzx eax, al
mov ecx, edi
push eax
call fcn.00415610
mov byte [ebp - 0xd], al
cmp al, 0xff
je 0x415327
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 4
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], esi
push eax
lea eax, [ebp - 0xd]
mov ecx, edi
push eax
lea eax, [edi + 0x10]
push eax
call fcn.00414c80
add esi, 4
inc ebx
cmp esi, 0x74
jb 0x4151e0
mov eax, dword [ebp + 0x14]
lea esi, [edi + 0x20]
mov ecx, dword [ebp + 0x10]
mov ebx, 0xc
mov byte [esi], al
mov eax, dword [ebp + 0x18]
mov byte [edi + 0x21], al
mov eax, dword [ebp + 0x1c]
mov byte [edi + 0x1f], cl
mov byte [edi + 0x22], al
nop dword [eax]
mov cl, byte [esi - 1]
lea esi, [esi + 1]
mov al, byte [esi]
sub cl, 0x1c
add al, byte [esi - 1]
xor cl, al
xor cl, byte [esi + 1]
xor cl, 0x45
mov byte [esi + 2], cl
sub ebx, 1
jne 0x415250
mov ecx, dword [edi + 0xc]
lea eax, [edi + 0x1f]
push eax
call fcn.00416fd0
mov ecx, dword [edi + 0xc]
lea eax, [edi + 0x12]
push 1
push eax
call fcn.00416f60
lea eax, [ebp + 0x10]
mov dword [ebp - 0x1c], ebx
push eax
lea eax, [ebp + 0x14]
mov dword [ebp + 0x10], 0x10
push eax
lea ebx, [edi + 0x10]
mov dword [ebp + 0x14], 0x58
push ebx
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.00414bf0
lea eax, [ebp + 0x10]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp + 0x14]
mov dword [ebp + 0x10], 0x10
push eax
lea eax, [ebp - 0x18]
mov dword [ebp + 0x14], 0x58
push eax
push ebx
mov ecx, edi
call fcn.00414c80
mov ecx, dword [edi + 8]
push 0xe
push ebx
call fcn.00412ca0
movzx eax, ax
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp - 0x1c]
jne 0x415327
lea eax, [ebp + 0x10]
mov dword [ebp - 0x20], 0
push eax
lea eax, [ebp + 0x14]
mov dword [ebp + 0x10], 0x10
push eax
push ebx
lea eax, [ebp - 0x20]
mov dword [ebp + 0x14], 0x48
push eax
mov ecx, edi
call fcn.00414bf0
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x20]
jne 0x415327
mov esi, 1
jmp 0x415329
xor esi, esi
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18