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

Disassembly:
sub esp, 0xa8
mov eax, dword [0x5bd254]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, dword [0x6a1184]
push ebx
push ebp
mov ebp, dword [esp + 0xb4]
push esi
push edi
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
cmp dword [eax + 0x6c], 2
mov dword [esp + 0x34], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], 1
jge 0x4e570b
mov eax, dword [eax + 0x70]
cmp dword [eax + 0x48], 6
jne 0x4e570b
push 0x584a6c
call sym.convertifd.exe_FmLookupTypeface
mov esi, eax
call sym.convertifd.exe_CV_GetSystemInputSymbolSet
push eax
call sym.convertifd.exe_CV_GetSymAbbrev
add esp, 8
cmp esi, edi
mov ebx, eax
jge 0x4e56b7
push 0x585408
call sym.convertifd.exe_FmLookupTypeface
mov esi, eax
add esp, 4
cmp esi, edi
jge 0x4e56b7
push ebx
lea ecx, [esp + 0x84]
push str.Courier_New___s_
push ecx
call fcn.005135ca
lea edx, [esp + 0x8c]
push edx
call sym.convertifd.exe_FmLookupTypeface
mov esi, eax
add esp, 0x10
cmp esi, edi
jge 0x4e56b7
push ebx
lea eax, [esp + 0x84]
push str.Courier___s_
push eax
call fcn.005135ca
lea ecx, [esp + 0x8c]
push ecx
call sym.convertifd.exe_FmLookupTypeface
mov esi, eax
add esp, 0x10
cmp esi, edi
jge 0x4e56b7
call sym.convertifd.exe_FmGetNumTypefaces
cmp eax, 2
jl 0x4e570b
lea esi, [edi + 1]
lea edx, [esp + 0x28]
push edx
push edi
push edi
mov ebx, 0x78
push ebx
push esi
call sym.convertifd.exe_FmLookupFont
add esp, 0x14
cmp eax, edi
jge 0x4e56eb
lea eax, [esp + 0x28]
push eax
push edi
push edi
mov ebx, 0x64
push ebx
push esi
call sym.convertifd.exe_FmLookupFont
add esp, 0x14
cmp eax, edi
jl 0x4e570b
lea ecx, [esp + 0x40]
push ecx
push edi
push eax
push esi
call sym.convertifd.exe_FmGetFont
push edi
push 0xffffffffffffffff
push edi
push edi
lea edx, [esp + 0x74]
push ebx
push edx
call sym.convertifd.exe_FmSelectFont
add esp, 0x28
mov ecx, dword [0x6a1184]
xor eax, eax
mov esi, 1
cmp dword [ecx + 0x6c], esi
setg al
mov dword [0x6080e0], eax
mov edx, dword [ebp + 0x130]
add edx, edx
add edx, edx
push edx
call sym.convertifd.exe_IpMalloc
mov ecx, eax
add esp, 4
cmp ecx, edi
mov dword [esp + 0x10], ecx
jne 0x4e574f
push 0xfffffffffffffff9
call sym.convertifd.exe_IpMessage
add esp, 4
jmp 0x4e5e79
cmp dword [ebp + 0x130], esi
mov eax, esi
jle 0x4e5771
lea esp, [esp]
mov dword [ecx + eax*4], 0xffffffff
add eax, esi
cmp eax, dword [ebp + 0x130]
jl 0x4e5760
mov dword [ecx], edi
mov eax, dword [ebp + 0x1c8]
cmp eax, edi
jle 0x4e57a1
add eax, eax
add eax, eax
push eax
call sym.convertifd.exe_IpMalloc
add esp, 4
cmp eax, edi
mov dword [esp + 0x2c], eax
jne 0x4e57a7
push 0xfffffffffffffff9
call sym.convertifd.exe_IpMessage
add esp, 4
jmp 0x4e5e79
xor eax, eax
mov dword [esp + 0x2c], eax
xor ecx, ecx
cmp dword [ebp + 0x1c8], edi
jle 0x4e57c2
mov dword [eax + ecx*4], 0xffffffff
add ecx, esi
cmp ecx, dword [ebp + 0x1c8]
jl 0x4e57b1
mov edi, dword [ebp + 0x128]
sub edi, esi
mov dword [esp + 0x28], edi
js 0x4e5e67
cmp edi, dword [ebp + 0x1b8]
je 0x4e5805
mov esi, dword [ebp + 0x130]
push 1
push edi
push ebp
call sym.convertifd.exe_ReadPageWithOption
add esp, 0xc
test eax, eax
jne 0x4e5ec8
mov ebx, dword [ebp + 0x130]
lea eax, [esp + 0x10]
call fcn.004e5050
mov ecx, dword [ebp + 0x128]
sub ecx, 1
cmp edi, ecx
jne 0x4e59cd
mov edx, dword [0x6a1184]
mov eax, dword [0x6a2d00]
mov ecx, dword [edx + 0x6c]
cmp dword [eax + 0x74], ecx
jl 0x4e583e
add ecx, 0xffffffff
cmp ecx, 1
jle 0x4e5836
mov ecx, 1
mov dword [eax + 0x74], ecx
mov eax, dword [0x6a2d00]
mov ecx, dword [eax + 0x120]
mov edx, dword [0x6a1184]
cmp ecx, dword [edx + 0x94]
jl 0x4e5861
mov dword [eax + 0x120], 0
mov eax, dword [0x6a2d00]
mov ecx, dword [eax + 0x124]
mov edx, dword [0x6a1184]
cmp ecx, dword [edx + 0x94]
jl 0x4e5884
mov dword [eax + 0x124], 0
mov eax, dword [0x6a2d00]
mov ecx, dword [0x6a1184]
mov edx, dword [ecx + 0x70]
cmp dword [edx + 0x48], 6
jne 0x4e5954
mov ecx, dword [ebp + 0x130]
mov edi, dword [esp + 0x10]
mov esi, dword [eax + 0x70]
mov dword [esp + 0x18], ecx
push 0
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0xcc]
mov ecx, ebp
call fcn.004e5080
add esp, 0xc
test eax, eax
jl 0x4e58d4
mov edx, dword [0x6a2d00]
mov dword [edx + 0x70], eax
jmp 0x4e593a
mov eax, dword [0x6a2d00]
mov esi, dword [eax + 0x70]
mov dword [eax + 0x70], 0
call sym.convertifd.exe_AdjustDefaultFont
mov ecx, dword [0x6a2d00]
mov eax, dword [ecx + 0x70]
cmp eax, 1
jl 0x4e5901
mov edx, dword [0x6a1184]
cmp eax, dword [edx + 0x6c]
jl 0x4e593a
mov dword [ecx + 0x70], esi
push 1
lea eax, [esp + 0x24]
push eax
mov eax, dword [0x6a2d00]
mov esi, dword [eax + 0x70]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0xcc]
mov ecx, ebp
call fcn.004e5080
add esp, 0xc
test eax, eax
jl 0x4e5e79
mov ecx, dword [0x6a2d00]
mov dword [ecx + 0x70], eax
call sym.convertifd.exe_MFontDefault
mov ebx, dword [ebp + 0x130]
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x10]
call fcn.004e5050
jmp 0x4e596c
mov ecx, dword [ecx + 0x6c]
cmp dword [eax + 0x70], ecx
jl 0x4e5971
add ecx, 0xffffffff
cmp ecx, 1
jle 0x4e5969
mov ecx, 1
mov dword [eax + 0x70], ecx
mov eax, dword [0x6a2d00]
mov edx, dword [ebp + 0x130]
mov edi, dword [esp + 0x10]
mov esi, dword [eax + 0x130]
mov dword [esp + 0x18], edx
push 1
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0xcc]
mov ecx, ebp
call fcn.004e5080
add esp, 0xc
test eax, eax
jl 0x4e5e79
mov ecx, dword [0x6a2d00]
mov esi, dword [esp + 0x18]
mov dword [ecx + 0x130], eax
mov ebx, dword [ebp + 0x130]
lea eax, [esp + 0x10]
call fcn.004e5050
mov edi, dword [esp + 0x28]
mov eax, dword [ebp + 0x134]
mov edx, dword [0x6a1184]
push edx
lea ecx, [eax + 0x40]
push ecx
add eax, 0xa8
push eax
call sym.convertifd.exe_InputTrayReconcile
mov eax, dword [0x6a2d00]
mov edx, dword [eax + 0x7c]
mov ecx, dword [0x6a1184]
add esp, 0xc
cmp edx, dword [ecx + 0xc]
jl 0x4e5a0b
mov dword [eax + 0x7c], 1
mov eax, dword [0x6a2d00]
mov edx, dword [eax + 0x78]
mov ecx, dword [0x6a1184]
cmp edx, dword [ecx + 4]
jl 0x4e5a25
mov dword [eax + 0x78], 1
mov eax, dword [0x6a2d00]
mov eax, dword [eax + 0x174]
lea edx, [esp + 0x3c]
push edx
call fcn.004e5590
mov ecx, dword [0x6a2d00]
mov dword [ecx + 0x174], eax
mov edx, dword [0x6a2d00]
mov eax, dword [edx + 0xb8]
add esp, 4
call fcn.004e5540
mov ebx, 1
mov dword [edx + 0xb8], eax
cmp dword [ebp + 0x13c], ebx
mov dword [esp + 0x24], ebx
jle 0x4e5e5a
mov edi, ebx
jmp 0x4e5a7d
mov ebx, dword [esp + 0x24]
mov edi, 1
push ebx
lea esi, [ebp + 0x138]
push esi
call sym.convertifd.exe_PointToEntity
mov edx, dword [esi]
mov ecx, eax
mov eax, dword [edx + ebx*8 + 4]
cdq
xor eax, edx
sub eax, edx
add eax, 0xffffffff
add esp, 8
cmp eax, 7
mov dword [esp + 0x14], ecx
ja case.0x4e5aaa.3
jmp dword [eax*4 + 0x4e5ed4]
mov cl, byte [ecx + 8]
cmp cl, 3
je 0x4e5cb1
cmp cl, 4
je 0x4e5cb1
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0x1c]
mov ecx, dword [ebp + 0x130]
mov edi, dword [esp + 0x10]
push 1
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
mov dword [esp + 0x20], ecx
push eax
lea edx, [esp + 0xcc]
mov ecx, ebp
mov dword [esp + 0x48], esi
call fcn.004e5080
add esp, 0xc
test eax, eax
jl 0x4e5e79
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov dword [edi + 0x1c], eax
mov ebx, dword [ebp + 0x130]
lea eax, [esp + 0x10]
call fcn.004e5050
mov eax, dword [edi + 0x44]
lea ecx, [edi + 0x3c]
push ecx
call fcn.004e5590
mov dword [edi + 0x44], eax
mov eax, dword [edi + 0x2c]
add esp, 4
call fcn.004e5540
mov dword [edi + 0x2c], eax
xor eax, eax
cmp dword [edi + 0x34], eax
mov dword [esp + 0x30], eax
jle 0x4e5bba
mov edx, dword [edi + 0x38]
mov esi, dword [edx + eax*8 + 4]
test esi, esi
je 0x4e5bae
mov eax, dword [ebp + 0x130]
mov edi, dword [esp + 0x10]
push 1
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0xcc]
mov ecx, ebp
mov dword [esp + 0x24], eax
call fcn.004e5080
add esp, 0xc
test eax, eax
jl 0x4e5e79
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x38]
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x18]
mov dword [edx + ecx*8 + 4], eax
mov ebx, dword [ebp + 0x130]
lea eax, [esp + 0x10]
call fcn.004e5050
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x14]
add eax, 1
cmp eax, dword [edi + 0x34]
mov dword [esp + 0x30], eax
jl 0x4e5b46
mov edx, dword [ebp + 0x130]
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov esi, dword [ebx + 0x20]
push 0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], edx
push ecx
lea edx, [esp + 0xcc]
mov ecx, ebp
call fcn.004e5080
add esp, 0xc
test eax, eax
jge 0x4e5bf8
mov edx, dword [ebx + 0x1c]
mov dword [ebx + 0x20], edx
jmp 0x4e5bfb
mov dword [ebx + 0x20], eax
mov ebx, dword [ebp + 0x130]
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x10]
call fcn.004e5050
mov ebx, dword [esp + 0x14]
cmp byte [ebx + 8], 0
je case.0x4e5aaa.3
mov esi, dword [0x6a298c]
mov edi, dword [0x6a2b8c]
push 4
lea eax, [ebp + 0x114]
push str.3.00
push eax
mov dword [0x6a298c], 0
mov dword [0x6a2b8c], 1
call fcn.00513bae
add esp, 0xc
test eax, eax
jge 0x4e5c86
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x12c]
shl eax, 6
cmp dword [ecx + eax + 0x10], 0
jne 0x4e5c86
mov ecx, dword [0x6a1b78]
lea edx, [ebx + 0x10]
push edx
mov edx, dword [ebx + 0x30]
lea eax, [ebx + 0xc]
push eax
push ecx
push ebx
push edx
call sym.convertifd.exe_TextRCtoHWInterface
add esp, 0x14
push 0
push 0
push 0
lea eax, [ebp + 0x138]
push eax
mov eax, dword [esp + 0x34]
push eax
call sym.convertifd.exe_SetEntity
add esp, 0x14
mov dword [0x6a298c], esi
mov dword [0x6a2b8c], edi
jmp case.0x4e5aaa.3
mov ecx, dword [ebp + 0x130]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + 0x20]
push 1
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0xcc]
mov ecx, ebp
call fcn.004e5080
add esp, 0xc
test eax, eax
jl 0x4e5e79
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov dword [edx + 0x20], eax
mov ebx, dword [ebp + 0x130]
lea eax, [esp + 0x10]
call fcn.004e5050
mov eax, dword [0x6a1184]
cmp dword [eax + 0x94], 0
jne 0x4e5d48
cmp dword [esp + 0x38], 0
je 0x4e5d2f
mov dword [esp + 0x38], 0
call fcn.004e52a0
test eax, eax
je 0x4e5e79
mov ecx, dword [esp + 0x24]
lea eax, [ebp + 0x138]
push eax
push ecx
call sym.convertifd.exe_DeleteEntity
add esp, 8
jmp case.0x4e5aaa.3
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
mov edi, dword [ebx + 0x1c]
push edx
mov esi, ebp
call fcn.004e50d0
add esp, 4
test eax, eax
jl 0x4e5e79
mov dword [ebx + 0x1c], eax
mov eax, dword [0x6a1184]
mov ecx, dword [eax + 0x90]
mov esi, dword [ebp + 0x1c4]
mov edi, dword [ebp + 0x1c8]
mov dword [ebp + 0x1c4], ecx
mov edx, dword [0x6a1184]
mov eax, dword [edx + 0x94]
mov ecx, dword [esp + 0x24]
push 0
push 0
mov dword [ebp + 0x1c8], eax
push 0
lea eax, [ebp + 0x138]
push eax
push ecx
call sym.convertifd.exe_SetEntity
add esp, 0x14
mov dword [ebp + 0x1c4], esi
mov dword [ebp + 0x1c8], edi
jmp case.0x4e5aaa.3
mov edx, dword [ecx + 0x14]
mov eax, dword [0x6a1184]
cmp edx, dword [eax + 0xc]
jl case.0x4e5aaa.3
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x14], 1
jmp case.0x4e5aaa.3
mov edx, dword [ecx + 0x14]
mov eax, dword [0x6a1184]
cmp edx, dword [eax + 0xc]
jl 0x4e5ded
mov dword [ecx + 0x14], edi
mov ecx, dword [ecx + 0x18]
mov edx, dword [0x6a1184]
cmp ecx, dword [edx + 4]
jmp 0x4e5e32
mov edx, dword [ecx + 0x10]
mov eax, dword [0x6a1184]
cmp edx, dword [eax + 0xc]
jl 0x4e5e0b
mov dword [ecx + 0x10], edi
mov ecx, dword [ecx + 0x14]
mov edx, dword [0x6a1184]
cmp ecx, dword [edx + 4]
jl case.0x4e5aaa.3
mov eax, dword [esp + 0x14]
mov dword [eax + 0x14], 1
jmp case.0x4e5aaa.3
mov ecx, dword [ecx + 0x18]
mov edx, dword [0x6a1184]
cmp ecx, dword [edx + 0xc]
jl case.0x4e5aaa.3
mov eax, dword [esp + 0x14]
mov dword [eax + 0x18], 1
mov eax, dword [esp + 0x24]
add eax, 1
cmp eax, dword [ebp + 0x13c]
mov dword [esp + 0x24], eax
jl 0x4e5a74
mov edi, dword [esp + 0x28]
sub edi, 1
mov dword [esp + 0x28], edi
jns 0x4e57d4
mov dword [ebp + 0x114], 0x20333435
mov dword [esp + 0x34], 1
mov eax, dword [esp + 0x1c]
pop edi
mov dword [ebp + 0x1bc], eax
mov dword [ebp + 0x1c0], eax
mov eax, dword [esp + 0xc]
test eax, eax
pop esi
pop ebp
pop ebx
je 0x4e5e9e
push eax
call sym.convertifd.exe_IpFree
add esp, 4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4e5eaf
push eax
call sym.convertifd.exe_IpFree
add esp, 4
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0x24]
xor ecx, esp
call fcn.00511a80
add esp, 0xa8
ret
push eax
call sym.convertifd.exe_IpMessage
add esp, 4
jmp 0x4e5e79