Function at 0x401990
Capabilities:
Check if file exists
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x457610
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e780]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x18], ebx
call fcn.00403d80
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str._uninstallinit_
lea edi, [esi + 0x2bc]
call fcn.004024e0
mov ecx, edi
call fcn.00412e90
mov ecx, esp
mov dword [esp + 0x20], esp
push str._uninstall_
lea ebp, [esi + 0x2cc]
call fcn.004024e0
mov ecx, ebp
call fcn.00412e90
mov ecx, esp
mov dword [esp + 0x20], esp
push str._r_nQiyiShellParser::ExecUnInstallInit________________________________r_n
call fcn.004024e0
push 0x472bc8
call fcn.00406b90
lea eax, [esp + 0x1c]
push eax
push ebx
push edi
push 0x414100
push ebx
push ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x45f158
call fcn.004024e0
lea ecx, [esp + 0x20]
push ecx
call fcn.0040aed0
add esp, 8
push eax
mov ecx, 0x472c6c
mov dword [esp + 0x4c], ebx
call fcn.004029d0
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401a98
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi + 0x478]
mov edx, dword [edx + 0x134]
push 0x3e9
push esi
lea eax, [esp + 0x34]
push eax
lea edi, [esi + 0x478]
push 0x5000000b
mov ebp, 0x28
push ebx
mov ecx, edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], 0x70
mov dword [esp + 0x4c], ebp
call edx
lea eax, [edi + 0x54]
push eax
push 0x40a
call fcn.00406da0
lea ecx, [edi + 0x58]
push ecx
push 0x40b
call fcn.00406da0
lea edx, [edi + 0x5c]
push edx
push 0x40a
call fcn.00406da0
push 1
push ebx
push ebx
mov eax, 0x209
sub eax, dword [esi + 0x518]
push 0x137
push eax
push ebx
mov ecx, edi
call fcn.004231ef
mov edx, dword [esi + 0x3cc]
mov edx, dword [edx + 0x134]
push 0x3e8
push esi
lea eax, [esp + 0x34]
push eax
lea edi, [esi + 0x3cc]
push 0x5000000b
push ebx
mov ecx, edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], 0x70
mov dword [esp + 0x4c], ebp
call edx
lea eax, [edi + 0x54]
push eax
push 0x408
call fcn.00406da0
lea ecx, [edi + 0x58]
push ecx
push 0x409
call fcn.00406da0
lea edx, [edi + 0x5c]
push edx
push 0x408
call fcn.00406da0
push 1
push ebx
mov eax, 0x204
sub eax, dword [esi + 0x46c]
push ebx
sub eax, dword [esi + 0x518]
push 0x137
push eax
push ebx
mov ecx, edi
call fcn.004231ef
mov ecx, dword [0x472c6c]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
call edi
test eax, eax
je 0x401be6
push 0x45f170
lea edx, [esp + 0x20]
push 0x472c6c
push edx
call fcn.004021b0
mov eax, dword [eax]
add esp, 0xc
push eax
mov dword [esp + 0x1c], 1
call edi
test eax, eax
mov byte [esp + 0x17], bl
jne 0x401beb
mov byte [esp + 0x17], 1
test byte [esp + 0x18], 1
je 0x401c12
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401c12
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x17], bl
je 0x401c30
push ebx
push ebx
push 0x45f190
call fcn.00422d6d
mov edx, dword [esi]
mov eax, dword [edx + 0x150]
mov ecx, esi
call eax
mov edx, dword [esi + 0x524]
mov edx, dword [edx + 0x134]
push 0x3ea
push esi
lea eax, [esp + 0x34]
push eax
lea edi, [esi + 0x524]
push 0x5000000b
push ebx
mov ecx, edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], 0x70
mov dword [esp + 0x4c], ebp
call edx
lea eax, [edi + 0x54]
push eax
push 0x40e
call fcn.00406da0
lea ecx, [edi + 0x58]
push ecx
push 0x40f
call fcn.00406da0
lea edx, [edi + 0x5c]
push edx
push 0x40e
call fcn.00406da0
push 1
push ebx
push ebx
mov eax, 0x151
sub eax, dword [esi + 0x5c8]
mov ecx, edi
push eax
mov eax, 0x21c
sub eax, dword [esi + 0x5c4]
cdq
sub eax, edx
sar eax, 1
push eax
push ebx
call fcn.004231ef
push ebx
mov ecx, edi
call fcn.00422fe4
mov edx, dword [esi + 0x5d0]
mov edx, dword [edx + 0x134]
push 0x3ed
push esi
lea eax, [esp + 0x34]
push eax
lea edi, [esi + 0x5d0]
push 0x5000000b
push ebx
mov ecx, edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], 0x154
mov dword [esp + 0x4c], 0xe
call edx
lea eax, [edi + 0x54]
push eax
push 0x412
call fcn.00406da0
lea ecx, [edi + 0x58]
push ecx
push 0x414
call fcn.00406da0
lea edx, [edi + 0x5c]
push edx
push 0x412
call fcn.00406da0
lea eax, [edi + 0x60]
push eax
push 0x413
call fcn.00406da0
lea ecx, [edi + 0x64]
push ecx
push 0x415
call fcn.00406da0
lea edx, [edi + 0x68]
push edx
push 0x413
call fcn.00406da0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x45f1b4
call fcn.004024e0
mov ecx, edi
call fcn.00403830
push 1
push ebx
push ebx
push 0xdd
push 0x4a
push ebx
mov ecx, edi
call fcn.004231ef
push 1
push ebx
push ebx
push 0xc0
push 0x4a
push ebx
lea ecx, [esi + 0x680]
call fcn.004231ef
push 1
push ebx
push ebx
push 0xf1
push 0x9b
push ebx
lea ecx, [esi + 0x6f4]
call fcn.004231ef
push 0x45f1e8
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.app_version
call fcn.004024e0
lea eax, [esp + 0x30]
push eax
call fcn.0040aed0
lea ecx, [esp + 0x30]
push 0x45f20c
push ecx
mov ecx, eax
mov dword [esp + 0x5c], 1
call fcn.00402290
add esp, 0x10
push eax
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x54], 2
call fcn.004021b0
add esp, 0xc
mov byte [esp + 0x48], 3
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.00422f4a
mov byte [esp + 0x48], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401e38
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401e5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401e85
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x45f218
lea ecx, [esi + 0x2e0]
call fcn.00422f4a
push 4
push 0x14
push 0x32
push 0xcd
push 0x159
push ebx
lea ecx, [esi + 0x354]
call fcn.004231ef
cmp dword [0x472ca0], ebx
je 0x401ec0
mov ecx, esi
call fcn.00401ee0
mov eax, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret