Function at 0x1110c899
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111e4ee6
mov eax, dword fs:[0]
push eax
sub esp, 0x854
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x844], esi
mov dword [ebp - 0x82c], eax
cmp dword [ebx + 0x244], edi
jne 0x1110d0a2
mov ecx, dword [ebx + 0x230]
push 0xf
push ecx
call sub.LIBHPDF.DLL_HPDF_SetCompressionMode
add esp, 8
cmp byte [ebx + 0x284], 0
je 0x1110cb25
lea ecx, [ebp - 0x860]
call fcn.1113dd30
lea ecx, [ebp - 0x840]
mov dword [ebp - 4], edi
call fcn.1113dd30
mov ecx, dword [ebx + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
push edi
lea eax, [ebp - 0x860]
push eax
push str.FontName
push 0x11218754
mov byte [ebp - 4], 1
call edx
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
push edi
lea edx, [ebp - 0x840]
push edx
push str.Encoding
push 0x11218754
call eax
mov dword [ebp - 0x830], edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetACP]
mov ecx, dword [ebx + 0x18]
push esi
push eax
push str.CodePage
push 0x11218754
call fcn.110bbc00
cmp byte [ebx + 0x285], 0
mov dword [ebp - 0x850], eax
mov dword [ebx + 0x238], eax
je 0x1110c9cb
cmp eax, 0x4e2
jl 0x1110c7f0
cmp eax, 0x4ea
jle 0x1110c9cb
add eax, 0xfffffc5c
cmp eax, 0x12
ja case.0x1110c805.933
movzx ecx, byte [eax + 0x1110d0d4]
jmp dword [ecx*4 + 0x1110d0c0]
mov edx, dword [ebx + 0x230]
push edx
call sub.LIBHPDF.DLL_HPDF_UseJPFonts
mov eax, dword [ebx + 0x230]
push eax
call sub.LIBHPDF.DLL_HPDF_UseJPEncodings
mov edi, str.90ms_RKSJ_H
mov dword [ebp - 0x830], str.MS_Mincyo
mov esi, str.MS_Mincyo_Bold
jmp 0x1110c8c5
mov ecx, dword [ebx + 0x230]
push ecx
call sub.LIBHPDF.DLL_HPDF_UseCNSFonts
mov edx, dword [ebx + 0x230]
push edx
call sub.LIBHPDF.DLL_HPDF_UseCNSEncodings
mov edi, str.GB_EUC_H
mov dword [ebp - 0x830], str.SimSun
mov esi, str.SimSun_Bold
jmp 0x1110c8c5
mov eax, dword [ebx + 0x230]
push eax
call sub.LIBHPDF.DLL_HPDF_UseCNTFonts
mov ecx, dword [ebx + 0x230]
push ecx
call sub.LIBHPDF.DLL_HPDF_UseCNTEncodings
mov edi, str.ETen_B5_H
mov dword [ebp - 0x830], str.MingLiU
mov esi, str.MingLiU_Bold
jmp 0x1110c8c5
mov edx, dword [ebx + 0x230]
push edx
call sub.LIBHPDF.DLL_HPDF_UseKRFonts
mov eax, dword [ebx + 0x230]
push eax
call sub.LIBHPDF.DLL_HPDF_UseKREncodings
mov edi, str.KSC_EUC_H
mov dword [ebp - 0x830], str.Dotum
mov esi, str.Dotum_Bold
add esp, 8
mov edx, dword [ebp - 0x860]
mov eax, dword [edx]
lea ecx, [ebp - 0x860]
call eax
test al, al
jne 0x1110c8f3
push 0x266
push str.e:_nsmsrc_nsm14101410fctl32NSMString.h
push str.IsA__
call fcn.11067750
add esp, 0xc
mov ecx, dword [ebp - 0x854]
cmp word [ecx], 0
je 0x1110c962
push 0
push 0x40
lea edx, [ebp - 0x90]
push edx
lea ecx, [ebp - 0x860]
call fcn.1102f630
push eax
call fcn.111b7fb0
lea eax, [ebp - 0x90]
add esp, 0x10
mov dword [ebp - 0x830], eax
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x90]
mov byte [ebp + eax - 0x50], cl
inc eax
test cl, cl
jne 0x1110c930
lea eax, [ebp - 0x50]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1110c944
mov ecx, dword [str._Bold]
mov dx, word [0x11223064]
mov dword [eax], ecx
mov word [eax + 4], dx
lea esi, [ebp - 0x50]
mov eax, dword [ebp - 0x840]
mov edx, dword [eax]
lea ecx, [ebp - 0x840]
call edx
test al, al
jne 0x1110c98d
push 0x266
push str.e:_nsmsrc_nsm14101410fctl32NSMString.h
push str.IsA__
call fcn.11067750
add esp, 0xc
mov eax, dword [ebp - 0x834]
cmp word [eax], 0
je 0x1110c9c3
push 0
push 0x40
lea ecx, [ebp - 0xd0]
push ecx
lea ecx, [ebp - 0x840]
call fcn.1102f630
push eax
call fcn.111b7fb0
add esp, 0x10
lea edi, [ebp - 0xd0]
jmp 0x1110cac9
test edi, edi
jne 0x1110cac9
lea edx, [ebp - 0x3a0]
push edx
push 0
push 0
push 0x14
push 0
call dword [sym.imp.SHFOLDER.dll_SHGetFolderPathW]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x3a0]
push eax
lea ecx, [ebp - 0x5a8]
push str._s_arial.ttf
push ecx
call esi
lea edx, [ebp - 0x3a0]
push edx
lea eax, [ebp - 0x7b0]
push str._s_arialbd.ttf
push eax
call esi
add esp, 0x18
push 0
lea ecx, [ebp - 0x5a8]
push ecx
lea ecx, [ebp - 0x84c]
call fcn.111b81d0
fld dword [ebx + 0x288]
mov esi, dword [eax]
call fcn.111d9130
mov edx, dword [ebx + 0x230]
push eax
push esi
push edx
call sub.LIBHPDF.DLL_HPDF_LoadTTFontFromFile
add esp, 0xc
lea ecx, [ebp - 0x84c]
mov dword [ebp - 0x830], eax
call fcn.11063000
push 0
lea eax, [ebp - 0x7b0]
push eax
lea ecx, [ebp - 0x848]
call fcn.111b81d0
fld dword [ebx + 0x288]
mov esi, dword [eax]
call fcn.111d9130
mov ecx, dword [ebx + 0x230]
push eax
push esi
push ecx
call sub.LIBHPDF.DLL_HPDF_LoadTTFontFromFile
add esp, 0xc
lea ecx, [ebp - 0x848]
mov esi, eax
call fcn.11063000
mov eax, dword [ebp - 0x850]
lea edx, [eax - 0x4e2]
cmp edx, 8
ja 0x1110cac4
push eax
lea eax, [ebp - 0x814]
push str.CP_d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edi, [ebp - 0x814]
jmp 0x1110cac9
mov edi, str.CP1252
mov ecx, dword [ebp - 0x830]
mov edx, dword [ebx + 0x230]
push edi
push ecx
push edx
call sub.LIBHPDF.DLL_HPDF_GetFont
push edi
mov dword [ebx + 0x240], eax
mov eax, dword [ebx + 0x230]
push esi
push eax
call sub.LIBHPDF.DLL_HPDF_GetFont
add esp, 0x18
lea ecx, [ebp - 0x840]
mov dword [ebx + 0x23c], eax
mov byte [ebp - 4], 0
call fcn.1113cd80
lea ecx, [ebp - 0x860]
mov dword [ebp - 4], 0xffffffff
call fcn.1113cd80
mov esi, dword [ebp - 0x844]
xor edi, edi
jmp 0x1110cb58
mov ecx, dword [ebx + 0x230]
push edi
push str.Helvetica
push ecx
call sub.LIBHPDF.DLL_HPDF_GetFont
mov edx, dword [ebx + 0x230]
push edi
push str.Helvetica_Bold
push edx
mov dword [ebx + 0x240], eax
call sub.LIBHPDF.DLL_HPDF_GetFont
add esp, 0x18
mov dword [ebx + 0x23c], eax
push edi
lea eax, [ebp - 0x198]
push 0xc8
push eax
call fcn.111b8750
push eax
call fcn.111b7fb0
mov edx, dword [ebx + 0x230]
lea ecx, [ebp - 0x198]
push ecx
push 3
push edx
call sub.LIBHPDF.DLL_HPDF_SetInfoAttr
mov ecx, dword [ebx + 0x230]
lea eax, [ebp - 0x198]
push eax
push 4
push ecx
call sub.LIBHPDF.DLL_HPDF_SetInfoAttr
mov edx, dword [esi]
mov eax, dword [edx]
add esp, 0x28
mov ecx, esi
call eax
test al, al
jne 0x1110cbc0
push 0x261
push str.e:_nsmsrc_nsm14101410fctl32NSMString.h
push str.IsA__
call fcn.11067750
add esp, 0xc
lea ecx, [ebp - 0x7cc]
push ecx
mov ecx, dword [esi + 0xc]
lea edx, [ebp - 0x7d0]
push edx
lea eax, [ebp - 0x7d4]
push eax
push str.DATE_d__d__d
push ecx
call dword [sym.imp.MSVCR100.dll_swscanf]
mov esi, dword [ebp - 0x82c]
mov edx, dword [esi]
mov eax, dword [edx]
add esp, 0x14
mov ecx, esi
call eax
test al, al
jne 0x1110cc10
push 0x261
push str.e:_nsmsrc_nsm14101410fctl32NSMString.h
push str.IsA__
call fcn.11067750
add esp, 0xc
lea ecx, [ebp - 0x7c0]
push ecx
mov ecx, dword [esi + 0xc]
lea edx, [ebp - 0x7c4]
push edx
lea eax, [ebp - 0x7c8]
push eax
push str.TIME_d:_d:_d
push ecx
call dword [sym.imp.MSVCR100.dll_swscanf]
mov edx, dword [ebx + 0x230]
sub esp, 0x10
mov dword [ebp - 0x7b8], edi
mov dword [ebp - 0x7b4], edi
mov edi, esp
push 0
mov byte [ebp - 0x7bc], 0x20
mov ecx, 9
lea esi, [ebp - 0x7d4]
push edx
rep movsd dword es:[edi], dword [esi]
call sub.LIBHPDF.DLL_HPDF_SetInfoDateAttr
mov ecx, dword [ebx + 0x18]
fld dword [ebx + 0x268]
add esp, 0x2c
fld qword [str.333333]
push 0
fmul st(1), st(0)
push 0
fxch st(1)
push str.PageSize
push 0x11218754
fstp dword [ebx + 0x274]
fld dword [ebx + 0x26c]
fmul st(1)
fstp dword [ebx + 0x278]
fmul dword [ebx + 0x270]
fstp dword [ebp - 0x82c]
fld dword [ebp - 0x82c]
fst dword [ebx + 0x27c]
fadd st(0), st(0)
fadd dword [ebx + 0x264]
fstp dword [ebx + 0x264]
call fcn.110bbc00
mov dword [ebx + 0x280], eax
test eax, eax
jne 0x1110cd8f
push 0x54
push eax
lea eax, [ebp - 0x828]
push eax
call sub.MSVCR100.dll_memset
mov ecx, dword [0x1127d368]
mov dword [ebp - 0x828], 0x54
mov dword [ebp - 0x818], 0x480
mov dword [ebp - 0x830], 0
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
add esp, 0xc
lea eax, [ebp - 0x830]
push eax
call edx
lea eax, [ebp - 0x828]
push eax
call dword [sym.imp.COMDLG32.dll_PageSetupDlgW]
test eax, eax
je 0x1110cd7b
mov ecx, dword [ebp - 0x820]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
movsx ecx, word [eax + 0x4e]
dec ecx
je 0x1110cd52
sub ecx, 8
jne 0x1110cd5c
mov dword [ebx + 0x280], 1
jmp 0x1110cd5c
mov dword [ebx + 0x280], 2
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp - 0x820]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
push edx
call esi
mov eax, dword [ebp - 0x81c]
push eax
call esi
mov ecx, dword [0x1127d368]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x830]
mov edx, dword [edx + 0x18]
push eax
call edx
mov ecx, ebx
call fcn.1110c650
mov eax, dword [ebx + 0x234]
push eax
call sub.LIBHPDF.DLL_HPDF_Page_BeginText
fld dword [ebx + 0x26c]
fadd qword [0x111f86b8]
mov ecx, dword [ebx + 0x23c]
mov edx, dword [ebx + 0x234]
fstp dword [ebp - 0x82c]
fld dword [ebp - 0x82c]
fstp dword [esp]
push ecx
push edx
call sub.LIBHPDF.DLL_HPDF_Page_SetFontAndSize
fld dword [ebx + 0x24c]
mov eax, dword [ebx + 0x234]
fstp dword [ebp - 0x840]
push eax
call sub.LIBHPDF.DLL_HPDF_Page_GetWidth
fsub dword [ebx + 0x258]
mov edx, dword [ebx + 4]
mov eax, dword [edx]
fstp dword [ebp - 0x838]
add esp, 0x10
fld dword [ebx + 0x264]
lea ecx, [ebx + 4]
fstp dword [ebp - 0x83c]
fld dword [ebx + 0x250]
fstp dword [ebp - 0x834]
call eax
test al, al
jne 0x1110ce34
push 0x266
push str.e:_nsmsrc_nsm14101410fctl32NSMString.h
push str.IsA__
call fcn.11067750
add esp, 0xc
mov ecx, dword [ebx + 0x238]
mov edx, dword [ebx + 0x10]
push ecx
push edx
lea ecx, [ebp - 0x82c]
call fcn.111b81d0
fld dword [ebp - 0x83c]
mov eax, dword [eax]
mov ecx, dword [ebx + 0x234]
push 0
push 2
push eax
sub esp, 0x10
fstp dword [esp + 0xc]
fld dword [ebp - 0x838]
fstp dword [esp + 8]
fld dword [ebp - 0x834]
fstp dword [esp + 4]
fld dword [ebp - 0x840]
fstp dword [esp]
push ecx
call sub.LIBHPDF.DLL_HPDF_Page_TextRect
add esp, 0x20
lea ecx, [ebp - 0x82c]
call fcn.11063000
mov ecx, dword [0x1127d368]
call fcn.11107ed0
cmp eax, 1
jle 0x1110cfdb
fld dword [ebp - 0x838]
mov esi, dword [sym.imp.MSVCR100.dll__swprintf]
sub esp, 0x10
fstp qword [esp + 8]
lea edx, [ebp - 0x530]
fld dword [ebp - 0x834]
fstp qword [esp]
push str.tp_.2f__rt_.2f
push edx
call esi
mov eax, dword [ebx + 0x238]
add esp, 0x18
push eax
lea ecx, [ebp - 0x530]
push ecx
lea ecx, [ebp - 0x82c]
call fcn.111b81d0
fld dword [ebp - 0x83c]
mov edx, dword [eax]
mov eax, dword [ebx + 0x234]
push 0
push 1
push edx
sub esp, 0x10
fstp dword [esp + 0xc]
fld dword [ebp - 0x838]
fstp dword [esp + 8]
fld dword [ebp - 0x834]
fstp dword [esp + 4]
fld dword [ebp - 0x840]
fstp dword [esp]
push eax
call sub.LIBHPDF.DLL_HPDF_Page_TextRect
add esp, 0x20
lea ecx, [ebp - 0x82c]
call fcn.11063000
mov ecx, dword [ebx + 0x234]
push ecx
call sub.LIBHPDF.DLL_HPDF_Page_GetWidth
fdiv qword [0x11222780]
mov edx, dword [ebx + 0x234]
push ecx
fstp qword [esp]
push edx
call sub.LIBHPDF.DLL_HPDF_Page_GetHeight
fdiv qword [0x11222780]
push ecx
lea eax, [ebp - 0x328]
fstp qword [esp]
push str.ht_.2f__wd_.2f
push eax
call esi
mov ecx, dword [ebx + 0x238]
add esp, 0x18
push ecx
lea edx, [ebp - 0x328]
push edx
lea ecx, [ebp - 0x82c]
call fcn.111b81d0
fld dword [ebp - 0x83c]
mov eax, dword [eax]
mov ecx, dword [ebx + 0x234]
push 0
push 0
push eax
sub esp, 0x10
fstp dword [esp + 0xc]
fld dword [ebp - 0x838]
fstp dword [esp + 8]
fld dword [ebp - 0x834]
fstp dword [esp + 4]
fld dword [ebp - 0x840]
fstp dword [esp]
push ecx
call sub.LIBHPDF.DLL_HPDF_Page_TextRect
add esp, 0x20
lea ecx, [ebp - 0x82c]
call fcn.11063000
fld dword [ebx + 0x250]
mov edx, dword [ebx + 0x234]
fld dword [ebx + 0x26c]
push edx
fmul qword [str.333333]
fsubp st(1)
fstp dword [ebp - 0x82c]
fld dword [ebp - 0x82c]
fsub dword [ebx + 0x274]
fstp dword [ebx + 0x250]
call sub.LIBHPDF.DLL_HPDF_Page_EndText
mov eax, dword [ebx + 0x238]
add esp, 4
push eax
push 0x368
call fcn.111bccb0
add esp, 4
push eax
lea ecx, [ebp - 0x844]
call fcn.111b81d0
mov eax, dword [eax]
mov ecx, dword [ebx + 0x230]
push 0
push eax
push 0
push ecx
call sub.LIBHPDF.DLL_HPDF_CreateOutline
add esp, 0x10
lea ecx, [ebp - 0x844]
mov dword [ebx + 0x254], eax
call fcn.11063000
mov edx, dword [ebx + 0x254]
push 1
push edx
call sub.LIBHPDF.DLL_HPDF_Outline_SetOpened
mov eax, dword [ebx + 0x234]
push eax
call sub.LIBHPDF.DLL_HPDF_Page_CreateDestination
mov ecx, dword [ebx + 0x234]
push ecx
mov esi, eax
call sub.LIBHPDF.DLL_HPDF_Page_GetHeight
fstp dword [esp + 0xc]
add esp, 0xc
push esi
call sub.LIBHPDF.DLL_HPDF_Destination_SetFitH
mov edx, dword [ebx + 0x254]
push esi
push edx
call sub.LIBHPDF.DLL_HPDF_Outline_SetDestination
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret 8