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

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x80
push ebx
push ebp
mov ebp, dword [esp + 0x90]
push esi
mov esi, dword [esp + 0x98]
push edi
mov edi, dword [esp + 0x94]
push eax
push esi
push ebp
push edi
mov ebx, 0x7d00
call sym.convertifd.exe_IpQHelp
add esp, 0x10
test eax, eax
jne 0x4987d0
mov eax, ebp
sub eax, 0x110
je 0x498824
mov edx, 1
sub eax, edx
je 0x498635
sub eax, 0xef
jne 0x498794
push eax
call sym.convertifd.exe_StatusCommand
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x80
ret 0x10
movzx eax, si
mov ecx, esi
shr ecx, 0x10
cmp eax, 0x245c
jg 0x498786
xor ebp, ebp
cmp eax, 0x2458
jge 0x498764
cmp eax, 0x1e2c
je 0x4986a9
cmp eax, 0x2457
jne 0x498794
cmp ecx, edx
jne 0x49868c
mov ecx, dword [0x6a2d08]
mov dword [0x606c64], ecx
call sym.convertifd.exe_RepaintPageIcons
pop edi
pop esi
lea eax, [ebp + 1]
pop ebp
pop ebx
add esp, 0x80
ret 0x10
add dword [0x606c64], edx
call sym.convertifd.exe_RepaintPageIcons
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x80
ret 0x10
cmp ecx, edx
jne 0x498794
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push ebp
push ebp
push 0x147
push 0x1e2c
push edi
call esi
push ebp
push eax
push 0x150
push 0x1e2c
push edi
call esi
mov edx, dword [0x6a13e0]
movzx esi, ax
sub esi, dword [0x606c64]
mov ebx, eax
push edx
shr ebx, 0x10
add esi, 0x2458
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [0x606c64]
lea edi, [eax + esi - 0x2458]
cmp edi, dword [0x6a2d98]
je 0x498729
push ebp
call sym.convertifd.exe_IpHelpSetDialogContext
mov esi, eax
push esi
call sym.convertifd.exe_IpHelpSetDialogContext
add esp, 8
cmp esi, 0x25c2
je 0x498729
push edi
call sym.convertifd.exe_OpenNewPage
cmp ebx, 0x7d00
jge 0x498743
mov ecx, dword [0x606c74]
shl ebx, 4
mov eax, dword [ebx + ecx + 4]
call fcn.00497b30
call sym.convertifd.exe_RepaintPageIcons
push 1
call sym.convertifd.exe_IpMenuInit
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x80
ret 0x10
cmp ecx, edx
jne 0x4986f6
push 0x2698
call sym.convertifd.exe_IpHelpSetDialogContext
push 1
mov esi, eax
call sym.convertifd.exe_PageAttr
push esi
call sym.convertifd.exe_IpHelpSetDialogContext
add esp, 0xc
jmp 0x498748
cmp eax, 0x245d
je 0x4987e2
cmp eax, 0x26d7
je 0x4987a3
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x80
ret 0x10
call sym.convertifd.exe_SetColorAttr
xor ebp, ebp
push ebp
push ebp
push 0x26d7
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [0x6a2d00]
mov eax, dword [edx + 0xa4]
mov dword [0x5abff4], eax
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x80
ret 0x10
cmp ecx, edx
jne 0x498807
mov dword [0x606c64], 0
call sym.convertifd.exe_RepaintPageIcons
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x80
ret 0x10
sub dword [0x606c64], edx
call sym.convertifd.exe_RepaintPageIcons
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x80
ret 0x10
xor ebp, ebp
cmp dword [0x6a29f8], ebp
mov dword [0x606c60], edi
je 0x49883e
mov dword [0x5abff8], 3
lea ecx, [esp + 0x10]
push ecx
call sym.convertifd.exe_BoButtonInitialize
or dword [esp + 0x1c], 0x20
lea edx, [esp + 0x10]
push edx
push ebp
mov esi, 2
push 0x26d7
push edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], esi
mov dword [esp + 0x24], sym.convertifd.exe_ColourPaint
call sym.convertifd.exe_MbButtonCreate
add esp, 0x10
lea eax, [esp + 0x10]
push eax
call sym.convertifd.exe_BoButtonInitialize
mov eax, dword [0x5abff8]
cmp eax, ebp
mov ebx, 1
lea ecx, [eax + 2]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], 4
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x84], ebp
jle 0x498901
mov esi, 0x2458
jmp 0x4988d0
lea eax, [esp + 0x10]
push eax
push 0x23df
lea edx, [esi - 0x2457]
push esi
push edi
mov dword [esp + 0x90], edx
call sym.convertifd.exe_MbButtonCreate
add esi, ebx
lea ecx, [esi - 0x2458]
add esp, 0x10
cmp ecx, dword [0x5abff8]
jl 0x4988d0
or dword [esp + 0x1c], ebx
lea edx, [esp + 0x10]
push edx
push 0x23df
push 0x245d
push edi
mov dword [esp + 0x70], ebp
mov dword [esp + 0x90], ebp
call sym.convertifd.exe_MbButtonCreate
mov eax, dword [0x5abff8]
lea ecx, [esp + 0x20]
push ecx
push 0x23df
add eax, 1
push 0x2457
push edi
mov dword [esp + 0xa0], eax
call sym.convertifd.exe_MbButtonCreate
add esp, 0x20
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x80
ret 0x10