Function at 0x4ee080
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x58843e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xec
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x20], ebx
xor esi, esi
lea ecx, [esp + 0x38]
mov dword [esp + 0x104], esi
call sub.MFC42.DLL_CStringArray::CStringArray
mov dword [esp + 0x78], 0x5934ec
mov dword [esp + 0x7c], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], esi
mov edx, dword [esp + 0x110]
lea eax, [esp + 0x78]
lea ecx, [esp + 0x38]
lea edi, [ebx + 0x1bdc]
push eax
push ecx
push edx
mov ecx, edi
mov byte [esp + 0x110], 2
call fcn.004fe9d0
cmp eax, 1
jne 0x4ee97a
mov eax, dword [esp + 0x40]
xor ebp, ebp
cmp eax, esi
jle 0x4ee9bb
mov eax, dword [esp + 0x7c]
cmp dword [eax + ebp*4], 0
jne 0x4ee7e5
mov ecx, dword [ebx + 0x1bfc]
push 0
push 0
push 0xe
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea esi, [ebx + 0x1bdc]
push 0xffffffffffffffff
push eax
mov ecx, esi
mov dword [esp + 0x1c], esi
call sub.MFC42.DLL_CRichEditCtrl::SetSel
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + ebp*4]
lea ecx, [edx + ebp*4]
cmp dword [eax - 8], 0xf
jl 0x4ee7cf
lea edx, [esp + 0x6c]
push 4
push edx
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x5e29f8
push eax
call edi
add esp, 8
lea ecx, [esp + 0x6c]
test eax, eax
sete byte [esp + 0x12]
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x12]
test al, al
je 0x4ee7cf
mov ecx, dword [esp + 0x3c]
push 3
lea eax, [esp + 0x90]
push 0xc
push eax
lea ecx, [ecx + ebp*4]
call sub.MFC42.DLL_CString::Mid
mov eax, dword [eax]
push 0x5e29f4
push eax
mov byte [esp + 0x10c], 3
call edi
add esp, 8
test eax, eax
je 0x4ee20a
mov eax, dword [esp + 0x3c]
push 3
lea edx, [esp + 0x74]
push 0xc
push edx
lea ecx, [eax + ebp*4]
call sub.MFC42.DLL_CString::Mid
mov eax, dword [eax]
push 0x5e29f0
push eax
call edi
add esp, 8
lea ecx, [esp + 0x70]
test eax, eax
sete byte [esp + 0x12]
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x12]
mov byte [esp + 0x13], 0
test al, al
je 0x4ee20f
mov byte [esp + 0x13], 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0x104], 2
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x13]
test al, al
je 0x4ee7cf
mov eax, dword [esp + 0x118]
test eax, eax
jne 0x4ee28a
mov edx, dword [esp + 0x3c]
push 8
lea ecx, [esp + 0x68]
push 4
push ecx
lea ecx, [edx + ebp*4]
call sub.MFC42.DLL_CString::Mid
mov eax, dword [esp + 0x64]
push 0x10
push 0
push eax
mov byte [esp + 0x110], 4
call dword [sym.imp.MSVCRT.dll_strtoul]
add esp, 0xc
lea ecx, [ebx + 0x1c24]
push eax
push esi
push ecx
mov ecx, ebx
call fcn.004efd40
mov byte [esp + 0x104], 2
lea ecx, [esp + 0x64]
jmp 0x4ee966
cmp eax, 1
jne 0x4ee54d
mov eax, dword [esp + 0x3c]
push 8
lea edx, [esp + 0x6c]
push 4
push edx
lea ecx, [eax + ebp*4]
call sub.MFC42.DLL_CString::Mid
mov ecx, dword [esp + 0x68]
push 0x10
push 0
push ecx
mov byte [esp + 0x110], 5
call dword [sym.imp.MSVCRT.dll_strtoul]
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x74]
push 3
push 0xc
push edx
lea ecx, [eax + ebp*4]
call sub.MFC42.DLL_CString::Mid
mov eax, dword [eax]
push 0x5e29f4
push eax
call edi
add esp, 8
lea ecx, [esp + 0x74]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
push ecx
test bl, bl
mov ecx, esp
je 0x4ee41f
mov dword [esp + 0x1c], esp
push 0x5e29e4
call sub.MFC42.DLL_CString::CString_3
push 0
push 2
lea ecx, [esp + 0x34]
push esi
push ecx
mov byte [esp + 0x118], 5
call fcn.0040d740
mov ecx, eax
call fcn.00479820
mov edx, dword [esp + 0x28]
mov byte [esp + 0x104], 7
push edx
call fcn.00440560
add esp, 4
test al, al
je 0x4ee370
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
lea eax, [esp + 0x30]
push eax
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x1c]
call fcn.005012d0
mov byte [esp + 0x104], 5
lea ecx, [esp + 0x28]
jmp 0x4ee52e
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x5e29d8
call sub.MFC42.DLL_CString::CString_3
push 0
push 2
lea ecx, [esp + 0x5c]
push esi
push ecx
mov byte [esp + 0x118], 7
call fcn.0040d740
mov ecx, eax
call fcn.00479820
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x108], 9
call fcn.00572d3c
lea ecx, [esp + 0x50]
mov byte [esp + 0x104], 7
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x28]
push edx
call fcn.00440560
add esp, 4
test al, al
je 0x4ee3e0
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
jmp 0x4ee34c
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x2664]
test eax, eax
je 0x4ee3ff
test byte [eax + 0x204], 0x10
je 0x4ee3ff
push esi
push str.__NF_
jmp 0x4ee405
push esi
push str.__RB_
mov ecx, dword [esp + 0x1c]
call fcn.004fe860
mov byte [esp + 0x104], 5
lea ecx, [esp + 0x28]
jmp 0x4ee52e
mov dword [esp + 0x1c], esp
push 0x5e29e4
call sub.MFC42.DLL_CString::CString_3
push 0
push 1
lea edx, [esp + 0x30]
push esi
push edx
mov byte [esp + 0x118], 5
call fcn.0040d740
mov ecx, eax
call fcn.00479820
mov eax, dword [esp + 0x24]
mov byte [esp + 0x104], 0xb
push eax
call fcn.00440560
add esp, 4
test al, al
je 0x4ee484
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
lea edx, [esp + 0x2c]
push edx
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x1c]
call fcn.004fef10
jmp 0x4ee522
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x5e29d8
call sub.MFC42.DLL_CString::CString_3
push 0
push 1
lea eax, [esp + 0x64]
push esi
push eax
mov byte [esp + 0x118], 0xb
call fcn.0040d740
mov ecx, eax
call fcn.00479820
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x108], 0xd
call fcn.00572d3c
lea ecx, [esp + 0x58]
mov byte [esp + 0x104], 0xb
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00440560
add esp, 4
test al, al
je 0x4ee4f4
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
jmp 0x4ee46c
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x2664]
test eax, eax
je 0x4ee513
test byte [eax + 0x204], 0x10
je 0x4ee513
push esi
push str.__NF_
jmp 0x4ee519
push esi
push str.__RB_
mov ecx, dword [esp + 0x1c]
call fcn.004fe860
mov byte [esp + 0x104], 5
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x68]
mov byte [esp + 0x104], 2
call sub.MFC42.DLL_CString::CString
mov ebx, dword [esp + 0x20]
jmp 0x4ee96b
cmp eax, 2
jne 0x4ee5b0
call sub.MFC42.DLL_AfxGetModuleState
mov edx, dword [esp + 0x3c]
mov eax, dword [eax + 4]
push 8
lea ecx, [esp + 0x50]
mov edi, dword [eax + 0x120]
push 4
push ecx
lea ecx, [edx + ebp*4]
call sub.MFC42.DLL_CString::Mid
mov eax, dword [esp + 0x4c]
push 0x10
push 0
push eax
mov byte [esp + 0x110], 0xe
call dword [sym.imp.MSVCRT.dll_strtoul]
add esp, 0xc
add edi, 0x1498
mov ecx, ebx
push eax
push esi
push edi
call fcn.004efd40
mov byte [esp + 0x104], 2
lea ecx, [esp + 0x4c]
jmp 0x4ee966
cmp eax, 3
jne 0x4ee96b
mov edx, dword [esp + 0x3c]
push 8
lea ecx, [esp + 0x58]
push 4
push ecx
lea ecx, [edx + ebp*4]
call sub.MFC42.DLL_CString::Mid
mov eax, dword [esp + 0x54]
push 0x10
push 0
push eax
mov byte [esp + 0x110], 0xf
call dword [sym.imp.MSVCRT.dll_strtoul]
mov edx, dword [esp + 0x48]
add esp, 0xc
lea ecx, [esp + 0x60]
mov esi, eax
push 3
push 0xc
push ecx
lea ecx, [edx + ebp*4]
call sub.MFC42.DLL_CString::Mid
mov eax, dword [eax]
push 0x5e29f4
push eax
call edi
add esp, 8
lea ecx, [esp + 0x60]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
push ecx
test bl, bl
mov ecx, esp
je 0x4ee6b7
mov dword [esp + 0x1c], esp
push 0x5f3788
call sub.MFC42.DLL_CString::CString_3
push 1
push 2
lea eax, [esp + 0x40]
push esi
push eax
mov byte [esp + 0x118], 0xf
call fcn.0040d740
mov ecx, eax
call fcn.00479820
mov ecx, dword [esp + 0x34]
push 0x5f3788
push ecx
mov byte [esp + 0x10c], 0x11
call edi
add esp, 8
test eax, eax
push esi
je 0x4ee698
push ecx
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x1c]
call fcn.005012d0
mov byte [esp + 0x104], 0xf
lea ecx, [esp + 0x34]
jmp 0x4ee7b0
mov ecx, dword [esp + 0x18]
push str.__NF_
call fcn.004fe860
mov byte [esp + 0x104], 0xf
lea ecx, [esp + 0x34]
jmp 0x4ee7b0
mov dword [esp + 0x1c], esp
push 0x5f3788
call sub.MFC42.DLL_CString::CString_3
push 1
push 1
lea eax, [esp + 0x38]
push esi
push eax
mov byte [esp + 0x118], 0xf
call fcn.0040d740
mov ecx, eax
call fcn.00479820
mov ecx, dword [esp + 0x2c]
push 0x5f3788
push ecx
mov byte [esp + 0x10c], 0x13
call edi
add esp, 8
test eax, eax
je 0x4ee71e
push esi
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x1c]
call fcn.004fef10
jmp 0x4ee7a4
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x5f3788
call sub.MFC42.DLL_CString::CString_3
push 1
push 0
lea eax, [esp + 0x3c]
push esi
push eax
mov byte [esp + 0x118], 0x13
call fcn.0040d740
mov ecx, eax
call fcn.00479820
mov ecx, dword [esp + 0x30]
push 0x5f3788
push ecx
mov byte [esp + 0x10c], 0x15
call edi
add esp, 8
test eax, eax
push esi
je 0x4ee785
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x1c]
call fcn.004fef10
jmp 0x4ee793
mov ecx, dword [esp + 0x18]
push str.__NF_
call fcn.004fe860
lea ecx, [esp + 0x30]
mov byte [esp + 0x104], 0x13
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x104], 0xf
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x54]
mov byte [esp + 0x104], 2
call sub.MFC42.DLL_CString::CString
mov ebx, dword [esp + 0x20]
jmp 0x4ee96b
mov eax, dword [esp + 0x3c]
push 0
mov ecx, esi
mov eax, dword [eax + ebp*4]
push eax
call fcn.004fe860
jmp 0x4ee96b
mov ecx, dword [esp + 0x3c]
lea edx, [ecx + ebp*4]
lea ecx, [esp + 0x5c]
push edx
call sub.MFC42.DLL_CString::CString_4
mov edx, dword [esp + 0x10c]
mov byte [esp + 0x104], 0x16
mov byte [esp + 0x13], 0
mov byte [esp + 0x1f], 0
mov ecx, dword [edx + 0x10]
mov al, byte [edx + 0x16]
cmp ecx, 0x2bc
mov byte [esp + 0x12], 0
sete cl
test al, al
je 0x4ee82c
mov byte [esp + 0x13], 1
mov al, byte [edx + 0x15]
test al, al
je 0x4ee838
mov byte [esp + 0x1f], 1
mov al, byte [edx + 0x14]
test al, al
je 0x4ee844
mov byte [esp + 0x12], 1
mov eax, dword [esp + 0x98]
mov dword [esp + 0x90], 0x3c
and eax, 0xbfffffff
test cl, cl
je 0x4ee868
mov esi, 0xe8000001
or al, 1
jmp 0x4ee86f
mov esi, 0xe8000000
and al, 0xfe
mov cl, byte [esp + 0x13]
test cl, cl
je 0x4ee87e
or esi, 8
or al, 8
jmp 0x4ee883
and esi, 0xfffffff7
and al, 0xf7
mov cl, byte [esp + 0x1f]
test cl, cl
je 0x4ee892
or esi, 4
or al, 4
jmp 0x4ee897
and esi, 0xfffffffb
and al, 0xfb
mov cl, byte [esp + 0x12]
test cl, cl
je 0x4ee8ad
or esi, 2
or al, 2
mov dword [esp + 0x94], esi
jmp 0x4ee8b9
and esi, 0xfffffffd
and al, 0xfd
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], eax
mov eax, dword [edx + 0x3c]
mov dword [esp + 0xa4], eax
lea edi, [edx + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea esi, [esp + 0xaa]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x14], esi
mov esi, edi
mov edi, dword [esp + 0x14]
shr ecx, 2
mov byte [esp + 0xa8], 0x86
push 0
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [edx]
and ecx, 3
mov edx, dword [ebx + 0x1bfc]
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, eax
shl ecx, 4
sub ecx, eax
push 0
neg ecx
push 0xe
push edx
mov dword [esp + 0xac], ecx
call edi
lea esi, [ebx + 0x1bdc]
push 0xffffffffffffffff
push eax
mov ecx, esi
call sub.MFC42.DLL_CRichEditCtrl::SetSel
lea eax, [esp + 0x90]
mov ecx, esi
push eax
call sub.MFC42.DLL_CRichEditCtrl::SetSelectionCharFormat
mov ecx, dword [esp + 0x5c]
mov edx, dword [ebx + 0x1bfc]
push ecx
push 0
push 0xc2
push edx
call edi
mov byte [esp + 0x104], 2
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x40]
inc ebp
cmp ebp, eax
jl 0x4ee116
jmp 0x4ee9bb
mov eax, dword [esp + 0x40]
test eax, eax
jle 0x4ee9bb
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx + 0x1bfc]
push 0
push 0
push 0xe
push eax
call ebp
push 0xffffffffffffffff
push eax
mov ecx, edi
call sub.MFC42.DLL_CRichEditCtrl::SetSel
mov ecx, dword [esp + 0x3c]
push 0
mov eax, dword [ecx + esi*4]
mov ecx, edi
push eax
call fcn.004fe860
mov eax, dword [esp + 0x40]
inc esi
cmp esi, eax
jl 0x4ee988
mov edx, dword [ebx + 0x1bfc]
push 0
push 7
push 0x115
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x114]
test eax, eax
je 0x4eeb75
or ecx, 0xffffffff
mov edi, 0x5f3788
xor eax, eax
lea edx, [esp + 0x90]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xc2]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x5f3788
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x90]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x5eb060
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0xf8], 0
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x158]
mov dword [esp + 0xf4], ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_5
mov edx, dword [ebx + 0x158]
lea eax, [esp + 0x20]
push edx
push 0x5e913c
push eax
mov byte [esp + 0x110], 0x17
call sub.MFC42.DLL_CString::Format
mov edi, dword [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xce]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
add esp, 8
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x114]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x1c], esp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, esp
push edx
call sub.MFC42.DLL_CString::CString_4
mov byte [esp + 0x108], 0x18
mov esi, dword [esp + 0x110]
sub esp, 0x40
mov ecx, 0x10
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push ecx
lea eax, [esp + 0x68]
mov ecx, esp
mov dword [esp + 0xa8], esp
push eax
call sub.MFC42.DLL_CString::CString_4
push ecx
add ebx, 0x15c
mov ecx, esp
mov dword [esp + 0xa4], esp
push ebx
mov byte [esp + 0x154], 0x19
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x154], 0x1a
mov ecx, esp
mov dword [esp + 0xa0], esp
push ebx
call sub.MFC42.DLL_CString::CString_3
sub esp, 0x6c
mov ecx, 0x1b
lea esi, [esp + 0x14c]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov byte [esp + 0x1c0], 0x17
call fcn.0040d740
mov ecx, eax
call fcn.00476710
lea ecx, [esp + 0x20]
mov byte [esp + 0x104], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x78], 0x5934ec
test eax, eax
je 0x4eeb8e
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x38]
mov dword [esp + 0x78], 0x5916e0
mov byte [esp + 0x104], 0
call fcn.00572f3a
lea ecx, [esp + 0x110]
mov dword [esp + 0x104], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xf8
ret 0x10