Function at 0x110a0e40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11184cbb
mov eax, dword fs:[0]
push eax
sub esp, 0x4ac
mov eax, dword [0x111ec774]
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 eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, esi
mov dword [ebp - 0x4b0], esi
call fcn.1109f7d0
mov ecx, dword [esi + 0x18]
push 0
push 1
push 0x111a7130
push 0x111a0f84
mov dword [ebp - 4], 0
mov dword [esi], 0x111a70f4
call fcn.1105e820
dec eax
je 0x110a0eb7
dec eax
jne 0x110a0ebe
lea ebx, [eax + 1]
jmp 0x110a0ec4
mov ebx, 3
jmp 0x110a0ec4
mov ebx, dword [ebp - 0x4b0]
push 0x190
lea edx, [ebp - 0x2a4]
push edx
push 6
mov dword [esi + 0x138], 0xc
call fcn.1102ad70
add esp, 4
push eax
call fcn.111434a0
mov eax, dword [esi + 4]
mov edx, dword [eax]
add esp, 0xc
lea ecx, [esi + 4]
call edx
test al, al
jne 0x110a0f12
push 0x250
push 0x11195b24
push 0x11195b1c
call fcn.11029a70
add esp, 0xc
mov ecx, dword [esi + 0x10]
push 0x208
lea eax, [ebp - 0x4ac]
push eax
push ecx
call fcn.111434a0
mov ecx, dword [esi + 0x138]
lea edx, [ebp - 0x2a4]
push edx
lea eax, [ebp - 0x4ac]
push eax
push ecx
lea edi, [esi + 0x13c]
push ebx
push edi
call dword [sym.imp.WxPdf.dll_CreatePDFWriter]
mov ecx, dword [esi + 0x18]
add esp, 0x20
push 0
push 0xf
push 0x1119c198
push 0x111a0f84
call fcn.1105e820
mov ecx, dword [esi + 0x18]
push 0
push 0xf
push 0x1119c18c
push 0x111a0f84
mov dword [ebp - 0x4b8], eax
call fcn.1105e820
mov ecx, dword [esi + 0x18]
push 0
push 0xf
push 0x1119c1a4
push 0x111a0f84
mov dword [ebp - 0x4b4], eax
call fcn.1105e820
mov edx, dword [edi]
push edx
mov dword [ebp - 0x4b0], eax
call dword [sym.imp.WxPdf.dll_GetPageWidth]
fisub dword [ebp - 0x4b4]
mov eax, dword [edi]
push ecx
fstp qword [esp]
push eax
call dword [sym.imp.WxPdf.dll_SetRightMargin]
fild dword [ebp - 0x4b8]
mov ecx, dword [edi]
add esp, 4
fstp qword [esp]
push ecx
call dword [sym.imp.WxPdf.dll_SetLeftMargin]
fild dword [ebp - 0x4b0]
mov edx, dword [edi]
add esp, 4
fstp qword [esp]
push edx
call dword [sym.imp.WxPdf.dll_SetTopMargin]
mov ebx, dword [sym.imp.ShELL32.dll_SHGetSpecialFolderPathA]
add esp, 0xc
push 0
push 0x14
lea eax, [ebp - 0x114]
push eax
push 0
call ebx
lea eax, [ebp - 0x114]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x110a1006
mov ecx, dword [0x111a70e4]
mov edx, dword [0x111a70e8]
mov dword [eax], ecx
mov cx, word [0x111a70ec]
mov dword [eax + 4], edx
mov dl, byte [0x111a70ee]
mov word [eax + 8], cx
mov ecx, dword [edi]
mov byte [eax + 0xa], dl
lea eax, [ebp - 0x114]
push eax
push 0x111a70d8
push ecx
call dword [sym.imp.WxPdf.dll_AddFont]
add esp, 0xc
push 0
push 0x14
lea edx, [ebp - 0x114]
push edx
push 0
call ebx
lea eax, [ebp - 0x114]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x110a1061
mov ecx, dword [0x111a70c8]
mov edx, dword [0x111a70cc]
mov dword [eax], ecx
mov ecx, dword [0x111a70d0]
mov dword [eax + 4], edx
mov dl, byte [0x111a70d4]
mov dword [eax + 8], ecx
mov ecx, dword [edi]
mov byte [eax + 0xc], dl
lea eax, [ebp - 0x114]
push eax
push 0x111a70bc
push ecx
call dword [sym.imp.WxPdf.dll_AddFont]
mov edx, dword [edi]
push edx
call dword [sym.imp.WxPdf.dll_AddPage]
mov eax, dword [edi]
push eax
call dword [sym.imp.WxPdf.dll_GetTopMargin]
fstp qword [esi + 0x130]
add esp, 0x14
mov eax, esi
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.11162bb7
mov esp, ebp
pop ebp
ret 0xc