Function at 0x49f810
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a68d1
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x639354]
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 dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x224], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x49f8a2
cmp dword [ebp - 0x224], 0
je 0x49f8a2
lea eax, [ebp - 0x230]
push 0x100
push eax
call fcn.0049fc10
add esp, 8
lea eax, [ebp - 0x230]
push 0
push eax
call fcn.0049fc10
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00560a80
add esp, 0x14
lea eax, [ebp - 0x21c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x220]
mov dword [ebp - 0x224], eax
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x49fbf5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 1
test eax, 0xffff0000
jne 0x49f923
movzx eax, ax
lea ecx, [ebp - 0x220]
push eax
call fcn.00429d90
jmp 0x49f952
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49f930
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x220]
call fcn.0042a060
push 0x5c3248
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 2
call fcn.00489dd0
push str.msiexec.exe
lea ecx, [ebp - 0x220]
call fcn.00489dd0
mov edi, dword [ebp - 0x230]
mov esi, edi
mov ebx, dword [ebp - 0x22c]
cmp esi, ebx
je 0x49fb17
lea esp, [esp]
mov byte [ebp - 4], 3
call fcn.00429250
test eax, eax
je 0x49fbf5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
cmp dword [esi + 0x14], 8
mov eax, esi
mov byte [ebp - 4], 4
jb 0x49f9bf
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x224]
push str._x__s__qn
push eax
call fcn.0042c720
mov eax, dword [ebp - 0x220]
mov edi, dword [ebp - 0x224]
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x26c]
push eax
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x26c], 0x3c
mov dword [ebp - 0x268], 0x440
mov dword [ebp - 0x258], edi
mov dword [ebp - 0x250], 0
call fcn.0051d670
add esp, 0x10
test eax, eax
je 0x49fadd
push 0xffffffffffffffff
push dword [ebp - 0x234]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x234]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.270_tdoPdf2wordSdkUninstall_tdo_pdf2word_sdk_uninstall_Success
push str.D:pub_bh8h_rc_bug_mas_v12_2409Coding_support_newsetup_srccommonapponlyonepdf2wordUninstall.inl
push str._INFO_
push 0x641cc8
call fcn.0046b730
add esp, 0x10
mov byte [ebp - 4], 2
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x49fad0
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0x18
cmp esi, ebx
jne 0x49f990
jmp 0x49fb11
push str.264_tdoPdf2wordSdkUninstall_tdo_pdf2word_sdk_uninstall_failed
push str.D:pub_bh8h_rc_bug_mas_v12_2409Coding_support_newsetup_srccommonapponlyonepdf2wordUninstall.inl
push str._INFO_
push 0x641cc8
call fcn.0046b730
add esp, 0x10
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x49fb11
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x230]
mov edx, dword [ebp - 0x220]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x49fb35
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x49fbd9
mov esi, edi
cmp esi, ebx
je 0x49fb96
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x49fb7c
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x49fb72
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49fbff
mov eax, edx
push ecx
push eax
call fcn.0055c524
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
add esi, 0x18
cmp esi, ebx
jne 0x49fb43
mov ecx, dword [ebp - 0x228]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 3
cmp ecx, 0x1000
jb 0x49fbcf
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49fbff
push ecx
push edi
call fcn.0055c524
add esp, 8
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.0055c3a9
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00429b60
call fcn.0056af64
int3