Function at 0x431ed0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x644eac
push eax
mov eax, 0x17f4
mov dword fs:[0], esp
call fcn.00612380
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
push eax
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esi + 0x20]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov edx, dword [ebp + 0x14]
xor ebx, ebx
push ebx
push ecx
mov dword [ebp + 0x10], esp
mov dword [ebp - 0x20], eax
mov eax, esp
push ebx
push 0x56000000
push ebx
push ecx
mov dword [edx], 1
mov dword [eax], ebx
mov eax, esp
mov dword [eax], ebx
mov eax, dword [esi + 4]
mov dword [ebp + 0x10], esp
push eax
lea ecx, [esi + 0x220]
call fcn.0042a010
push ebx
push ecx
mov eax, esp
mov dword [ebp + 0x10], esp
push ebx
push 0x56000000
push ebx
push ecx
mov dword [eax], ebx
mov eax, esp
mov dword [eax], ebx
mov ecx, dword [esi + 4]
mov dword [ebp + 0x10], esp
push ecx
lea ecx, [esi + 0x138]
call fcn.00429f90
push ebx
lea ecx, [esi + 0x138]
mov dword [esi + 0x15c], esi
call fcn.00498290
lea ecx, [esi + 0x138]
mov dword [esi + 0x170], 0xffffff
mov dword [esi + 0x174], ebx
call fcn.004980f0
mov edx, dword [0x716734]
mov eax, dword [esi + 4]
mov ecx, dword [0x6f0234]
push ebx
push edx
mov edx, dword [0x6f0230]
push 0x3e7
push eax
mov eax, dword [0x6f022c]
sub ecx, eax
push ecx
mov ecx, dword [0x6f0228]
sub edx, ecx
push edx
push eax
push ecx
push 0x5400000b
push ebx
push str.BUTTON
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea ecx, [esi + 0xcc]
push eax
mov dword [esi + 0x134], eax
call fcn.00526960
push str..pdf
lea ecx, [ebp - 0x24]
call fcn.0040bea0
mov dword [ebp - 4], ebx
push 0x7ce
lea edx, [ebp - 0x17fe]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x1800], cx
call fcn.006100a0
mov edx, dword [ebp - 0x24]
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1800]
push ecx
push ebx
push edx
push 0xf
push ebx
mov dword [ebp - 0x28], 0x7d0
call dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
mov dword [esi + 0x130], ebx
mov dword [esi + 0xc8], 0x30
cmp eax, ebx
jl 0x43215c
mov eax, dword [ebp - 0x28]
push 0x700724
push eax
lea ecx, [ebp - 0x1800]
push ecx
lea ecx, [ebp + 0x10]
call fcn.004049b0
mov byte [ebp - 4], 2
mov edi, dword [ebp + 0x10]
push 0x2c
push edi
call fcn.00613b38
add esp, 8
cmp eax, ebx
je 0x43213c
sub eax, edi
sar eax, 1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43213c
mov eax, dword [edi - 0xc]
sub eax, ebx
dec eax
push eax
lea edx, [ebp + 0xc]
push edx
lea ecx, [ebp + 0x10]
call fcn.00427cb0
mov byte [ebp - 4], 3
mov eax, dword [eax]
push eax
call fcn.006115cb
add esp, 4
mov edi, eax
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4320dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebx
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp + 0x10]
call fcn.00414520
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp + 0x10]
call fcn.004078d0
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x432119
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x716734]
push edi
mov edi, dword [ebp + 0x10]
push edi
push ecx
call dword [sym.imp.SHELL32.dll_ExtractIconW]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x43213c
mov dword [esi + 0x130], 1
mov byte [ebp - 4], 0
add edi, 0xfffffff0
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x43215c
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
cmp dword [esi + 0x130], 0
jne 0x43217a
mov ecx, dword [0x716738]
push 0x1c5
push ecx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x44]
push edx
push eax
call dword [sym.imp.USER32.dll_GetIconInfo]
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x70]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x68]
mov dword [esi + 0xc4], eax
mov dword [esi + 0xc8], ecx
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 9
xor ecx, ecx
push 0x3fe
push ecx
lea edx, [ebp - 0xf2e]
push edx
mov word [ebp - 0xf30], cx
call fcn.006100a0
xor eax, eax
push 0x3fe
push eax
lea ecx, [ebp - 0x46e]
push ecx
mov word [ebp - 0x470], ax
call fcn.006100a0
add esp, 0x18
lea edx, [ebp - 0xf30]
push edx
push 0x200
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, 0x200
ja 0x43223c
test eax, eax
je 0x43223c
lea eax, [ebp - 0xf30]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x432223
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0xf30]
push eax
jmp 0x432243
push 3
push 0x66fae0
lea ecx, [ebp - 0x14]
call fcn.00401670
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
add eax, 0x10
mov dword [ebp + 0x14], eax
mov byte [ebp - 4], 0xb
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
add eax, 0x10
mov dword [ebp + 0x10], eax
mov byte [ebp - 4], 0xd
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
add eax, 0x10
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0xf
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
add eax, 0x10
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0x11
push 0
lea ecx, [ebp - 0x980]
call fcn.005c28a0
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x38]
push 0
push ecx
lea ecx, [ebp - 0x980]
call fcn.005c4550
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea edx, [ebp - 0x470]
push edx
push 0
push 0x66fdac
lea eax, [ebp - 0xf30]
push eax
call ebx
lea eax, [ebp - 0x470]
lea ecx, [eax + 2]
jmp 0x432300
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x432300
sub eax, ecx
sar eax, 1
push eax
lea ecx, [ebp - 0x470]
push ecx
lea ecx, [ebp + 0x10]
call fcn.00401670
lea edx, [ebp + 0x10]
push edx
lea ecx, [esi + 0xb4]
call fcn.004314b0
push 1
lea eax, [ebp - 0x470]
push eax
lea ecx, [ebp - 0x980]
call fcn.005c39b0
push 0
lea ecx, [ebp - 0xb30]
call fcn.005c28a0
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x34]
push 0
push ecx
lea ecx, [ebp - 0xb30]
call fcn.005c4550
lea edx, [ebp - 0x470]
push edx
push 0
push 0x66fdac
lea eax, [ebp - 0xf30]
push eax
call ebx
lea eax, [ebp - 0x470]
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x432384
sub eax, ecx
sar eax, 1
push eax
lea ecx, [ebp - 0x470]
push ecx
lea ecx, [ebp + 8]
call fcn.00401670
lea edx, [ebp + 0x14]
push edx
lea ecx, [esi + 0xb4]
call fcn.004314b0
push 1
lea eax, [ebp - 0x470]
push eax
lea ecx, [ebp - 0xb30]
call fcn.005c39b0
push 0
lea ecx, [ebp - 0x7d0]
call fcn.005c28a0
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x34]
push 0
push ecx
lea ecx, [ebp - 0x7d0]
call fcn.005c4550
lea ecx, [ebp - 0x7d0]
call fcn.005c40c0
lea edx, [ebp - 0x470]
push edx
push 0
push 0x66fdac
lea eax, [ebp - 0xf30]
push eax
call ebx
lea eax, [ebp - 0x470]
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x432413
sub eax, ecx
sar eax, 1
push eax
lea ecx, [ebp - 0x470]
push ecx
lea ecx, [ebp + 0xc]
call fcn.00401670
lea edx, [ebp + 0xc]
push edx
lea ecx, [esi + 0xb4]
call fcn.004314b0
push 1
lea eax, [ebp - 0x470]
push eax
lea ecx, [ebp - 0x7d0]
call fcn.005c39b0
push 0
lea ecx, [ebp - 0x620]
call fcn.005c28a0
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x34]
push 0
push ecx
lea ecx, [ebp - 0x620]
call fcn.005c4550
fld dword [0x66fa5c]
push ecx
lea ecx, [ebp - 0x620]
fstp dword [esp]
call fcn.005c3ff0
lea edx, [ebp - 0x470]
push edx
push 0
push 0x66fdac
lea eax, [ebp - 0xf30]
push eax
call ebx
lea eax, [ebp - 0x470]
lea ecx, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4324b0
sub eax, ecx
sar eax, 1
push eax
lea ecx, [ebp - 0x470]
push ecx
lea ecx, [ebp + 0x14]
call fcn.00401670
lea edx, [ebp + 8]
push edx
lea ecx, [esi + 0xb4]
call fcn.004314b0
push 1
lea eax, [ebp - 0x470]
push eax
lea ecx, [ebp - 0x620]
call fcn.005c39b0
mov eax, dword [ebp + 0x10]
push 0
push 0
push 0
push ecx
add eax, 0xfffffff0
mov edi, esp
mov dword [ebp - 0x58], esp
push eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x30], eax
call fcn.004011f0
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x17
mov ecx, esp
mov dword [ebp - 0x4c], esp
push 0x66eba8
call fcn.0040bea0
mov byte [ebp - 4], 0x18
mov ebx, dword [ebp + 0xc]
push ecx
mov edi, esp
add ebx, 0xfffffff0
mov dword [ebp - 0x50], esp
push ebx
mov dword [ebp - 0x1c], edi
call fcn.004011f0
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x1a
mov edi, dword [ebp + 8]
add edi, 0xfffffff0
mov dword [ebp - 0x48], esp
mov dword [ebp - 0x10], esp
push edi
call fcn.004011f0
mov ecx, dword [ebp - 0x10]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0x1c
mov dword [ebp - 0x54], esp
mov dword [ebp - 0x10], esp
push edi
call fcn.004011f0
mov edx, dword [ebp - 0x10]
add eax, 0x10
mov dword [edx], eax
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
mov dword [ebp - 0x2c], esp
mov dword [ebp - 0x10], esp
push eax
mov dword [ebp - 0x1c], eax
call fcn.004011f0
mov ecx, dword [ebp - 0x10]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
mov byte [ebp - 4], 0x20
mov byte [ebp - 4], 0x15
lea ecx, [esi + 0xcc]
call fcn.005a4fc0
mov eax, dword [0x716738]
push 0x80
lea edx, [ebp - 0x1030]
push edx
push 0xefe7
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
push ecx
lea edx, [ebp - 0x1030]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push edx
call fcn.0040bea0
mov byte [ebp - 4], 0x21
mov byte [ebp - 4], 0x15
lea ecx, [esi + 0xcc]
call fcn.005a5590
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 4]
push 0
push 0
push 0x405
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [ebp - 4], 0x14
mov esi, vtable.CxImage.0
lea ecx, [ebp - 0x620]
mov dword [ebp - 0x620], esi
call fcn.005c28c0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x7d0]
mov dword [ebp - 0x7d0], esi
call fcn.005c28c0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xb30]
mov dword [ebp - 0xb30], esi
call fcn.005c28c0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x980]
mov dword [ebp - 0x980], esi
call fcn.005c28c0
mov byte [ebp - 4], 0xf
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43269c
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov byte [ebp - 4], 0xd
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4326b9
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x30]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4326d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4326f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43271c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432742
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10