Function at 0x48e320
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x57c870]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x130], 1
mov dword [ebp - 0x134], 0x56d88c
push str.dyned_prn.txt
push 0x5c5ed8
push 0x56d8b4
push 0x71d320
call fcn.00532706
add esp, 0x10
mov dword [0x5fa358], 1
mov dword [0x71d5a0], 0x42
mov eax, dword [0x60137c]
mov dword [0x71d5a4], eax
mov dword [0x71d5a8], 0
mov dword [0x71d5ac], 0
mov dword [0x71d5b4], 0x180104
mov ecx, 1
mov word [0x71d5c0], cx
mov edx, dword [0x71d314]
push edx
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [0x71d544], eax
call fcn.0048e8d0
mov dword [0x71d310], eax
cmp dword [0x71d310], 0
jne 0x48e3f3
mov dword [0x601388], 0
mov dword [0x601390], 0
mov dword [0x601398], 0
jmp 0x48e8bf
mov dword [0x71d30c], 0x48ea70
mov dword [0x71d300], 0x48e9f0
mov eax, dword [0x71d300]
push eax
mov ecx, dword [0x71d310]
push ecx
call dword [sym.imp.GDI32.dll_SetAbortProc]
mov dword [ebp - 0x124], 0x14
mov edx, dword [ebp - 0x134]
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
lea eax, [ebp - 0x124]
push eax
mov ecx, dword [0x71d310]
push ecx
call dword [sym.imp.GDI32.dll_StartDocA]
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
jg 0x48e4b8
cmp dword [ebp - 0x12c], 0xfffffffe
je 0x48e4a7
mov dword [0x5fa35c], 1
push 0x1010
push 0
push 0x56d8bc
mov edx, dword [0x60137c]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [0x5fa35c], 0
mov eax, dword [0x71d310]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x48e8bf
mov dword [0x71d304], 0
push 0
mov ecx, dword [0x71d30c]
push ecx
mov edx, dword [0x60137c]
push edx
push 0x56d8c8
mov eax, dword [0x6013e4]
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [0x71d540], eax
cmp dword [0x71d540], 0
jne 0x48e530
mov ecx, dword [0x71d544]
push ecx
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [0x5fa35c], 1
push 0x1010
push 0
push 0x56d8d4
mov edx, dword [0x60137c]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [0x5fa35c], 0
jmp 0x48e8bf
push 1
mov eax, dword [0x71d540]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, dword [0x60137c]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [0x71d544]
push edx
call dword [sym.imp.USER32.dll_SetCursor]
push 1
call fcn.0048e060
add esp, 4
push 0x71d560
mov eax, dword [0x71d310]
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov ecx, dword [0x71d560]
sub ecx, dword [0x71d56c]
mov dword [0x71d420], ecx
push 6
mov edx, dword [0x71d310]
push edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [0x71d424], eax
push 0x5a
mov eax, dword [0x71d310]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [0x71d424], eax
push 0x2a
mov ecx, dword [0x71d310]
push ecx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [0x71d424], eax
push 0xa
mov edx, dword [0x71d310]
push edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [0x71d424], eax
mov eax, dword [0x71d424]
cdq
idiv dword [0x71d420]
sub eax, 1
mov dword [0x71d318], eax
mov eax, dword [0x71d318]
sub eax, 5
mov dword [0x71d318], eax
mov dword [0x71d308], 1
mov ecx, dword [0x71d310]
push ecx
call dword [sym.imp.GDI32.dll_StartPage]
push 0x56d8e0
push 0x71d320
call fcn.0042eaa0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x48e83c
mov dword [0x71d54c], 1
mov dword [ebp - 4], 1
jmp 0x48e649
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [0x5f4288]
jg 0x48e6c0
cmp dword [ebp - 4], 1
jne 0x48e664
push 2
call fcn.0048e060
add esp, 4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*4 + 0x1070da0]
push edx
call fcn.00532e80
add esp, 4
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax*4 + 0x1070da0]
push ecx
mov edx, dword [0x71d308]
imul edx, dword [0x71d420]
push edx
push 0
mov eax, dword [0x71d310]
push eax
call dword [sym.imp.GDI32.dll_TextOutA]
cmp dword [ebp - 4], 1
jne 0x48e6af
push 1
call fcn.0048e060
add esp, 4
mov ecx, dword [0x71d308]
add ecx, 1
mov dword [0x71d308], ecx
jmp 0x48e640
mov byte [ebp - 0x110], 0
mov edx, dword [ebp - 8]
push edx
push 0xff
lea eax, [ebp - 0x110]
push eax
call fcn.0053516e
add esp, 0xc
push 0x56d8e4
lea ecx, [ebp - 0x110]
push ecx
call fcn.00532cf4
add esp, 8
push 0x56d8e8
push 0x71d440
call fcn.00532580
add esp, 8
lea edx, [ebp - 0x110]
push edx
push 0x71d440
call fcn.00532590
add esp, 8
push 0x71d440
call fcn.00532e80
add esp, 4
mov dword [0x71d548], eax
movsx eax, byte [0x71d443]
cmp eax, 0x2b
je 0x48e743
movsx ecx, byte [0x71d443]
cmp ecx, 0x2d
jne 0x48e74d
push 3
call fcn.0048e060
add esp, 4
movsx edx, byte [0x71d445]
cmp edx, 0x2b
je 0x48e765
movsx eax, byte [0x71d445]
cmp eax, 0x2d
jne 0x48e76f
push 4
call fcn.0048e060
add esp, 4
mov ecx, dword [0x71d548]
push ecx
push 0x71d440
mov edx, dword [0x71d308]
imul edx, dword [0x71d420]
push edx
push 0
mov eax, dword [0x71d310]
push eax
call dword [sym.imp.GDI32.dll_TextOutA]
mov dword [ebp - 0x128], eax
movsx ecx, byte [0x71d443]
cmp ecx, 0x2b
je 0x48e7cd
movsx edx, byte [0x71d443]
cmp edx, 0x2d
je 0x48e7cd
movsx eax, byte [0x71d445]
cmp eax, 0x2b
je 0x48e7cd
movsx ecx, byte [0x71d445]
cmp ecx, 0x2d
jne 0x48e7d7
push 1
call fcn.0048e060
add esp, 4
cmp dword [ebp - 0x130], 1
jne 0x48e7f4
push 1
call fcn.0048e060
add esp, 4
mov dword [ebp - 0x130], 0
mov edx, dword [0x71d308]
add edx, 1
mov dword [0x71d308], edx
mov eax, dword [0x71d308]
cmp eax, dword [0x71d318]
jle 0x48e81c
call fcn.0048e1d0
cmp eax, 1
jne 0x48e81c
jmp 0x48e830
mov ecx, dword [ebp - 8]
push ecx
call fcn.00534efc
add esp, 4
test eax, eax
je 0x48e6c0
mov edx, dword [ebp - 8]
push edx
call fcn.00431d50
add esp, 4
push 0
call fcn.0048e060
add esp, 4
cmp dword [0x71d54c], 0
jle 0x48e871
cmp dword [0x71d304], 0
jne 0x48e871
mov eax, dword [0x71d310]
push eax
call dword [sym.imp.GDI32.dll_EndPage]
mov ecx, dword [0x71d310]
push ecx
call dword [sym.imp.GDI32.dll_EndDoc]
push 1
mov edx, dword [0x60137c]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [0x71d540]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [0x71d310]
push ecx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [0x601398], 0
mov dword [0x60139c], 0
call fcn.00483eb0
fstp dword [0x5fda3c]
mov dword [ebp + 8], 0
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00532783
mov esp, ebp
pop ebp
ret