Function at 0x1025bc8
Capabilities:
Hide graphical window

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x1a0
push ebx
push esi
xor esi, esi
cmp dword [0x1037d34], esi
push edi
jne 0x1025fc8
call fcn.0101c19b
mov eax, dword [0x1039560]
cmp eax, esi
je 0x1025c01
push 0x13
push esi
push esi
push esi
push esi
push 0xfffffffffffffffe
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [0x1039534], esi
je 0x1025c27
mov edi, dword [ebp + 0x7c]
push 3
push edi
push esi
call fcn.01018491
mov ebx, eax
cmp ebx, esi
jne 0x1025c53
mov dword [ebp + 0x70], 1
jmp 0x1025ee3
xor ebx, ebx
call fcn.01025af3
cmp eax, esi
mov dword [0x10378dc], eax
je 0x1025ed9
push 3
push dword [ebp + 0x7c]
push esi
call fcn.01018491
mov ebx, eax
cmp ebx, esi
je 0x1025ed9
mov edi, dword [ebp + 0x7c]
mov eax, dword [0x10378dc]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push eax
mov dword [ebx + 4], eax
call esi
push 0x5a
push dword [0x10378dc]
mov dword [ebx + 0x68], eax
mov dword [0x10399cc], eax
call esi
push 0xc
push dword [0x10378dc]
mov dword [ebx + 0x6c], eax
mov dword [0x10399c8], eax
call esi
push 0xe
push dword [0x10378dc]
mov dword [0x10399c4], eax
call esi
mov dword [0x10399c0], eax
mov eax, dword [edi + 8]
mov dword [ebx + 8], eax
xor eax, eax
cmp dword [ebx + 0x48], eax
je 0x1025cc8
push 0x64
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x64], eax
pop eax
mov dword [ebp + 0x6c], eax
mov dword [ebp + 0x68], eax
push 1
lea eax, [ebp + 0x60]
push eax
push ebx
call fcn.01017f55
xor eax, eax
cmp dword [0x1039534], eax
jne 0x1025d14
push eax
mov eax, dword [0x1039478]
push 0x10257b5
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x1039580]
push 0x38c
push dword [0x10394c8]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
test eax, eax
mov dword [0x10394a0], eax
jne 0x1025d0d
mov dword [ebp + 0x70], 0xfffffffb
jmp 0x1025ee9
and dword [0x1039520], 0
call fcn.010214c6
push 0x100
lea eax, [ebp - 0x12c]
push eax
push ebx
call fcn.01025012
lea eax, [ebp - 0x12c]
push eax
push 0xb
call fcn.01021676
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
push 3
push dword [0x10394a0]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 5
push dword [0x10394a0]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x10394a0]
call dword [sym.imp.USER32.dll_UpdateWindow]
lea eax, [ebp + 0x4c]
push eax
push 0
push 0
push 0xc
push dword [ebx + 4]
call dword [sym.imp.GDI32.dll_Escape]
push 0x58
push dword [ebx + 4]
call esi
mov ecx, dword [ebp + 0x4c]
sub ecx, eax
push 0x5a
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x68], ecx
push dword [ebx + 4]
call esi
mov ecx, dword [ebp + 0x50]
mov dword [ebp + 0x64], eax
sub ecx, eax
mov dword [ebp + 0x6c], ecx
lea edi, [ebx + 0x10]
lea esi, [ebp + 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp + 0x5c], eax
movsd dword es:[edi], dword [esi]
call fcn.0101c1c2
push 0x10257fe
push dword [ebx + 4]
call dword [sym.imp.GDI32.dll_SetAbortProc]
xor eax, eax
lea edi, [ebp + 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
mov dword [ebp + 0x3c], eax
lea eax, [ebp + 0x38]
push eax
mov dword [ebp + 0x38], 0x14
push dword [ebx + 4]
call dword [sym.imp.GDI32.dll_StartDocA]
push 1
xor esi, esi
push esi
push ebx
mov dword [ebp + 0x70], eax
mov dword [0x10378d8], esi
call fcn.010251a9
test eax, eax
je 0x1025e64
cmp dword [ebp + 0x70], esi
jle 0x1025ee0
cmp dword [0x1039520], esi
jne 0x1025e64
push 1
lea eax, [ebp + 0x54]
push eax
push ebx
call fcn.010251a9
lea eax, [ebp + 0x54]
push eax
push esi
push 1
push ebx
call fcn.0102098c
lea eax, [ebp + 0x70]
push eax
push dword [ebp + 0x5c]
lea esi, [ebp + 0x60]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
mov edi, ebx
call fcn.01025860
mov ecx, dword [ebp + 0x64]
lea eax, [ecx + eax + 1]
mov dword [ebp + 0x64], eax
push 0
lea eax, [ebp + 0x60]
push eax
push ebx
call fcn.01017f55
xor esi, esi
cmp dword [ebp + 0x70], esi
jle 0x1025ee0
cmp dword [0x1039520], esi
jne 0x1025ec1
push esi
push esi
push ebx
call fcn.010251a9
test eax, eax
je 0x1025eb5
push esi
lea eax, [ebp + 0x54]
push eax
push ebx
call fcn.010251a9
lea eax, [ebp + 0x54]
push eax
push esi
push 1
push ebx
call fcn.0102098c
lea eax, [ebp + 0x70]
push eax
push dword [ebp + 0x5c]
lea esi, [ebp + 0x60]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 1
mov edi, ebx
call fcn.01025860
xor esi, esi
jmp 0x1025ec1
push dword [ebx + 4]
call dword [sym.imp.GDI32.dll_EndPage]
mov dword [ebp + 0x70], eax
cmp dword [ebp + 0x70], esi
jle 0x1025ee0
cmp dword [0x1039520], esi
jne 0x1025ee0
push dword [ebx + 4]
call dword [sym.imp.GDI32.dll_EndDoc]
jmp 0x1025ee0
mov dword [ebp + 0x70], 1
mov edi, dword [ebp + 0x7c]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
cmp dword [0x1039534], 0
jne 0x1025f46
mov eax, dword [0x10378dc]
test eax, eax
je 0x1025f09
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
and dword [0x10378dc], 0
test ebx, ebx
je 0x1025f13
push ebx
call fcn.010181f4
mov eax, dword [0x10394a0]
test eax, eax
je 0x1025f2c
push 0
push 2
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x1039560]
xor ecx, ecx
cmp eax, ecx
je 0x1025f46
push 0x13
push ecx
push ecx
push ecx
push ecx
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
test edi, edi
je 0x1025f7a
push 0x58
push dword [edi + 4]
call esi
push 0x5a
mov dword [0x10399cc], eax
push dword [edi + 4]
call esi
push 0xc
mov dword [0x10399c8], eax
push dword [edi + 4]
call esi
push 0xe
mov dword [0x10399c4], eax
push dword [edi + 4]
call esi
mov dword [0x10399c0], eax
call fcn.01026376
xor esi, esi
cmp dword [0x1037d34], esi
je 0x1025f93
call fcn.0101a610
xor eax, eax
inc eax
jmp 0x1025fca
cmp dword [0x1039534], esi
je 0x1025fd4
cmp dword [ebp + 0x70], esi
jl 0x1025fa8
cmp dword [0x1039520], esi
je 0x1025fd4
mov dword [0x1039534], esi
call fcn.01021481
cmp dword [ebp + 0x70], 0xffffffff
je 0x1025fd4
cmp dword [ebp + 0x70], 0xfffffffb
jne 0x1025fc8
push 1
push 2
call fcn.01024353
xor eax, eax
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret 4
cmp dword [ebp + 0x70], 0xfffffffb
je 0x1025fbf
cmp dword [ebp + 0x70], 0xffffffff
je 0x1025fef
cmp dword [0x1039534], esi
je 0x1025f8e
call fcn.01021481
jmp 0x1025f8e
cmp dword [0x1039520], esi
jne 0x1025fc8
push 1
push 0xc
jmp 0x1025fc3