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

Disassembly:
push 0xffffffffffffffff
push 0x577139
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x28], ebx
xor esi, esi
lea ecx, [esp + 0x38]
mov dword [esp + 0xd4], 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 + 0xe0]
lea eax, [esp + 0x78]
lea ecx, [esp + 0x38]
lea edi, [ebx + 0x2a50]
push eax
push ecx
push edx
mov ecx, edi
mov byte [esp + 0xe0], 2
call fcn.004fe9d0
cmp eax, 1
jne 0x42878a
mov eax, dword [esp + 0x40]
xor ebp, ebp
cmp eax, esi
jle 0x4287cb
mov eax, dword [esp + 0x7c]
cmp dword [eax + ebp*4], 0
jne 0x4285f5
mov ecx, dword [ebx + 0x2a70]
push 0
push 0
push 0xe
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea esi, [ebx + 0x2a50]
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 0x4285df
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 0x4285df
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 + 0xdc], 3
call edi
add esp, 8
test eax, eax
je 0x42801a
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 0x42801f
mov byte [esp + 0x13], 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd4], 2
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x13]
test al, al
je 0x4285df
mov eax, dword [esp + 0xe8]
test eax, eax
jne 0x42809a
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 + 0xe0], 4
call dword [sym.imp.MSVCRT.dll_strtoul]
add esp, 0xc
lea ecx, [ebx + 0x2a98]
push eax
push esi
push ecx
mov ecx, ebx
call fcn.004efd40
mov byte [esp + 0xd4], 2
lea ecx, [esp + 0x64]
jmp 0x428776
cmp eax, 1
jne 0x42835d
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 + 0xe0], 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 0x42822f
mov dword [esp + 0x1c], esp
push 0x5e29e4
call sub.MFC42.DLL_CString::CString_3
push 0
push 2
lea ecx, [esp + 0x30]
push esi
push ecx
mov byte [esp + 0xe8], 5
call fcn.0040d740
mov ecx, eax
call fcn.00479820
mov edx, dword [esp + 0x24]
mov byte [esp + 0xd4], 7
push edx
call fcn.00440560
add esp, 4
test al, al
je 0x428180
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
lea eax, [esp + 0x2c]
push eax
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x1c]
call fcn.005012d0
mov byte [esp + 0xd4], 5
lea ecx, [esp + 0x24]
jmp 0x42833e
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 + 0xe8], 7
call fcn.0040d740
mov ecx, eax
call fcn.00479820
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xd8], 9
call fcn.00572d3c
lea ecx, [esp + 0x50]
mov byte [esp + 0xd4], 7
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x24]
push edx
call fcn.00440560
add esp, 4
test al, al
je 0x4281f0
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
jmp 0x42815c
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x3540]
test eax, eax
je 0x42820f
test byte [eax + 0x204], 0x10
je 0x42820f
push esi
push str.__NF_
jmp 0x428215
push esi
push str.__RB_
mov ecx, dword [esp + 0x1c]
call fcn.004fe860
mov byte [esp + 0xd4], 5
lea ecx, [esp + 0x24]
jmp 0x42833e
mov dword [esp + 0x1c], esp
push 0x5e29e4
call sub.MFC42.DLL_CString::CString_3
push 0
push 1
lea edx, [esp + 0x28]
push esi
push edx
mov byte [esp + 0xe8], 5
call fcn.0040d740
mov ecx, eax
call fcn.00479820
mov eax, dword [esp + 0x1c]
mov byte [esp + 0xd4], 0xb
push eax
call fcn.00440560
add esp, 4
test al, al
je 0x428294
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
lea edx, [esp + 0x24]
push edx
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x1c]
call fcn.004fef10
jmp 0x428332
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 + 0xe8], 0xb
call fcn.0040d740
mov ecx, eax
call fcn.00479820
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xd8], 0xd
call fcn.00572d3c
lea ecx, [esp + 0x58]
mov byte [esp + 0xd4], 0xb
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00440560
add esp, 4
test al, al
je 0x428304
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
jmp 0x42827c
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x3540]
test eax, eax
je 0x428323
test byte [eax + 0x204], 0x10
je 0x428323
push esi
push str.__NF_
jmp 0x428329
push esi
push str.__RB_
mov ecx, dword [esp + 0x1c]
call fcn.004fe860
mov byte [esp + 0xd4], 5
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x68]
mov byte [esp + 0xd4], 2
call sub.MFC42.DLL_CString::CString
mov ebx, dword [esp + 0x28]
jmp 0x42877b
cmp eax, 2
jne 0x4283c0
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 + 0xe0], 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 + 0xd4], 2
lea ecx, [esp + 0x4c]
jmp 0x428776
cmp eax, 3
jne 0x42877b
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 + 0xe0], 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 0x4284c7
mov dword [esp + 0x1c], esp
push 0x5f3788
call sub.MFC42.DLL_CString::CString_3
push 1
push 2
lea eax, [esp + 0x3c]
push esi
push eax
mov byte [esp + 0xe8], 0xf
call fcn.0040d740
mov ecx, eax
call fcn.00479820
mov ecx, dword [esp + 0x30]
push 0x5f3788
push ecx
mov byte [esp + 0xdc], 0x11
call edi
add esp, 8
test eax, eax
push esi
je 0x4284a8
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.005012d0
mov byte [esp + 0xd4], 0xf
lea ecx, [esp + 0x30]
jmp 0x4285c0
mov ecx, dword [esp + 0x18]
push str.__NF_
call fcn.004fe860
mov byte [esp + 0xd4], 0xf
lea ecx, [esp + 0x30]
jmp 0x4285c0
mov dword [esp + 0x1c], esp
push 0x5f3788
call sub.MFC42.DLL_CString::CString_3
push 1
push 1
lea eax, [esp + 0x40]
push esi
push eax
mov byte [esp + 0xe8], 0xf
call fcn.0040d740
mov ecx, eax
call fcn.00479820
mov ecx, dword [esp + 0x34]
push 0x5f3788
push ecx
mov byte [esp + 0xdc], 0x13
call edi
add esp, 8
test eax, eax
je 0x42852e
push esi
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.004fef10
jmp 0x4285b4
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 + 0x38]
push esi
push eax
mov byte [esp + 0xe8], 0x13
call fcn.0040d740
mov ecx, eax
call fcn.00479820
mov ecx, dword [esp + 0x2c]
push 0x5f3788
push ecx
mov byte [esp + 0xdc], 0x15
call edi
add esp, 8
test eax, eax
push esi
je 0x428595
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 0x4285a3
mov ecx, dword [esp + 0x18]
push str.__NF_
call fcn.004fe860
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd4], 0x13
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0xd4], 0xf
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x54]
mov byte [esp + 0xd4], 2
call sub.MFC42.DLL_CString::CString
mov ebx, dword [esp + 0x28]
jmp 0x42877b
mov eax, dword [esp + 0x3c]
push 0
mov ecx, esi
mov eax, dword [eax + ebp*4]
push eax
call fcn.004fe860
jmp 0x42877b
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 + 0xdc]
mov byte [esp + 0xd4], 0x16
mov byte [esp + 0x13], 0
mov byte [esp + 0x23], 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 0x42863c
mov byte [esp + 0x13], 1
mov al, byte [edx + 0x15]
test al, al
je 0x428648
mov byte [esp + 0x23], 1
mov al, byte [edx + 0x14]
test al, al
je 0x428654
mov byte [esp + 0x12], 1
mov eax, dword [esp + 0x98]
mov dword [esp + 0x90], 0x3c
and eax, 0xbfffffff
test cl, cl
je 0x428678
mov esi, 0xe8000001
or al, 1
jmp 0x42867f
mov esi, 0xe8000000
and al, 0xfe
mov cl, byte [esp + 0x13]
test cl, cl
je 0x42868e
or esi, 8
or al, 8
jmp 0x428693
and esi, 0xfffffff7
and al, 0xf7
mov cl, byte [esp + 0x23]
test cl, cl
je 0x4286a2
or esi, 4
or al, 4
jmp 0x4286a7
and esi, 0xfffffffb
and al, 0xfb
mov cl, byte [esp + 0x12]
test cl, cl
je 0x4286bd
or esi, 2
or al, 2
mov dword [esp + 0x94], esi
jmp 0x4286c9
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 + 0x2a70]
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 + 0x2a50]
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 + 0x2a70]
push ecx
push 0
push 0xc2
push edx
call edi
mov byte [esp + 0xd4], 2
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x40]
inc ebp
cmp ebp, eax
jl 0x427f26
jmp 0x4287cb
mov eax, dword [esp + 0x40]
test eax, eax
jle 0x4287cb
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx + 0x2a70]
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 0x428798
mov edx, dword [ebx + 0x2a70]
push 0
push 7
push 0x115
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0xe4]
test eax, eax
je 0x428957
cmp dword [ebx + 0x15c], 1
jne 0x428957
mov eax, dword [ebx + 0x158]
lea ecx, [esp + 0x1c]
add eax, 0x520
push eax
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd4], 0x17
call sub.MFC42.DLL_CString::TrimRight
mov ecx, dword [esp + 0x1c]
push 0x5e0b58
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x428888
mov eax, dword [ebx + 0x158]
mov edi, 0x5f3788
lea ebp, [eax + 0x9e]
mov esi, ebp
mov dl, byte [esi]
mov cl, byte [edi]
mov al, dl
cmp dl, cl
jne 0x428875
test al, al
je 0x428871
mov cl, byte [esi + 1]
mov dl, byte [edi + 1]
mov al, cl
cmp cl, dl
jne 0x428875
add esi, 2
add edi, 2
test al, al
jne 0x42884d
xor eax, eax
jmp 0x42887a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x428888
push ebp
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::operator_2
push ecx
lea edx, [esp + 0xe4]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call sub.MFC42.DLL_CString::CString_4
mov esi, dword [esp + 0xe0]
sub esp, 0x40
mov ecx, 0x10
mov edi, esp
rep movsd dword es:[edi], dword [esi]
add ebx, 0x154
push 0
mov ecx, ebx
mov byte [esp + 0x11c], 0x18
call fcn.00436590
push ecx
add eax, 0x104
mov ecx, esp
mov dword [esp + 0xa8], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
lea eax, [esp + 0x68]
mov ecx, esp
mov dword [esp + 0xa4], esp
push eax
mov byte [esp + 0x124], 0x19
call sub.MFC42.DLL_CString::CString_4
push 0
mov ecx, ebx
mov byte [esp + 0x124], 0x1a
call fcn.00436590
push ecx
add eax, 0x6c
mov ecx, esp
mov dword [esp + 0xa0], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push 0
mov ecx, ebx
mov byte [esp + 0x128], 0x17
call fcn.00436590
sub esp, 0x6c
mov ecx, 0x1b
mov esi, eax
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0040d740
mov ecx, eax
call fcn.00476710
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd4], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x78], 0x5934ec
test eax, eax
je 0x428970
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x38]
mov dword [esp + 0x78], 0x5916e0
mov byte [esp + 0xd4], 0
call fcn.00572f3a
lea ecx, [esp + 0xe0]
mov dword [esp + 0xd4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc8
ret 0x10