Function at 0x433340
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4785a2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov dword [ebp - 0x18], ecx
jmp 0x433370
mov eax, dword [0x4e75b0]
test eax, eax
jne 0x43338b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push ebx
push esi
push edi
push 0x50
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
test edi, edi
mov dword [ebp - 4], 0
je 0x4333e2
lea ecx, [edi + 0x18]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [edi + 0x28]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_2
lea ecx, [edi + 0x2c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_2
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_2
lea ecx, [edi + 0x48]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString_2
jmp 0x4333e4
xor edi, edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0xffffffff
mov ax, word [esi + 0x38]
mov word [edi + 0xc], ax
mov ecx, dword [esi + 0x3c]
mov dword [edi + 0x10], ecx
mov ebx, dword [esi + 0x10]
mov edx, ebx
mov dword [edi], ebx
shl edx, 5
add edx, 4
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
mov dword [ebp - 4], 5
je 0x433443
push fcn.0042ed60
mov dword [eax], ebx
push 0x431fa0
add eax, 4
push ebx
push 0x20
push eax
mov dword [ebp - 0x14], eax
call fcn.0041fcb2
mov eax, dword [ebp - 0x14]
jmp 0x433445
xor eax, eax
mov dword [edi + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 8], eax
lea eax, [esi + 0x58]
push eax
lea ecx, [edi + 0x18]
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x3c], esi
call fcn.0041f1d2
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x433473
mov eax, dword [ebx + 0xc]
jmp 0x433475
xor eax, eax
mov dword [edi + 0x40], eax
mov ecx, dword [esi + 0x50]
lea edx, [esi + 0x20]
mov dword [edi + 0x1c], ecx
push edx
lea ecx, [edi + 0x28]
call fcn.0041f1d2
lea eax, [esi + 0x24]
lea ecx, [edi + 0x2c]
push eax
call fcn.0041f1d2
lea ecx, [esi + 0x64]
push ecx
lea ecx, [edi + 0x30]
call fcn.0041f1d2
mov dx, word [esi + 0x30]
push 0x4eaa80
mov word [edi + 0x20], dx
mov ax, word [esi + 0x32]
mov word [edi + 0x22], ax
mov cx, word [ebx + 0x10]
mov word [edi + 0x24], cx
mov dx, word [ebx + 0x12]
mov word [edi + 0x26], dx
mov eax, dword [esi + 0x58]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
mov ebx, 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 [edi + 0x14], eax
call ebx
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x44]
test eax, eax
jne 0x433504
push 0
push 0
push 1
push 0
call ebx
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x44]
mov dword [edi + 0x44], 0
mov dword [edi + 0x38], eax
jmp 0x433521
mov eax, dword [esi + 0x10]
test eax, eax
je 0x433605
mov eax, dword [esi + 8]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x433605
xor esi, esi
mov dword [ebp + 0xc], esi
mov ecx, dword [edi + 4]
add eax, 0xc
add esi, ecx
mov ecx, dword [eax - 4]
mov dword [esi], ecx
mov edx, dword [eax]
lea ecx, [esi + 4]
mov edi, ecx
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]
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 [edi], ebx
mov ebx, dword [edx + 4]
mov dword [edi + 4], ebx
mov ebx, dword [edx + 8]
mov dword [edi + 8], ebx
mov edx, dword [edx + 0xc]
mov dword [edi + 0xc], edx
mov edx, eax
mov ebx, dword [edx]
mov dword [edi], ebx
mov ebx, dword [edx + 4]
mov dword [edi + 4], ebx
mov edx, dword [edx + 8]
mov dword [edi + 8], edx
mov eax, dword [eax]
mov edi, dword [ebp - 0x14]
mov dword [ecx], eax
mov ecx, dword [esi + 0x14]
mov eax, dword [edi + 0x1c]
lea edx, [edi + 0x20]
shl eax, 0x1f
sar eax, 0x1f
xor eax, ecx
push edx
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
lea ecx, [esi + 0x18]
call fcn.0041f1d2
lea eax, [edi + 0x24]
lea ecx, [esi + 0x1c]
push eax
call fcn.0041f1d2
mov esi, dword [ebp + 0xc]
mov eax, dword [edi]
mov edi, dword [ebp - 0x10]
add esi, 0x20
test eax, eax
mov dword [ebp + 0xc], esi
mov dword [ebp - 0x14], eax
jne 0x43353f
mov esi, dword [ebp + 8]
mov ecx, dword [0x4eb0a0]
mov ebx, dword [sym.imp.KERNEL32.dll_ResetEvent]
push ecx
call ebx
mov edx, dword [esi + 0x44]
push edx
call ebx
push 0
push 0
push 0
push 0
push edi
push 0x443240
call sub.MFC42.DLL_AfxBeginThread_1
test eax, eax
mov dword [esi + 0x40], eax
je 0x43367b
mov eax, dword [edi + 0x34]
push 0xbb8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x40]
test eax, eax
je 0x43365c
mov ecx, dword [eax + 0x30]
push 0
push ecx
call fcn.00447bf0
mov ecx, eax
call fcn.00448450
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x43366d
mov edx, dword [edi + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov esi, dword [esi + 0x40]
test esi, esi
je 0x43367b
mov dword [esi + 0x28], 1
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc