Function at 0x10006050
Capabilities:
Check for software breakpoints

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x14]
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
mov dword [esp + 0x10], ebp
je 0x10006067
mov dword [eax], ebp
mov ebx, dword [esp + 0x28]
cmp ebx, ebp
je 0x10006071
mov dword [ebx], ebp
mov edi, dword [esp + 0x2c]
cmp edi, ebp
je 0x1000607b
mov dword [edi], ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1000cd1c], eax
je 0x10006098
pop edi
pop esi
pop ebp
mov eax, 0x10dd
pop ebx
add esp, 8
ret 0x18
mov eax, dword [0x1000cd20]
cmp eax, ebp
jne 0x10006364
mov ecx, dword [esp + 0x1c]
cmp ecx, ebp
jne 0x100060bc
pop edi
pop esi
pop ebp
mov eax, 6
pop ebx
add esp, 8
ret 0x18
mov eax, dword [ecx]
cmp eax, ebp
jne 0x100060dc
pop edi
mov eax, 6
pop esi
pop ebp
mov dword [0x1000cd20], eax
mov dword [0x1000cd24], ecx
pop ebx
add esp, 8
ret 0x18
push ebp
push eax
mov dword [esp + 0x34], ebp
call fcn.10005a20
mov esi, eax
push 0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], esi
push eax
call fcn.10005a20
cmp eax, esi
mov dword [esp + 0x20], eax
jne 0x10006113
mov eax, dword [0x1000cd18]
test eax, eax
jne 0x1000630b
jmp 0x100062e3
test ebx, ebx
je 0x10006119
mov dword [ebx], esi
test edi, edi
je 0x1000611f
mov dword [edi], eax
push 0x18
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x1000613e
mov dword [esp + 0x10], 8
jmp 0x100062e3
push esi
call fcn.10006370
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x1000615a
mov dword [esp + 0x10], 8
jmp 0x100062e3
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10006164
mov dword [eax], ebp
mov ecx, dword [esp + 0x30]
mov edi, ebp
mov ebx, ecx
mov edx, ecx
shr ecx, 2
mov eax, esi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
lea edx, [ecx + 5]
cmp ecx, edx
mov dword [esp + 0x10], edx
jge 0x10006212
lea ecx, [esp + 0x24]
lea edx, [ebx + ebp]
push ecx
push 0
push eax
push edx
mov edi, eax
mov dword [esp + 0x34], 0
call fcn.10006e00
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x10006212
mov esi, dword [esp + 0x28]
mov cl, byte [edi]
mov ebx, eax
sub ebx, esi
cmp cl, 0xe9
je 0x10006216
cmp cl, 0xe0
je 0x10006216
cmp cl, 0xc2
je 0x10006216
cmp cl, 0xc3
je 0x10006216
cmp cl, 0xcc
je 0x10006216
cmp cl, 0xff
jne 0x100061de
cmp byte [edi + 1], 0x25
je 0x10006216
cmp cl, 0x26
je 0x100061fc
cmp cl, 0x2e
je 0x100061fc
cmp cl, 0x36
je 0x100061fc
cmp cl, 0xe3
je 0x100061fc
cmp cl, 0x64
je 0x100061fc
cmp cl, 0x65
jne 0x10006208
cmp byte [edi + 1], 0xff
jne 0x10006208
cmp byte [edi + 2], 0x25
je 0x10006216
cmp ebx, dword [esp + 0x10]
jl 0x1000618d
mov esi, dword [esp + 0x28]
cmp ebx, dword [esp + 0x10]
jge 0x10006236
mov eax, dword [0x1000cd18]
mov dword [esp + 0x10], 9
test eax, eax
jne 0x100062ed
jmp 0x100062e3
cmp ebx, 0x12
jbe 0x10006248
mov dword [esp + 0x10], 6
jmp 0x100062e3
mov eax, dword [esp + 0x20]
lea ecx, [ebp + 0x17]
mov dword [ebp + 0x1c], eax
mov eax, dword [esp + 0x30]
mov dword [ebp + 0x20], eax
lea edx, [ebx + esi]
lea eax, [ebx + ebp]
mov dword [ebp + 0x18], edx
mov byte [ecx], bl
lea edi, [eax + 5]
mov byte [eax], 0xe9
inc eax
sub edx, edi
lea edi, [eax + 4]
mov dword [eax], edx
cmp edi, ecx
jae 0x1000628b
sub ecx, edi
mov eax, 0xcccccccc
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 0x40
push ebx
push esi
call fcn.10006ba0
test eax, eax
je 0x100062d9
push esi
call fcn.100065a0
mov edi, eax
xor ebx, ebx
add esp, 4
cmp edi, ebx
je 0x1000633a
cmp word [edi + 0x1c], 0x6544
je 0x1000633a
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], ebx
push ecx
push 0x40
push 0x40
push edi
call fcn.10006ba0
test eax, eax
jne 0x10006322
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
mov dword [0x1000cd20], edx
test ebp, ebp
je 0x100062fa
push ebp
call fcn.10005cc0
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1000630b
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x1c]
pop edi
pop esi
mov dword [0x1000cd24], eax
mov eax, dword [esp + 8]
pop ebp
pop ebx
add esp, 8
ret 0x18
mov word [edi + 0x1c], 0x6544
mov word [edi + 0x1e], 0x6f74
mov word [edi + 0x20], 0x7275
mov word [edi + 0x22], 0x2173
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0x10], ebp
mov dword [eax + 0xc], esi
mov edx, dword [esp + 0x14]
mov dword [eax + 0x14], edx
mov ecx, dword [0x1000cd2c]
mov dword [eax], ecx
mov dword [0x1000cd2c], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x18