Function at 0x469770
Capabilities:
Access peb ldr_data
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4880ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x38], 0x4a92a4
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], 0xa
lea edi, [esi + 0x60]
mov ecx, edi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_5]
mov cl, byte [esp + 0x28]
mov al, byte [esp + 0x24]
lea edx, [esp + 0x2c]
mov byte [esi + 0x35], cl
push edx
mov ecx, edi
mov byte [esp + 0x20], 2
mov byte [esi + 0x34], al
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_1]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x5c], eax
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x54], ecx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x68], ebx
mov dword [esi], ebx
xor edx, edx
lea eax, [esi + 4]
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
xor ecx, ecx
lea edx, [esi + 0x18]
mov dword [edx], ecx
mov dword [edx + 4], ecx
push ebx
mov dword [edx + 8], ecx
push 1
mov dword [edx + 0xc], ecx
push ebx
mov dword [edx + 0x10], ecx
push ebx
mov byte [esi + 0x64], bl
call edi
push ebx
push 1
push ebx
push ebx
mov dword [esi + 0x2c], eax
call edi
mov ecx, dword [esi + 0x2c]
mov dword [esi + 0x30], eax
mov dword [esi + 0x28], eax
mov al, byte [esi + 0x34]
cmp al, bl
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
je 0x46985d
mov edx, dword [esp + 0x38]
mov dword [esi + 0x58], edx
jmp 0x469864
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x6c], ecx
cmp al, bl
je 0x4698f8
push str.RR_ServerReadyEvent
push ebx
push 1
push ebx
call edi
cmp eax, ebx
mov dword [esi], eax
jne 0x4698b4
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x48b000
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.CreateEvent
mov byte [esp + 0x28], 3
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ebx
mov byte [esp + 0x28], 2
call fcn.00458010
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push ebx
push esi
push 0x469580
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [esi + 0x68], eax
jne 0x469962
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x48b000
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
mov byte [esp + 0x24], 4
push str.CreateThread__MainServerThread_
jmp 0x46994e
mov ecx, esi
call fcn.004691c0
cmp dword [esi + 0x44], ebx
jle 0x469962
mov edi, dword [esi + 0x3c]
add edi, 8
je 0x469962
cmp byte [esi + 0x35], bl
je 0x469962
lea eax, [edi + 8]
push eax
push ebx
push esi
push 0x468df0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [edi + 4], eax
jne 0x469962
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x48b000
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
mov byte [esp + 0x24], 5
push str.CreateThread__Worker_
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_6]
push ebx
mov byte [esp + 0x28], 2
call fcn.00458010
add esp, 0xc
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 0x1c