Function at 0x42b610
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e474d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
jmp 0x42b63e
mov eax, dword [0x5369f8]
xor esi, esi
cmp eax, esi
jne 0x42b65a
xor eax, eax
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push ebx
push 0x7c
call sub.MFC42.DLL_operatornew
mov ebx, eax
add esp, 4
mov dword [ebp - 0x18], ebx
cmp ebx, esi
mov dword [ebp - 4], esi
je 0x42b6ca
lea ecx, [ebx + 0x18]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebx + 0x28]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebx + 0x2c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebx + 0x30]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebx + 0x48]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebx + 0x54]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CStringArray::CStringArray
mov dword [ebx + 0x68], 0x4f155c
mov dword [ebx + 0x6c], esi
mov dword [ebx + 0x78], esi
mov dword [ebx + 0x74], esi
mov dword [ebx + 0x70], esi
jmp 0x42b6cc
xor ebx, ebx
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0xffffffff
mov ax, word [esi + 0x38]
mov word [ebx + 0xc], ax
mov ecx, dword [esi + 0x3c]
mov dword [ebx + 0x10], ecx
mov edi, dword [esi + 0x10]
mov edx, edi
mov dword [ebx], edi
shl edx, 5
add edx, 4
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
mov dword [ebp - 4], 6
je 0x42b72c
push fcn.0042bbd0
mov dword [eax], edi
push 0x42bb70
add eax, 4
push edi
push 0x20
push eax
mov dword [ebp - 0x10], eax
call fcn.00415d0e
mov eax, dword [ebp - 0x10]
jmp 0x42b72e
xor eax, eax
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0xc]
lea edi, [esi + 0x58]
lea ecx, [ebx + 0x18]
push edi
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 8], eax
mov dword [ebx + 0x3c], esi
call sub.MFC42.DLL_CString::operator_1
mov dword [ebx + 0x40], 0
mov ecx, dword [esi + 0x50]
lea edx, [esi + 0x20]
mov dword [ebx + 0x1c], ecx
push edx
lea ecx, [ebx + 0x28]
call sub.MFC42.DLL_CString::operator_1
lea eax, [esi + 0x24]
lea ecx, [ebx + 0x2c]
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esi + 0x64]
push ecx
lea ecx, [ebx + 0x30]
call sub.MFC42.DLL_CString::operator_1
mov dx, word [esi + 0x30]
push 0x556570
mov word [ebx + 0x20], dx
mov ax, word [esi + 0x32]
mov word [ebx + 0x22], ax
mov cx, word [0x5369fc]
mov word [ebx + 0x24], cx
mov dx, word [0x5568a4]
mov word [ebx + 0x26], dx
mov edi, dword [edi]
push edi
call dword [sym.imp.MSVCRT.dll__mbscmp]
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
add esp, 8
neg eax
sbb eax, eax
push 0
push 0
push 0
neg eax
push 0
mov dword [ebx + 0x14], eax
call edi
mov dword [ebx + 0x34], eax
mov eax, dword [esi + 0x44]
test eax, eax
jne 0x42b7e5
push 0
push 0
push 1
push 0
call edi
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x44]
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x38], eax
mov ecx, dword [esi + 0x74]
mov dword [ebx + 0x50], ecx
mov edx, dword [esi + 0x10]
inc edx
push 0xffffffffffffffff
push edx
lea ecx, [ebx + 0x54]
call sub.MFC42.DLL_CStringArray::SetSize
mov edi, dword [esi + 0x10]
inc edi
mov dword [ebp - 0x10], edi
jne 0x42b85a
mov edi, dword [ebx + 0x6c]
test edi, edi
je 0x42b84d
mov eax, dword [ebx + 0x70]
mov ecx, eax
dec eax
test ecx, ecx
je 0x42b83a
inc eax
mov dword [ebp + 0xc], eax
push 0
mov ecx, edi
call fcn.0042c990
mov eax, dword [ebp + 0xc]
add edi, 4
dec eax
mov dword [ebp + 0xc], eax
jne 0x42b825
mov edx, dword [ebx + 0x6c]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebx + 0x6c], 0
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x70], eax
jmp 0x42b97b
mov edx, dword [ebx + 0x6c]
test edx, edx
jne 0x42b886
lea eax, [edi*4]
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebx + 0x6c], eax
push edi
push eax
call fcn.0042c850
mov dword [ebx + 0x74], edi
mov dword [ebx + 0x70], edi
jmp 0x42b97b
mov ecx, dword [ebx + 0x74]
cmp edi, ecx
jg 0x42b8e3
mov eax, dword [ebx + 0x70]
cmp eax, edi
jge 0x42b8aa
mov ecx, edi
lea edx, [edx + eax*4]
sub ecx, eax
push ecx
push edx
call fcn.0042c850
mov dword [ebx + 0x70], edi
jmp 0x42b97b
jle 0x42b8db
sub eax, edi
lea ecx, [edx + edi*4]
mov edx, eax
dec eax
test edx, edx
mov dword [ebp + 0xc], ecx
je 0x42b8db
inc eax
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0xc]
push 0
call fcn.0042c990
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
add ecx, 4
dec eax
mov dword [ebp + 0xc], ecx
mov dword [ebp - 0x10], eax
jne 0x42b8bf
mov dword [ebx + 0x70], edi
jmp 0x42b97b
mov eax, dword [ebx + 0x78]
test eax, eax
jne 0x42b90e
mov eax, dword [ebx + 0x70]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x42b902
mov eax, 4
jmp 0x42b90e
cmp eax, 0x400
jle 0x42b90e
mov eax, 0x400
add eax, ecx
cmp edi, eax
mov dword [ebp + 0xc], eax
jl 0x42b91a
mov dword [ebp + 0xc], edi
mov eax, dword [ebp + 0xc]
lea ecx, [eax*4]
push ecx
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebx + 0x70]
mov esi, dword [ebx + 0x6c]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [ebp - 0x18], eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x70]
mov edx, esi
sub edx, ecx
lea eax, [eax + ecx*4]
push edx
push eax
call fcn.0042c850
mov ecx, dword [ebx + 0x6c]
push ecx
call sub.MFC42.DLL_operatordelete
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x70], esi
mov esi, dword [ebp + 8]
add esp, 4
mov dword [ebx + 0x6c], edx
mov dword [ebx + 0x74], eax
jmp 0x42b98b
mov eax, dword [esi + 0x10]
test eax, eax
je 0x42baeb
mov edi, dword [esi + 8]
test edi, edi
je 0x42baeb
mov dword [ebp - 0x10], 0
mov esi, dword [ebx + 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [edi + 8]
add esi, eax
lea eax, [edi + 0xc]
mov edx, eax
mov dword [esi], ecx
lea ecx, [esi + 4]
mov ebx, dword [edx]
mov dword [ebp + 0xc], ecx
mov dword [ecx], ebx
mov dx, word [edx + 4]
mov word [ecx + 4], dx
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, eax
mov ebx, dword [edx]
mov dword [ecx], ebx
mov ebx, dword [edx + 4]
mov dword [ecx + 4], ebx
mov ebx, dword [edx + 8]
mov dword [ecx + 8], ebx
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov edx, dword [ebp + 0xc]
mov ecx, eax
mov ebx, dword [ecx]
mov dword [edx], ebx
mov ebx, dword [ecx + 4]
mov dword [edx + 4], ebx
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
mov edx, dword [eax]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0x14]
mov dword [eax], edx
mov eax, dword [edi + 0x1c]
shl eax, 0x1f
sar eax, 0x1f
xor eax, ecx
and eax, 1
xor eax, ecx
mov dword [esi + 0x14], eax
mov ecx, dword [edi + 0x1c]
shl ecx, 0x1e
sar ecx, 0x1e
xor ecx, eax
and ecx, 2
xor ecx, eax
mov dword [esi + 0x14], ecx
mov eax, dword [edi + 0x1c]
shl eax, 0x1d
sar eax, 0x1d
xor eax, ecx
and eax, 4
xor eax, ecx
mov dword [esi + 0x14], eax
mov ecx, dword [edi + 0x1c]
shl ecx, 0x1c
sar ecx, 0x1c
xor ecx, eax
and ecx, 8
xor ecx, eax
mov dword [esi + 0x14], ecx
mov eax, dword [edi + 0x1c]
shl eax, 0x1b
sar eax, 0x1b
xor eax, ecx
and eax, 0x10
xor eax, ecx
mov dword [esi + 0x14], eax
mov ecx, dword [edi + 0x1c]
lea edx, [edi + 0x20]
shl ecx, 0x1a
sar ecx, 0x1a
xor ecx, eax
push edx
and ecx, 0x20
xor ecx, eax
mov dword [esi + 0x14], ecx
mov eax, dword [edi + 0x1c]
shl eax, 0x19
sar eax, 0x19
xor eax, ecx
and eax, 0x40
xor eax, ecx
mov dword [esi + 0x14], eax
mov ecx, dword [edi + 0x1c]
shl ecx, 0x18
sar ecx, 0x18
xor ecx, eax
and ecx, 0x80
xor ecx, eax
mov dword [esi + 0x14], ecx
lea ecx, [esi + 0x18]
call sub.MFC42.DLL_CString::operator_1
lea eax, [edi + 0x24]
lea ecx, [esi + 0x1c]
push eax
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [ebp - 0x10]
mov edi, dword [edi]
mov ebx, dword [ebp - 0x14]
add ecx, 0x20
test edi, edi
mov dword [ebp - 0x10], ecx
jne 0x42b9a8
mov esi, dword [ebp + 8]
mov ecx, dword [0x556854]
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push ecx
call edi
mov edx, dword [esi + 0x44]
push edx
call edi
push 0
push 0
push 0
push 0
push ebx
push 0x45a770
call sub.MFC42.DLL_AfxBeginThread
test eax, eax
mov dword [esi + 0x40], eax
pop edi
je 0x42bb5e
mov eax, dword [ebx + 0x34]
push 0xbb8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x40]
test eax, eax
je 0x42bb46
call fcn.0046e520
mov ecx, dword [esi + 0x40]
mov edx, dword [eax]
push 0
mov ecx, dword [ecx + 0x30]
push ecx
mov ecx, eax
call dword [edx + 0x10]
mov edx, dword [ebx + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov esi, dword [esi + 0x40]
test esi, esi
je 0x42bb5e
mov dword [esi + 0x28], 1
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret