Function at 0x100044b0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x1002477d
mov eax, dword fs:[0]
push eax
sub esp, 0x630
mov eax, dword [0x1002e210]
xor eax, esp
mov dword [esp + 0x62c], eax
push ebx
push ebp
push edi
mov eax, dword [0x1002e210]
xor eax, esp
push eax
lea eax, [esp + 0x640]
mov dword fs:[0], eax
mov dword [esp + 0x648], 0
mov dword [esp + 0x1c], 0
mov eax, dword [0x10075568]
mov edx, dword [eax + 0xc]
mov edi, ecx
mov ecx, 0x10075568
mov dword [esp + 0x20], edi
call edx
add eax, 0x10
mov dword [edi], eax
push 0x208
lea eax, [esp + 0x28]
push 0
mov dword [esp + 0x650], 0
mov ebp, 1
push eax
mov dword [esp + 0x28], ebp
call fcn.10016010
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push str.Path
push 0x10029238
lea ecx, [esp + 0x30]
lea edx, [esp + 0x24]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], 0x208
call fcn.10001150
lea eax, [esp + 0x24]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10004570
sub eax, edx
sar eax, 1
lea edx, [esp + 0x24]
mov ebx, eax
push edx
mov eax, edi
call fcn.1000a0e0
mov eax, dword [edi]
cmp dword [eax - 0xc], 5
jge 0x100046f9
lea ecx, [esp + 0x14]
push ecx
push str.InstallLocation
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360
lea ecx, [esp + 0x30]
lea edx, [esp + 0x24]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], 0x208
call fcn.10001150
test eax, eax
jne 0x100045f2
lea eax, [esp + 0x24]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100045d0
sub eax, edx
sar eax, 1
lea edx, [esp + 0x24]
mov ebx, eax
push edx
mov eax, edi
call fcn.1000a0e0
jmp 0x100046f9
push 0x208
lea eax, [esp + 0x230]
push 0
push eax
call fcn.10016010
add esp, 0xc
push 0x104
lea ecx, [esp + 0x230]
push ecx
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x22c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x230]
call fcn.1000a1c0
mov dword [esp + 0x648], ebp
mov ecx, dword [esp + 0x10]
push 0x5c
push ecx
call fcn.10015381
mov edx, dword [esp + 0x18]
add esp, 8
test eax, eax
jne 0x10004663
or ecx, 0xffffffff
jmp 0x10004669
sub eax, edx
sar eax, 1
mov ecx, eax
mov eax, dword [edx - 0xc]
lea edx, [esp + 0x10]
sub eax, ecx
push edx
call fcn.10006c30
lea eax, [esp + 0x10]
call fcn.100079b0
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x43e]
push ecx
mov word [esp + 0x440], ax
call fcn.10016010
mov edx, dword [edi]
push edx
push str._s360Safe.exe
mov ecx, 0x104
lea ebx, [esp + 0x448]
call fcn.100099c0
add esp, 0x14
mov eax, ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100046d1
mov edx, 0x1002a0dc
call fcn.1000a180
mov byte [esp + 0x648], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100046f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x640]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x62c]
xor ecx, esp
call fcn.10014422
add esp, 0x63c
ret