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

Disassembly:
push ebp
push ebx
push edi
mov edx, 0x1e
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x50f5b4
mov edx, dword [esp + 0x8c]
lea ecx, [esp]
call fcn.0051f000
cmp dword [0x9ad7e8], 0
je 0x50f60b
push 0x736dc6
push 0x703bca
call fcn.005032dc
push str.595.28_841.89
push 0x703bca
call fcn.004ce44d
mov dword [0x9ac76c], 1
mov eax, dword [0x9ac76c]
jmp 0x50fd65
push dword [esp]
mov edx, 0x6fb198
pop ecx
call fcn.0051f5d0
je 0x50f679
push dword [0x9b3e20]
mov edx, 0x70a46e
push edx
call fcn.005597c0
push dword [0x9b3e20]
push dword [0x9b3e20]
push 0
push 9
call fcn.005565d0
pop eax
mov edx, str._ORIENTATION
push edx
call fcn.005597c0
push dword [0x9b3e20]
push dword [0x9b3e20]
push 0
push 1
call fcn.005565d0
pop eax
lea eax, [esp + 4]
push eax
call fcn.00559740
mov ebx, dword [0x9ae188]
cmp ebx, 2
je 0x50f690
cmp dword [esp + 0x88], 0
jne 0x50f690
jmp 0x50f697
mov eax, 1
jmp 0x50f699
xor eax, eax
and eax, eax
je 0x50f6c0
push 0
push dword [esp + 4]
mov eax, 0x6fb198
push eax
call fcn.00513c03
mov dword [0x9ac76c], eax
mov eax, dword [0x9ac76c]
jmp 0x50fd65
mov ebx, dword [0x9ae188]
cmp ebx, 1
jne 0x50f6fb
call fcn.00541033
mov dword [esp + 8], eax
push 0x6fb198
push dword [esp + 4]
mov eax, 0x6fb198
push eax
push dword [esp + 0x14]
call fcn.004d54d2
mov dword [0x9ac76c], eax
mov eax, dword [0x9ac76c]
jmp 0x50fd65
call fcn.00541033
mov dword [esp + 8], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov ebx, dword [esp + 8]
cmp ebx, 0xffffffff
jne 0x50f75c
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
push 0x10cc0001
mov eax, str.Print
push eax
push 0x17c
push 0x1c2
push 0xffff0001
push 0xffff0001
push 0xffffffff
call fcn.00540aad
mov dword [esp + 4], eax
jmp 0x50f7a1
push dword [esp + 8]
call fcn.005410ff
push eax
push 0x10cc0002
mov eax, str.Print
push eax
push 0x17c
push 0x1c2
push 0xffff0001
push 0xffff0001
push 0xffffffff
call fcn.00540ad0
mov dword [esp + 4], eax
push 1
push dword [esp + 0xc]
call fcn.005410d4
push dword [esp + 4]
call fcn.00540f14
mov dword [esp + 0x24], eax
push dword [esp + 4]
call fcn.00540e97
mov dword [esp + 0x28], eax
push dword [esp + 4]
call fcn.00540e32
push 0
push dword [esp + 8]
call fcn.005414ab
mov dword [esp + 0x2c], 0xc
mov dword [esp + 0x30], 0xc
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
add edi, edi
sub ebx, edi
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x24]
add ebx, 0xffffffc4
mov dword [esp + 0x38], ebx
push dword [0x9adc08]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 0xc
push 0xc
mov eax, str.Printer
push eax
push 0xffffffff
call fcn.004fbf9a
mov ebx, dword [esp + 0x2c]
add ebx, 0xc
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x2c]
add ebx, 0x14
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x34]
add ebx, 0xffffffe7
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x18]
add edi, edi
sub ebx, edi
mov dword [esp + 0x10], ebx
push 0x40010008
mov ebx, dword [esp + 0x10]
add ebx, 0xffffffe7
push ebx
mov eax, str.Printer
push eax
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push 0x270c
call fcn.00537c0b
push dword [0x9ad314]
push 0x270c
call fcn.00503408
mov ebx, dword [esp + 0x18]
add ebx, dword [esp + 0x10]
add ebx, 0xa
mov dword [esp + 0x18], ebx
mov eax, str.Preferences
push eax
push 0x16
push 0x4b
push dword [esp + 0x24]
push dword [esp + 0x24]
push 0x270d
call fcn.0052ebc0
mov ebx, dword [esp + 0x24]
add ebx, 0xffffffe3
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x28]
add ebx, 0xffffffaa
mov dword [esp + 0x14], ebx
mov eax, str.Cancel
push eax
push 0x16
push 0x4b
push dword [esp + 0x24]
push dword [esp + 0x24]
push 0x270f
call fcn.0052ebc0
push 1
mov eax, str.Print
push eax
push 0x16
push 0x4b
push dword [esp + 0x28]
mov ebx, dword [esp + 0x28]
add ebx, 0xffffffa9
push ebx
push 0x270e
call fcn.0052eadb
push 0x270e
push 0xd
push dword [esp + 0xc]
call fcn.00540f22
push 0x270f
push 0x1b
push dword [esp + 0xc]
call fcn.00540f22
push 0
mov eax, 0x6fb198
push eax
mov eax, 0x6fb198
push eax
call fcn.00513c03
mov edx, dword [0x9abef0]
push dword [0x9b3e20]
push edx
call fcn.005597c0
lea eax, [esp + 0x40]
push eax
call fcn.00559740
mov dword [esp + 0x40], 0xffffffff
mov ebx, dword [esp + 0x90]
and ebx, ebx
jne 0x50f997
call fcn.004d574d
mov dword [esp + 0x44], 0
mov ebp, 0x9803df
push ebp
push 0xffffffff
call fcn.00550974
mov dword [esp + 0x48], eax
push dword [esp + 0x48]
call fcn.0055079b
mov dword [esp + 0x4c], eax
push 6
call fcn.0051cc6a
and eax, eax
je 0x50fae7
call fcn.005007d1
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], 0
mov ebx, dword [esp + 0x54]
and ebx, ebx
jle 0x50fa8d
mov dword [esp + 0x1c], 0
jmp 0x50f9f9
mov ebx, dword [esp + 0x54]
dec ebx
cmp ebx, dword [esp + 0x1c]
jl 0x50fa8d
push dword [0x9b3e20]
push dword [esp + 0x20]
call fcn.004ca2b4
lea eax, [esp + 0x5c]
push eax
call fcn.00559740
push dword [0x9b3e20]
push dword [0x9b3e20]
mov eax, 0x6fe984
push eax
push 1
push dword [esp + 0x68]
call fcn.00556db0
lea eax, [esp + 0x5c]
push eax
call fcn.00559740
push dword [esp + 0x4c]
push dword [esp + 0x5c]
push 0xffffffff
push 0x270c
call fcn.005325ef
push dword [esp + 0x58]
mov edx, dword [esp + 0x40]
pop ecx
call fcn.0051f5d0
je 0x50fa83
push 0x270c
call fcn.0053026c
mov ebx, eax
dec ebx
mov dword [esp + 0x40], ebx
inc dword [esp + 0x1c]
jno 0x50f9f9
cmp dword [esp + 0x90], 0
je 0x50fad1
mov ebp, 0x98386e
push ebp
push 0xffffffff
call fcn.00550974
mov dword [esp + 0x48], eax
push dword [esp + 0x48]
call fcn.0055079b
mov dword [esp + 0x4c], eax
push dword [esp + 0x4c]
mov eax, str.Preview
push eax
push 0xffffffff
push 0x270c
call fcn.005325ef
mov ebx, dword [esp + 0x40]
and ebx, ebx
jl 0x50fae7
push dword [esp + 0x40]
push 0x270c
call fcn.00530d13
mov dword [0x9ac76c], 0
mov edx, 0x6fb198
lea ecx, [esp + 0x60]
call fcn.0051f008
push 0x270c
call fcn.00530d4b
call fcn.00541617
mov dword [esp + 0x64], eax
push 0
push dword [esp + 8]
call fcn.005414ab
mov dword [esp + 0x68], 0
mov ebx, dword [esp + 0x64]
cmp ebx, 0x333c
jne 0x50fb39
jmp 0x50fce0
mov ebx, dword [esp + 0x64]
cmp ebx, 0x332c
jne 0x50fb4e
call fcn.00543d16
mov dword [esp + 0x68], eax
mov ebx, dword [esp + 0x64]
cmp ebx, 0x332d
jne 0x50fb63
call fcn.00543d07
mov dword [esp + 0x68], eax
mov ebx, dword [esp + 0x68]
cmp ebx, 0x270f
jne 0x50fb74
jmp 0x50fce0
mov ebx, dword [esp + 0x68]
cmp ebx, 0x270c
jne 0x50fb94
call fcn.00543d43
mov ebx, eax
cmp ebx, 2
jne 0x50fb94
mov dword [esp + 0x68], 0x270e
mov ebx, dword [esp + 0x68]
cmp ebx, 0x270e
jne 0x50fbc5
push dword [0x9b3e20]
push dword [0x9b3e20]
push 0x270c
call fcn.0053196f
lea eax, [esp + 0x64]
push eax
call fcn.00559740
jmp 0x50fce0
mov ebx, dword [esp + 0x68]
cmp ebx, 0x270d
jne 0x50fcdb
push dword [0x9b3e20]
push dword [0x9b3e20]
push 0x270c
call fcn.0053196f
lea eax, [esp + 0x64]
push eax
call fcn.00559740
push dword [esp + 0x60]
mov edx, str.Preview
pop ecx
call fcn.0051f5d0
jne 0x50fccf
push 0x270c
call fcn.005302c7
mov dword [esp + 0x6c], eax
mov ebx, dword [esp + 0x6c]
and ebx, ebx
jl 0x50fccf
push dword [0x9b3e20]
push dword [0x9b3e20]
push 0
push dword [esp + 0x78]
push 0x270c
call fcn.0052edb0
lea eax, [esp + 0x78]
push eax
call fcn.00559740
push 0x10000001
mov eax, str.Print
push eax
push 0x1e0
push 0x230
push 0
push 0
push 0xffffffff
call fcn.00540aad
mov dword [esp + 0x20], eax
push 1
push dword [esp + 8]
call fcn.005410d4
push 0
mov eax, 0x6fb198
push eax
push dword [esp + 0x7c]
call fcn.00513c03
push 0x6fb198
push dword [esp + 0x24]
call fcn.004ed86b
call fcn.004d574d
push dword [esp + 0x20]
call fcn.005409a5
push 0
push dword [esp + 8]
call fcn.005410d4
push dword [esp + 4]
call fcn.00540e32
push 0x270c
call fcn.00530d4b
jmp 0x50fcdb
jmp 0x50fb09
push dword [esp + 4]
call fcn.005409a5
mov ebx, dword [esp + 8]
cmp ebx, 0xffffffff
je 0x50fd09
push 0
push dword [esp + 0xc]
call fcn.005410d4
push dword [esp + 8]
call fcn.00540e32
push dword [esp + 0x60]
call fcn.005565a0
mov dword [esp + 0x70], eax
mov ebx, dword [esp + 0x70]
and ebx, ebx
jle 0x50fd5c
push dword [esp + 0x60]
mov edx, str.Preview
pop ecx
call fcn.0051f5d0
je 0x50fd45
mov dword [0x9ad7e8], 1
mov dword [0x9ac76c], 1
jmp 0x50fd5c
push 0
push dword [esp + 4]
push dword [esp + 0x68]
call fcn.00513c03
mov dword [0x9ac76c], eax
mov eax, dword [0x9ac76c]
jmp 0x50fd65
push dword [esp + 0x74]
call fcn.00559820
push dword [esp + 0x58]
call fcn.00559820
push dword [esp]
call fcn.00559820
push dword [esp + 0x60]
call fcn.00559820
push dword [esp + 0x3c]
call fcn.00559820
add esp, 0x78
pop edi
pop ebx
pop ebp
ret 0xc