Function at 0x10006390
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 0x100063a7
mov dword [eax], ebp
mov ebx, dword [esp + 0x28]
cmp ebx, ebp
je 0x100063b1
mov dword [ebx], ebp
mov edi, dword [esp + 0x2c]
cmp edi, ebp
je 0x100063bb
mov dword [edi], ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1000cd1c], eax
je 0x100063d8
pop edi
pop esi
pop ebp
mov eax, 0x10dd
pop ebx
add esp, 8
ret 0x18
mov eax, dword [0x1000cd20]
cmp eax, ebp
jne 0x100066a4
mov ecx, dword [esp + 0x1c]
cmp ecx, ebp
jne 0x100063fc
pop edi
pop esi
pop ebp
mov eax, 6
pop ebx
add esp, 8
ret 0x18
mov eax, dword [ecx]
cmp eax, ebp
jne 0x1000641c
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.10005d60
mov esi, eax
push 0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], esi
push eax
call fcn.10005d60
cmp eax, esi
mov dword [esp + 0x20], eax
jne 0x10006453
mov eax, dword [0x1000cd18]
test eax, eax
jne 0x1000664b
jmp 0x10006623
test ebx, ebx
je 0x10006459
mov dword [ebx], esi
test edi, edi
je 0x1000645f
mov dword [edi], eax
push 0x18
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x1000647e
mov dword [esp + 0x10], 8
jmp 0x10006623
push esi
call fcn.100066b0
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x1000649a
mov dword [esp + 0x10], 8
jmp 0x10006623
mov eax, dword [esp + 0x24]
test eax, eax
je 0x100064a4
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 0x10006552
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.10007140
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x10006552
mov esi, dword [esp + 0x28]
mov cl, byte [edi]
mov ebx, eax
sub ebx, esi
cmp cl, 0xe9
je 0x10006556
cmp cl, 0xe0
je 0x10006556
cmp cl, 0xc2
je 0x10006556
cmp cl, 0xc3
je 0x10006556
cmp cl, 0xcc
je 0x10006556
cmp cl, 0xff
jne 0x1000651e
cmp byte [edi + 1], 0x25
je 0x10006556
cmp cl, 0x26
je 0x1000653c
cmp cl, 0x2e
je 0x1000653c
cmp cl, 0x36
je 0x1000653c
cmp cl, 0xe3
je 0x1000653c
cmp cl, 0x64
je 0x1000653c
cmp cl, 0x65
jne 0x10006548
cmp byte [edi + 1], 0xff
jne 0x10006548
cmp byte [edi + 2], 0x25
je 0x10006556
cmp ebx, dword [esp + 0x10]
jl 0x100064cd
mov esi, dword [esp + 0x28]
cmp ebx, dword [esp + 0x10]
jge 0x10006576
mov eax, dword [0x1000cd18]
mov dword [esp + 0x10], 9
test eax, eax
jne 0x1000662d
jmp 0x10006623
cmp ebx, 0x12
jbe 0x10006588
mov dword [esp + 0x10], 6
jmp 0x10006623
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 0x100065cb
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.10006ee0
test eax, eax
je 0x10006619
push esi
call fcn.100068e0
mov edi, eax
xor ebx, ebx
add esp, 4
cmp edi, ebx
je 0x1000667a
cmp word [edi + 0x1c], 0x6544
je 0x1000667a
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], ebx
push ecx
push 0x40
push 0x40
push edi
call fcn.10006ee0
test eax, eax
jne 0x10006662
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 0x1000663a
push ebp
call fcn.10006000
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1000664b
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