Function at 0x1002eb3b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x100e5bc8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 6
mov ebx, ecx
xor edx, edx
pop ecx
xor eax, eax
mov dword [ebp - 0x38], edx
lea edi, [ebp - 0x34]
push edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edx
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor eax, eax
xor edx, edx
mov dword [ebp - 0x14], edx
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
sub eax, 0xf
je 0x1002f064
dec eax
je 0x1002f011
sub eax, 8
je 0x1002ef8a
sub eax, 0x36
je 0x1002ef1a
sub eax, 0xc2
je 0x1002ecc2
dec eax
jne 0x1002f07a
movzx eax, word [ebp + 0x10]
dec eax
je 0x1002ec77
dec eax
je 0x1002f011
sub eax, 7
je 0x1002ec5c
sub eax, 0x2db
je 0x1002ec1e
sub eax, 0x105
jne 0x1002f07a
xor edi, edi
lea ecx, [ebx + 0x1c]
inc edi
cmp dword [ecx + 8], edx
je 0x1002ebf3
push dword [ecx + 8]
call fcn.10012c43
call fcn.10059698
test eax, eax
jne 0x1002ec14
cmp dword [0x100ea384], edi
jne 0x1002ec14
lea ecx, [ebx + 0x28]
cmp dword [ecx + 8], eax
je 0x1002ec14
push dword [ecx + 8]
call fcn.10012c43
push 0x3e9
jmp 0x1002f054
xor edi, edi
lea ecx, [ebx + 0x1c]
inc edi
cmp dword [ecx + 8], edx
je 0x1002ec31
push dword [ecx + 8]
call fcn.10012c43
call fcn.10059698
test eax, eax
jne 0x1002ec52
cmp dword [0x100ea384], edi
jne 0x1002ec52
lea ecx, [ebx + 0x28]
cmp dword [ecx + 8], eax
je 0x1002ec52
push dword [ecx + 8]
call fcn.10012c43
push 0x2e4
jmp 0x1002f054
push 0x100a7e9c
push 0x100a7e54
push 0x69
push edx
push esi
call fcn.1005bfe1
add esp, 0x14
jmp 0x1002ef82
lea ecx, [ebx + 0x1c]
cmp dword [ebx + 0x18], edx
je 0x1002ec82
lea ecx, [ebx + 0x28]
call fcn.1006032c
xor edi, edi
lea ecx, [ebx + 0x1c]
inc edi
cmp dword [ecx + 8], 0
je 0x1002ec9b
push dword [ecx + 8]
call fcn.10012c43
call fcn.10059698
test eax, eax
jne 0x1002ecbc
cmp dword [0x100ea384], edi
jne 0x1002ecbc
lea ecx, [ebx + 0x28]
cmp dword [ecx + 8], eax
je 0x1002ecbc
push dword [ecx + 8]
call fcn.10012c43
push edi
jmp 0x1002f054
push 0x100a8204
push str.CMLPrinter3::DlgProc
push 4
call fcn.10009c3c
push 0x1f7
push 0x35
lea eax, [ebx + 4]
push eax
lea eax, [ebx + 8]
push eax
lea eax, [ebx + 0xc]
push eax
push esi
call fcn.10059f2d
add esp, 0x24
xor edi, edi
push 0
inc edi
push edi
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push 0x37a
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x400
push 0x100ecd90
push 0xabea
mov dword [ebx + 0x14], eax
push dword [0x100eea28]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x38]
push eax
push 0
push 0x133e
push dword [ebx + 0x14]
mov dword [ebp - 0x2c], 0x100ecd90
mov dword [ebp - 0x38], edi
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebx + 0x1c]
push 0
call fcn.1006031f
push esi
lea ecx, [ebx + 0x1c]
push 0xb8
mov eax, dword [ecx]
push dword [0x100eea28]
call dword [eax]
call fcn.100596b8
test eax, eax
je 0x1002edd7
cmp dword [0x100ea384], 0
je 0x1002edd7
push 0x400
mov esi, 0x100ecd90
push esi
push 0xabeb
push dword [0x100eea28]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x38]
push eax
push edi
push 0x133e
push dword [ebx + 0x14]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x38], edi
call dword [sym.imp.USER32.dll_SendMessageW]
lea esi, [ebx + 0x28]
push edi
mov ecx, esi
call fcn.1006031f
push dword [ebp - 0x1c]
mov eax, dword [esi]
push 0xb8
push dword [0x100eea28]
mov ecx, esi
call dword [eax]
mov esi, dword [ebp - 0x1c]
call fcn.100596b8
test eax, eax
je 0x1002ee45
cmp dword [0x100ea384], 0
je 0x1002ee45
cmp dword [0x100ed9c0], 2
jne 0x1002ee45
cmp dword [ebx + 0x24], 0
je 0x1002ee03
push 0
push dword [ebx + 0x24]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebx + 0x28]
cmp dword [eax + 8], 0
je 0x1002ee1a
push 5
push dword [eax + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebx + 0x28]
mov ecx, eax
call fcn.1002e45d
push 0
push edi
push 0x130c
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push edi
push 0x1330
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1002ee93
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebx + 0x1c]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1002ee5d
push 5
push ecx
call edi
lea eax, [ebx + 0x1c]
mov ecx, eax
call fcn.1002e45d
cmp dword [ebx + 0x30], 0
je 0x1002ee71
push 0
push dword [ebx + 0x30]
call edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x130c
push dword [ebx + 0x14]
call edi
push 0
push 0
push 0x1330
push dword [ebx + 0x14]
call edi
push esi
mov ecx, ebx
call fcn.1002f08f
cmp dword [0x100ee9b8], 0
push 0x400
push 0x100ecd90
je 0x1002eeb5
push 0x916a
jmp 0x1002eeba
push 0x9169
push dword [0x100eea28]
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x100ecd90
push 9
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
xor edi, edi
cmp dword [0x100ee9b8], 0xa
jne 0x1002f07c
push 9
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x1002f07c
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1002f07c
push edi
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1002f07c
mov eax, dword [ebp + 0x14]
cmp dword [eax + 8], 0xfffffdd9
jne 0x1002ef82
mov ecx, dword [ebx + 0x14]
cmp dword [eax], ecx
jne 0x1002ef82
push edx
push edx
push 0x130b
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebx + 0x18], eax
test eax, eax
jne 0x1002ef60
cmp dword [ebx + 0x30], eax
je 0x1002ef53
push eax
push dword [ebx + 0x30]
call edi
cmp dword [ebx + 0x24], 0
je 0x1002ef7a
push 5
push dword [ebx + 0x24]
jmp 0x1002ef78
cmp dword [ebx + 0x24], 0
je 0x1002ef6d
push 0
push dword [ebx + 0x24]
call edi
cmp dword [ebx + 0x30], 0
je 0x1002ef7a
push 5
push dword [ebx + 0x30]
call edi
push esi
mov ecx, ebx
call fcn.1002f08f
xor edi, edi
inc edi
jmp 0x1002f07c
xor edi, edi
inc edi
cmp dword [ebp + 0x10], edi
jne 0x1002f07a
cmp dword [ebx + 0x10], edx
jne 0x1002f07a
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x14]
push eax
push 0
push 0x1328
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x1c]
call fcn.1002e42d
lea ecx, [ebx + 0x1c]
call fcn.1002e479
call fcn.10059698
test eax, eax
jne 0x1002f009
cmp dword [0x100ea384], edi
jne 0x1002f009
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x28]
call fcn.1002e42d
lea ecx, [ebx + 0x28]
call fcn.1002e479
mov dword [ebx + 0x10], edi
mov edi, dword [ebp - 0x18]
jmp 0x1002f07c
push esi
call fcn.10058c09
xor edi, edi
inc edi
pop ecx
cmp eax, 3
jne 0x1002f07c
lea ecx, [ebx + 0x1c]
cmp dword [ecx + 8], 0
je 0x1002f031
push dword [ecx + 8]
call fcn.10012c43
call fcn.10059698
test eax, eax
jne 0x1002f052
cmp dword [0x100ea384], edi
jne 0x1002f052
lea ecx, [ebx + 0x28]
cmp dword [ecx + 8], eax
je 0x1002f052
push dword [ecx + 8]
call fcn.10012c43
push 2
push esi
call dword [sym.imp.USER32.dll_EndDialog]
push esi
call fcn.1005b899
pop ecx
jmp 0x1002f07c
push 0x1f7
push dword [ebx + 4]
push dword [ebx + 8]
push esi
call fcn.1005a054
add esp, 0x10
jmp 0x1002f00c
mov edi, edx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10075551
leave
ret 0x10