Function at 0x40f6d0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
xor eax, eax
mov ecx, 0xa
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x214]
lea edx, [ebp - 0x1e8]
push ebx
mov edi, esi
lea ebx, [ebp - 0x10c]
sub esp, 0x218
mov dword [ebp - 0x1ec], 0x1000
rep stosd dword es:[edi], eax
mov edi, edx
mov eax, 0xcccccccc
mov ecx, 0x37
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x208], 0x100
mov dword [esp + 4], edx
mov dword [esp], esi
mov dword [esp + 8], 0x44fe80
call dword [sym.imp.rpcrt4.dll_NdrServerInitializeNew]
sub esp, 0xc
mov edi, eax
call fcn.00448020
mov dword [eax], 0x44d655
mov dword [eax + 4], 0x72e
xor eax, eax
test edi, edi
sete al
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], str.NdrServerInitializeNew_should_have_returned_NULL_instead_of__p_n
call fcn.004062b0
lea edx, [ebp - 0x1e8]
mov eax, str.NdrServerInitializeNew
call fcn.0040e5c0
call fcn.00448020
mov dword [eax], 0x44d655
mov dword [eax + 4], 0x732
mov eax, dword [ebp - 0x1e8]
mov dword [esp + 8], esi
cmp eax, esi
mov dword [esp + 0xc], eax
lea esi, [ebp - 0xc]
sete al
mov dword [esp + 4], str.stubMsg.RpcMsg_should_have_been__p_instead_of__p_n
movzx eax, al
mov dword [esp], eax
call fcn.004062b0
call fcn.00448020
mov dword [eax], 0x44d655
mov dword [eax + 4], 0x733
mov eax, dword [ebp - 0x1e4]
mov dword [esp + 8], ebx
cmp eax, ebx
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 4], str.stubMsg.Buffer_should_have_been__p_instead_of__p_n
movzx eax, al
mov dword [esp], eax
call fcn.004062b0
call fcn.00448020
mov dword [eax], 0x44d655
mov dword [eax + 4], 0x734
mov eax, dword [ebp - 0x1e0]
mov dword [esp + 8], ebx
cmp eax, ebx
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 4], str.stubMsg.BufferStart_should_have_been__p_instead_of__p_n
movzx eax, al
mov dword [esp], eax
call fcn.004062b0
call fcn.00448020
mov dword [eax], 0x44d655
mov dword [eax + 4], 0x735
mov eax, dword [ebp - 0x1dc]
mov dword [esp + 8], esi
cmp eax, esi
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 4], str.stubMsg.BufferEnd_should_have_been__p_instead_of__p_n
movzx eax, al
mov dword [esp], eax
call fcn.004062b0
mov ebx, dword [0x4b3310]
call fcn.00448020
xor ecx, ecx
mov edi, dword [eax + 0x10]
test ebx, ebx
mov dword [eax + 0x14], 1
setne cl
lea edx, [edi + edi]
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x40f8c4
call fcn.00448020
mov dword [eax], 0x44d655
mov dword [eax + 4], 0x737
mov eax, dword [ebp - 0x1d4]
mov dword [esp + 4], str.stubMsg.BufferLength_should_have_been_0_instead_of__lu_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004062b0
call fcn.00448020
shr dword [eax + 0x10], 1
call fcn.00448020
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x40f888
call fcn.00448020
mov dword [eax], 0x44d655
mov dword [eax + 4], 0x738
movzx edx, byte [ebp - 0x1c8]
mov dword [esp + 4], str.stubMsg.IsClient_should_have_been_0_instead_of__u_n
test dl, dl
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004062b0
call fcn.00448020
mov dword [eax], 0x44d655
mov dword [eax + 4], 0x739
mov edx, dword [ebp - 0x1c4]
mov eax, 1
test edx, edx
je 0x40f942
mov ecx, dword [0x4b3310]
test ecx, ecx
sete cl
xor eax, eax
cmp edx, 1
sete al
and eax, ecx
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 4], str.stubMsg.ReuseBuffer_should_have_been_set_to_zero_instead_of__d_n
call fcn.004062b0
call fcn.00448020
mov dword [eax], 0x44d655
mov dword [eax + 4], 0x73c
movzx ecx, byte [ebp - 0x1b0]
mov eax, 1
test cl, cl
je 0x40f98c
mov eax, dword [0x4b3310]
test eax, eax
sete bl
xor eax, eax
cmp cl, 0xcc
sete al
and eax, ebx
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], str.CorrDespIncrement_should_have_been_set_to_zero_instead_of_0x_x_n
call fcn.004062b0
call fcn.00448020
mov dword [eax], 0x44d655
mov dword [eax + 4], 0x73f
mov eax, dword [ebp - 0x184]
mov dword [esp + 4], str.stubMsg.BufferLength_should_have_been_0_instead_of__p_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004062b0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret