Function at 0x480d60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ee81
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x5fb61c]
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
xor esi, esi
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x22c], esi
lea eax, [ebp - 0x220]
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x220], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x480ddf
cmp dword [ebp - 0x220], esi
je 0x480ddf
lea ecx, [ebp - 0x234]
push 0x100
push ecx
call fcn.00480750
add esp, 8
lea edx, [ebp - 0x234]
push esi
push edx
call fcn.00480750
push 0x208
lea ecx, [ebp - 0x21a]
xor eax, eax
push esi
push ecx
mov word [ebp - 0x21c], ax
call fcn.005336c0
add esp, 0x14
push 0x104
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x224]
call fcn.00422540
push str.System32
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 1
call fcn.00479630
push str.msiexec.exe
lea ecx, [ebp - 0x224]
call fcn.00479630
mov edi, dword [ebp - 0x234]
cmp edi, dword [ebp - 0x230]
je 0x480f69
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea ebx, [ebx]
mov edx, dword [0x5fcb00]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcb00
call eax
add eax, 0x10
mov dword [ebp - 0x220], eax
cmp dword [edi + 0x14], 8
mov byte [ebp - 4], 2
jb 0x480e97
mov eax, dword [edi]
jmp 0x480e99
mov eax, edi
push eax
lea ecx, [ebp - 0x220]
push str._x__s__qn
push ecx
call fcn.004237a0
push 0x38
lea edx, [ebp - 0x26c]
push esi
push edx
call fcn.005336c0
mov eax, dword [ebp - 0x224]
mov esi, dword [ebp - 0x220]
add esp, 0x18
lea ecx, [ebp - 0x270]
push ecx
mov dword [ebp - 0x270], 0x3c
mov dword [ebp - 0x26c], 0x440
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x254], 0
call ebx
test eax, eax
je 0x480ffa
mov edx, dword [ebp - 0x238]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.do_pdf2word_sdk_uninstall_Success
push 0x5ff5f8
call fcn.00477930
lea eax, [esi - 0x10]
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x480f52
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0x1c
xor esi, esi
cmp edi, dword [ebp - 0x230]
jne 0x480e70
mov edi, dword [ebp - 0x234]
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x480f8f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, esi
je 0x480fde
mov ebx, dword [ebp - 0x230]
mov esi, edi
cmp dword [ebp - 0x234], ebx
je 0x480fcf
mov edi, 7
cmp dword [esi + 0x14], 8
jb 0x480fb9
mov ecx, dword [esi]
push ecx
call int.0042bfd0
add esp, 4
xor edx, edx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], 0
mov word [esi], dx
add esi, 0x1c
cmp esi, ebx
jne 0x480fa8
mov eax, dword [ebp - 0x234]
push eax
call int.0042bfd0
add esp, 4
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.005332ca
mov esp, ebp
pop ebp
ret
push str.do_pdf2word_sdk_uninstall_failed
push 0x5ff5f8
call fcn.00477930
lea eax, [esi - 0x10]
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48102c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x481052
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x234]
test esi, esi
je 0x480fde
mov ecx, dword [ebp - 0x220]
mov eax, dword [ebp - 0x230]
push ecx
lea edx, [ebp - 0x228]
push edx
push eax
push esi
call fcn.0043cf60
push esi
call int.0042bfd0
add esp, 0x14
jmp 0x480fde