Function at 0x4100e0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x43f048
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
lea ecx, [esp + 0x10]
xor ebx, ebx
mov dword [esp + 0x18], ebp
call sub.MFC42.DLL_CString::CString_3
mov al, 0x6e
mov byte [esi + 0x79], 0x50
mov byte [esi + 0x478], 0x50
mov byte [esi + 0x78], al
mov byte [esi + 0x479], al
mov eax, dword [0x464d80]
cmp eax, ebp
mov dword [esp + 0x30], ebp
jne 0x41013e
mov dword [esp + 0x18], 1
mov byte [esi + 0x79], 0x51
mov cl, byte [esi + 0x7a]
xor eax, eax
and ecx, 0x7f
lea edi, [ecx + 3]
cmp edi, ebp
jle 0x41015a
xor edx, edx
mov dl, byte [esi + eax + 0x78]
xor ebx, edx
inc eax
cmp eax, edi
jl 0x41014d
mov byte [eax + esi + 0x78], bl
mov dword [esp + 0x14], eax
mov eax, 1
lea ebx, [esi + 0x878]
mov dword [esp + 0x24], eax
cmp eax, 1
jle 0x4101ad
mov al, byte [esi + 0x7c]
lea ecx, [esp + 0x10]
and eax, 0x7f
push eax
push str.___02X_
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x10]
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [0x490c00]
call fcn.00439d10
mov ecx, dword [esp + 0x14]
xor eax, eax
test ecx, ecx
mov dword [ebx], 0x81000000
mov ebp, 1
jl 0x4101e6
lea edi, [esi + 0x87c]
lea ebp, [ecx + 2]
xor edx, edx
mov ecx, dword [esp + 0x14]
mov dl, byte [esi + eax + 0x78]
add edi, 4
or edx, 0x85000000
inc eax
mov dword [edi - 4], edx
cmp eax, ecx
jle 0x4101cb
mov eax, dword [esp + 0x38]
mov dword [esi + ebp*4 + 0x878], 0x82000000
inc ebp
test ax, ax
je 0x4103aa
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4102d1
and eax, 0xffff
lea ebx, [esi + 0x878]
or eax, 0x87000000
push 0
mov dword [esi + ebp*4 + 0x878], eax
inc ebp
xor eax, eax
push ebx
mov dword [esi + ebp*4 + 0x878], 0x81000000
mov al, byte [esi + 0x479]
inc ebp
or eax, 0x85000001
mov dword [esp + 0x28], ebp
mov ecx, 0x464e08
mov dword [esi + ebp*4 + 0x878], eax
inc ebp
mov eax, 0x83000000
mov dword [esi + ebp*4 + 0x878], eax
inc ebp
mov dword [esi + ebp*4 + 0x878], eax
inc ebp
lea edi, [esi + ebp*4 + 0x878]
mov dword [edi], 0xffffffff
call fcn.00424370
test eax, eax
jne 0x41029c
push 0x32
mov ecx, 0x464e08
call fcn.00424340
mov dword [ebx], 0x89000000
mov dword [esi + 0x87c], 0xffffffff
jmp 0x41036a
mov edx, dword [esi + ebp*4 + 0x874]
mov dword [esp + 0x1c], ebp
and edx, 0x7f
je 0x4102b7
mov ecx, edx
mov eax, 0x83000000
rep stosd dword es:[edi], eax
add ebp, edx
mov dword [esi + ebp*4 + 0x878], 0x84000000
inc ebp
mov dword [esi + ebp*4 + 0x878], 0x82000000
inc ebp
jmp 0x4102ee
and eax, 0xffff
mov dword [esp + 0x20], ebp
or eax, 0x86000000
mov dword [esp + 0x1c], 0
mov dword [esi + ebp*4 + 0x874], eax
mov ecx, dword [esp + 0x1c]
or edi, 0xffffffff
push 0
mov dword [esi + ebp*4 + 0x878], edi
lea edx, [esi + ecx*4 + 0x878]
mov ecx, 0x464e08
push edx
call fcn.00424370
test eax, eax
je 0x41034c
mov edx, dword [esp + 0x20]
xor ecx, ecx
lea ebp, [esi + edx*4 + 0x878]
mov edx, dword [esi + edx*4 + 0x878]
cmp edx, edi
je 0x41034c
mov edi, ebp
mov dl, byte [edi]
add ebp, 4
mov byte [esi + ecx + 0x478], dl
inc ecx
mov edx, dword [ebp]
mov edi, ebp
cmp edx, 0xffffffff
jne 0x41032e
test ecx, ecx
jne 0x41037e
or edi, 0xffffffff
push 0x32
mov ecx, 0x464e08
call fcn.00424340
lea ebx, [esi + 0x878]
mov dword [esi + 0x87c], edi
mov dword [ebx], 0x89000000
push 0
push ebx
mov ecx, 0x464e08
call fcn.00424370
push 0x12c
jmp 0x4103d2
mov ebp, 1
mov edi, 0x50
cmp ecx, ebp
jle 0x4103a0
xor edx, edx
mov dl, byte [esi + ebp + 0x478]
xor edi, edx
inc ebp
cmp ebp, ecx
jl 0x41038c
test edi, edi
je 0x4103f2
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x4103f2
jmp 0x4103dc
lea ebx, [esi + 0x878]
push 0
push ebx
mov ecx, 0x464e08
mov dword [esi + ebp*4 + 0x878], 0xffffffff
call fcn.00424370
test eax, eax
jne 0x41046d
push 0x32
mov ecx, 0x464e08
call fcn.00424340
mov eax, dword [esp + 0x24]
mov ecx, eax
inc eax
cmp ecx, 5
mov dword [esp + 0x24], eax
jl 0x410171
jmp 0x4103f6
test eax, eax
jne 0x41046d
push 0x32
mov ecx, 0x464e08
call fcn.00424340
lea edi, [esi + 0x878]
or ebp, 0xffffffff
push 0
push edi
mov ecx, 0x464e08
mov dword [edi], 0x8800006e
mov dword [esi + 0x87c], ebp
call fcn.00424370
mov eax, dword [edi]
xor ebx, ebx
and eax, 0xff
dec eax
je 0x410441
dec eax
je 0x41043a
dec eax
jne 0x410443
mov ebx, ebp
jmp 0x410443
mov ebx, 0xfffffffe
jmp 0x410443
xor ebx, ebx
push 0
push edi
mov ecx, 0x464e08
mov dword [edi], 0x89000000
mov dword [esi + 0x87c], ebp
call fcn.00424370
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], ebp
call sub.MFC42.DLL_CString::CString
mov eax, ebx
jmp 0x410483
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 4