Function at 0x44fa20
Capabilities:
Check for software breakpoints
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc8
push ebx
push ebp
push esi
push edi
call sym.MDebug.exe_IsDebugging
test eax, eax
jne 0x44fa43
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0xc8
ret
mov ebp, dword [esp + 0xdc]
test ebp, ebp
je 0x44fcd3
cmp ebp, 0x80000000
jae 0x44fcd3
push ebp
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
jne 0x44fcd3
mov eax, dword [esp + 0xe0]
test eax, eax
je 0x44fcd3
cmp byte [eax], 0
je 0x44fcd3
call sub.MFC42.DLL_AfxGetModuleState
mov ebx, dword [eax + 4]
mov eax, dword [ebx + 0x80c]
add ebx, 0x79c
test eax, eax
je 0x44fab9
mov ecx, eax
mov eax, dword [eax]
lea edi, [esp + 0x1c]
lea esi, [ecx + 8]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x1c], ebp
je 0x44faf4
test eax, eax
jne 0x44fa9d
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x39]
mov byte [esp + 0x38], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0
lea eax, [esp + 0x3c]
push 0x20
push eax
push ebp
call sym.MDebug.exe_ReadDebugProcessMemory
add esp, 0x10
test eax, eax
jne 0x44fb04
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0xc8
ret
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0xc8
ret
mov edi, ebp
mov ebp, dword [sym.imp.MSVCRT.dll__strnicmp]
xor esi, esi
lea ecx, [esp + 0x14]
lea edx, [esp + 0x58]
push ecx
push 0x80
push edx
push edi
call sym.MDebug.exe_Disasm
add esp, 0x10
test eax, eax
je 0x44fae4
movsx eax, byte [esp + 0x78]
push eax
call dword [sym.imp.MSVCRT.dll_tolower]
add esp, 4
cmp eax, 0x6a
je 0x44fcc3
push 4
lea ecx, [esp + 0x7c]
push 0x4a13b0
push ecx
call ebp
add esp, 0xc
test eax, eax
je 0x44fcc3
mov edx, dword [esp + 0x14]
push 3
lea eax, [esp + 0x7c]
sub edx, edi
push 0x4a180c
push eax
add esi, edx
call ebp
add esp, 0xc
test eax, eax
jne 0x44fb81
cmp esi, 5
jl 0x44fcc3
mov edi, dword [esp + 0x14]
cmp esi, 5
jl 0x44fb0e
call sub.MFC42.DLL_AfxGetModuleState
mov ecx, dword [eax + 4]
xor ebp, ebp
test esi, esi
mov dword [esp + 0x18], ecx
jle 0x44fbd5
mov edi, dword [esp + 0xdc]
lea eax, [esp + 0x38]
sub eax, edi
mov dword [esp + 0x10], eax
cmp byte [eax + edi], 0xcc
jne 0x44fbcf
mov edx, dword [esp + 0x18]
push edi
lea ecx, [edx + 0x85c]
call fcn.00426020
test eax, eax
jne 0x44fc9e
mov eax, dword [esp + 0x10]
inc ebp
inc edi
cmp ebp, esi
jl 0x44fbad
mov ecx, dword [esp + 0xdc]
lea eax, [esp + 0x38]
push esi
push eax
push ecx
call fcn.0044f920
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x44fcd8
mov edx, dword [esp + 0xdc]
mov esi, dword [ebx + 0x74]
mov ecx, 6
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x7c]
mov dword [esp + 0x1c], edx
test eax, eax
jne 0x44fc50
mov eax, dword [ebx + 0x84]
push 0x24
lea ecx, [ebx + 0x80]
push eax
push ecx
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [ebx + 0x84]
add eax, 4
lea edx, [ecx + ecx*8]
dec ecx
test ecx, ecx
lea eax, [eax + edx*4 - 0x24]
jl 0x44fc50
inc ecx
mov edx, dword [ebx + 0x7c]
mov dword [eax], edx
mov dword [ebx + 0x7c], eax
sub eax, 0x24
dec ecx
jne 0x44fc42
mov edx, dword [ebx + 0x7c]
mov ecx, 7
mov eax, dword [edx]
lea ebp, [edx + 8]
mov dword [ebx + 0x7c], eax
mov dword [edx + 4], esi
mov dword [edx], 0
mov esi, dword [ebx + 0x78]
inc esi
xor eax, eax
mov edi, ebp
mov dword [ebx + 0x78], esi
rep stosd dword es:[edi], eax
mov ecx, 7
lea esi, [esp + 0x1c]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x74]
test eax, eax
je 0x44fcae
pop edi
mov dword [eax], edx
mov eax, dword [esp + 0xc]
pop esi
mov dword [ebx + 0x74], edx
pop ebp
pop ebx
add esp, 0xc8
ret
pop edi
pop esi
pop ebp
mov eax, 5
pop ebx
add esp, 0xc8
ret
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov dword [ebx + 0x70], edx
mov dword [ebx + 0x74], edx
pop ebp
pop ebx
add esp, 0xc8
ret
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0xc8
ret
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc8
ret