Function at 0x4c4290
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0xd4
mov eax, dword [0x5bd254]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
mov ebx, dword [esp + 0xe0]
push ebp
mov ebp, dword [esp + 0xe0]
push esi
mov esi, dword [esp + 0xec]
push edi
mov edi, dword [esp + 0xf4]
push edi
push esi
push ebx
push ebp
mov dword [esp + 0x20], ebp
call sym.convertifd.exe_IpQHelp
add esp, 0x10
test eax, eax
jne 0x4c48f9
lea eax, [ebx - 0x2b]
cmp eax, 0xe6
ja case.0x4c42ed.45
movzx eax, byte [eax + 0x4c4c04]
jmp dword [eax*4 + 0x4c4bec]
mov eax, edi
call fcn.004c3cf0
test eax, eax
je 0x4c4bd8
xor eax, eax
mov ecx, dword [esp + 0xe0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00511a80
add esp, 0xd4
ret 0x10
call fcn.004c3d40
jmp 0x4c42fb
movzx eax, si
sub eax, 0x20
je 0x4c43ba
sub eax, 6
je 0x4c437e
sub eax, 2
je 0x4c4342
or eax, 0xffffffff
jmp 0x4c4305
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x188
push edi
call esi
push 0
push 0
push 0x18b
push edi
mov ebx, eax
call esi
sub eax, 1
cmp ebx, eax
jge 0x4c4377
push 0
add ebx, 1
push ebx
push 0x186
push edi
call esi
mov eax, 0xfffffffe
jmp 0x4c4305
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x188
push edi
call esi
push 0
push 0
push 0x18b
push edi
mov ebx, eax
call esi
test ebx, ebx
jle 0x4c43b0
push 0
add ebx, 0xffffffff
push ebx
push 0x186
push edi
call esi
mov eax, 0xfffffffe
jmp 0x4c4305
push ebp
mov eax, edi
call fcn.004c3c70
add esp, 4
mov eax, 0xfffffffe
jmp 0x4c4305
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
movzx eax, si
cmp eax, 0x263e
jg 0x4c44ad
je 0x4c44a6
cmp eax, 0x4d9
jg 0x4c4446
je 0x4c441f
sub eax, 1
je 0x4c44ff
sub eax, 1
jne case.0x4c42ed.45
push eax
push ebp
call dword [sym.imp.USER32.dll_EndDialog]
push ebp
call fcn.004c39d0
add esp, 4
mov eax, 1
jmp 0x4c4305
shr esi, 0x10
cmp esi, 1
jne 0x4c4bd8
push ebp
mov eax, edi
call fcn.004c3c70
add esp, 4
push ebp
call fcn.004c39d0
add esp, 4
mov eax, esi
jmp 0x4c4305
sub eax, 0x24db
je 0x4c4482
sub eax, 0x63
jne case.0x4c42ed.45
push ebp
call sym.convertifd.exe_ConfigureWindowsPrinter
push 1
push 0
push 1
push str.Windows.icf
call sym.convertifd.exe_ChangeConfiguration
add esp, 0x14
push ebp
call fcn.004c39d0
add esp, 4
mov eax, 1
jmp 0x4c4305
xor ecx, ecx
cmp dword [0x6077d8], ecx
push ebp
sete cl
mov dword [0x6077d8], ecx
call fcn.004c39d0
add esp, 4
mov eax, 1
jmp 0x4c4305
push 1
jmp 0x4c4b05
sub eax, 0x2679
cmp eax, 0x77
ja case.0x4c42ed.45
movzx edx, byte [eax + 0x4c4d00]
jmp dword [edx*4 + 0x4c4cec]
shr esi, 0x10
movzx eax, si
add eax, 0xffffffff
cmp eax, 1
ja case.0x4c42ed.45
push 0
push 0
push 0x188
push 0x26f0
push ebp
call ebx
test eax, eax
jl 0x4c44f5
mov dword [0x6077d4], eax
cmp si, 2
jne 0x4c4bd8
push 0
push 0
push 0x147
push 0x2668
push ebp
call ebx
test eax, eax
jl 0x4c4aad
push 0
push eax
push 0x150
push 0x2668
push ebp
call ebx
push 0x64
mov dword [0x6073cc], eax
lea eax, [esp + 0x1c]
push eax
push 0x2207
push ebp
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
lea ecx, [esp + 0x18]
push ecx
call sym.convertifd.exe_UtStripBlanks
lea eax, [esp + 0x1c]
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4c4554
sub eax, edx
je 0x4c4921
lea eax, [esp + 0x18]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4c4570
sub eax, edx
cmp eax, 0x32
ja 0x4c4921
lea eax, [esp + 0x18]
lea edx, [eax + 1]
jmp 0x4c4590
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4c4590
sub eax, edx
lea edx, [esp + 0x18]
push str._t_
push edx
mov esi, eax
call fcn.00518a40
add esp, 8
cmp eax, esi
jne 0x4c4921
xor esi, esi
cmp byte [esp + 0x18], 0
je 0x4c45dc
movsx eax, byte [esp + esi + 0x18]
push eax
call fcn.00516e4b
add esp, 4
test eax, eax
je 0x4c45dc
add esi, 1
cmp byte [esp + esi + 0x18], 0
jne 0x4c45c0
cmp byte [esp + esi + 0x18], 0
je 0x4c4903
movsx ecx, byte [esp + 0x18]
push ecx
call fcn.00516ce1
add esp, 4
test eax, eax
je 0x4c4921
cmp byte [esp + 0x18], 0
je 0x4c4641
lea esi, [esp + 0x18]
jmp 0x4c4610
movsx edx, byte [esi]
push edx
call fcn.00516ce1
add esp, 4
test eax, eax
jne 0x4c4639
movsx eax, byte [esi]
push eax
call fcn.00516e4b
add esp, 4
test eax, eax
jne 0x4c4639
cmp byte [esi], 0x5f
jne 0x4c48d9
add esi, 1
cmp byte [esi], 0
jne 0x4c4610
mov ecx, dword [0x6a2d98]
xor esi, esi
cmp dword [0x6a2d08], esi
jle 0x4c468d
xor edi, edi
cmp esi, ecx
je 0x4c467c
mov eax, dword [0x6a2d04]
lea ecx, [edi + eax + 0x6c]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0051e073
add esp, 8
test eax, eax
je 0x4c4954
mov ecx, dword [0x6a2d98]
add esi, 1
add edi, 0xa8
cmp esi, dword [0x6a2d08]
jl 0x4c4653
mov eax, dword [0x6a2d04]
imul ecx, ecx, 0xa8
lea ecx, [ecx + eax + 0x6c]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0051e073
add esp, 8
test eax, eax
je 0x4c47ab
xor esi, esi
cmp dword [0x6a2d08], esi
jle 0x4c4704
xor edi, edi
mov edi, edi
mov ecx, dword [0x6a2d98]
imul ecx, ecx, 0xa8
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x6a2d04]
lea edx, [ecx + eax + 0x6c]
push edx
lea eax, [edi + eax + 0xa0]
push eax
call fcn.004d2760
add esp, 0xc
test eax, eax
je 0x4c48f9
add esi, 1
add edi, 0xa8
cmp esi, dword [0x6a2d08]
jl 0x4c46c0
mov edx, dword [0x6a2d98]
mov eax, dword [0x6a2d04]
imul edx, edx, 0xa8
lea ecx, [esp + 0x18]
push ecx
lea ecx, [edx + eax + 0x6c]
push ecx
call fcn.004c3610
mov eax, dword [0x6a2d98]
mov ecx, dword [0x6a2d04]
imul eax, eax, 0xa8
lea edx, [esp + 0x20]
push edx
lea edx, [eax + ecx + 0x6c]
push edx
call sym.convertifd.exe_UpdateFoundationPageName
mov eax, dword [0x6a2d98]
mov edx, dword [0x6a2d04]
add esp, 0x10
imul eax, eax, 0xa8
lea ecx, [esp + 0x18]
lea edx, [eax + edx + 0x6c]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x4c4760
mov ecx, dword [0x6a2d98]
imul ecx, ecx, 0xa8
add ecx, dword [0x6a2d04]
push 0x14
lea eax, [esp + 0x1c]
push eax
push ecx
call fcn.00513780
mov edx, dword [0x6a2d98]
mov eax, dword [0x6a2d04]
imul edx, edx, 0xa8
add esp, 0xc
mov byte [edx + eax + 0x14], 0
call sym.convertifd.exe_UpdatePageIcons
cmp dword [0x6077d0], 0
je 0x4c4a43
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0
push 0
push 0x18b
push 0x4d9
mov ecx, ebp
push ecx
call esi
mov edi, eax
xor ebx, ebx
xor ebp, ebp
test edi, edi
mov dword [esp + 0x14], edi
jle 0x4c49c7
mov edx, dword [esp + 0x10]
push 0
push ebp
push 0x199
push 0x4d9
push edx
call esi
test eax, eax
je 0x4c49bc
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x7c]
push eax
push ebp
push 0x189
push 0x4d9
push ecx
call esi
lea edx, [esp + 0x7c]
push 9
push edx
call fcn.00513950
add esp, 8
test eax, eax
je 0x4c483b
lea eax, [esp + 0x7c]
push 9
push eax
call fcn.00513950
add esp, 8
mov byte [eax], 0
test ebx, ebx
je 0x4c497e
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4c4848
sub eax, edx
mov edx, eax
lea eax, [esp + 0x7c]
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4c4860
sub eax, esi
lea ecx, [eax + edx + 2]
push ecx
push ebx
call sym.convertifd.exe_IpRealloc
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4c4a67
mov edi, ebx
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x4c4888
mov dx, word [0x58491c]
lea eax, [esp + 0x7c]
mov word [edi], dx
mov esi, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4c48a2
mov edi, ebx
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x4c48b2
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x14]
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
jmp 0x4c49bc
push 0xffffea63
call sym.convertifd.exe_IpMessage
add esp, 4
push 0x2207
push ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, 1
jmp 0x4c4305
lea ecx, [esp + 0x18]
push ecx
call fcn.00511d40
mov ecx, dword [0x6a2d98]
lea edx, [ecx + 1]
add esp, 4
cmp eax, edx
je 0x4c4647
push 0xffffea63
call sym.convertifd.exe_IpMessage
add esp, 4
push 0x2207
push ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push ebp
call fcn.004c39d0
add esp, 4
mov eax, 1
jmp 0x4c4305
push 0xffffdc49
call sym.convertifd.exe_IpMessage
add esp, 4
push 0x2207
push ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, 1
jmp 0x4c4305
lea eax, [esp + 0x7c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4c4985
sub eax, edx
add eax, 1
push eax
call sym.convertifd.exe_IpMalloc
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4c4a8a
lea eax, [esp + 0x7c]
mov edx, ebx
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x4c49b0
add ebp, 1
cmp ebp, edi
jl 0x4c47e3
mov ecx, dword [0x6a2d98]
mov eax, dword [0x6a2d04]
mov edx, ecx
imul edx, edx, 0xa8
mov eax, dword [edx + eax + 0xa0]
test eax, eax
je 0x4c49e9
test ebx, ebx
jne 0x4c49ed
cmp eax, ebx
jne 0x4c4a09
test eax, eax
je 0x4c4a43
test ebx, ebx
je 0x4c4a43
push ebx
push eax
call fcn.0051e073
add esp, 8
test eax, eax
je 0x4c4a43
mov ecx, dword [0x6a2d98]
mov edx, dword [0x6a2d04]
imul ecx, ecx, 0xa8
mov eax, dword [ecx + edx + 0xa0]
push eax
call sym.convertifd.exe_IpFree
mov ecx, dword [0x6a2d98]
mov edx, dword [0x6a2d04]
imul ecx, ecx, 0xa8
add esp, 4
mov dword [ecx + edx + 0xa0], ebx
call sym.convertifd.exe_RePaintAll
mov eax, dword [esp + 0x10]
push 1
push eax
call dword [sym.imp.USER32.dll_EndDialog]
mov ebp, dword [esp + 0x10]
push ebp
call fcn.004c39d0
add esp, 4
mov eax, 1
jmp 0x4c4305
push 0xfffffffffffffff9
call sym.convertifd.exe_IpMessage
mov edx, dword [esp + 0x14]
add esp, 4
push 2
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, 1
jmp 0x4c4305
push 0xfffffffffffffff9
call sym.convertifd.exe_IpMessage
mov eax, dword [esp + 0x14]
add esp, 4
push 2
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, 1
jmp 0x4c4305
push 0xfffffc52
call sym.convertifd.exe_IpMessage
add esp, 4
push 0x2668
push ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push ebp
call fcn.004c39d0
add esp, 4
mov eax, 1
jmp 0x4c4305
xor ecx, ecx
cmp si, 0x2696
sete cl
push ebp
mov dword [0x6073c8], ecx
call fcn.004c39d0
add esp, 4
mov eax, 1
jmp 0x4c4305
push 0
call sym.convertifd.exe_AddNewPage
add esp, 4
push ebp
mov dword [sym.convertifd.exe_i_control], 0x26d8
call fcn.004c39d0
add esp, 4
mov eax, 1
jmp 0x4c4305
call sym.convertifd.exe_DeletePage
push ebp
mov dword [sym.convertifd.exe_i_control], 0x26d8
call fcn.004c39d0
add esp, 4
mov eax, 1
jmp 0x4c4305
push ebp
call sym.convertifd.exe_CenterDialog
push ebp
call fcn.004c37f0
add esp, 8
cmp dword [0x6077d0], 0
je 0x4c4bb2
mov edx, dword [0x6a2d98]
mov eax, dword [0x6a2d04]
imul edx, edx, 0xa8
mov ecx, dword [edx + eax + 0xa0]
push 0x4d9
push ebp
call fcn.004c3ff0
add esp, 8
push 0
push 0
push 0x186
push 0x4d9
push ebp
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push ebp
call fcn.004c39d0
add esp, 4
mov eax, 1
jmp 0x4c4305
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x4d9
push ebp
call esi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
push 0
push 0x4da
push ebp
call esi
push eax
call edi
push ebp
call fcn.004c39d0
add esp, 4
mov eax, 1
jmp 0x4c4305