Function at 0x401950
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x41f86d
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x428c20]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
mov eax, dword [0x428c20]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
xor ebx, ebx
push 0x423cd4
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], ebx
call fcn.004026f0
push 0x208
lea eax, [esp + 0x20]
push ebx
push eax
mov dword [esp + 0x240], ebx
call fcn.0040f180
add esp, 0xc
push 0x104
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
or ebp, 0xffffffff
cmp dword [esp + 0x23c], ebx
jne 0x401a18
mov edx, dword [0x42caa8]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push str._s_s
push ecx
call fcn.00402150
lea ecx, [esp + 0x20]
call fcn.00401710
push str.NSWebSecurity.ocx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x28]
push str._s_s
push eax
call fcn.00402150
add esp, 0x20
jmp 0x401aba
test edi, edi
je 0x401a23
mov eax, dword [0x42caa8]
jmp 0x401a44
push str.NSWebSecurity.ocx
lea ecx, [esp + 0x1c]
call fcn.004026f0
mov byte [esp + 0x234], 1
mov eax, dword [eax]
mov ebx, 1
mov dword [esp + 0x14], ebx
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push str._s_s
push edx
call fcn.00402150
add esp, 0x10
mov dword [esp + 0x234], 0
test bl, 1
je 0x401a8b
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401a8b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x10]
call fcn.00401710
mov eax, str.NSWebSecurity.ocx
test edi, edi
jne 0x401aa2
mov eax, dword [0x42caa8]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push str._s_s
push edx
call fcn.00402150
add esp, 0x10
lea eax, [esp + 0x10]
push eax
call fcn.00401410
add esp, 4
lea ecx, [esp + 0x10]
call fcn.00401710
test eax, eax
jne 0x401aff
mov dword [esp + 0x234], ebp
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x401af8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x401bfc
push str.MSProtectKB.sys
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push str._s_s
push edx
call fcn.00402150
lea ecx, [esp + 0x20]
call fcn.00401710
push str.MSProtectKB64.sys
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x28]
push str._s_s
push ecx
call fcn.00402150
lea ecx, [esp + 0x30]
call fcn.00401710
push str.SecurityControl.exe
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x38]
push str._s_s
push eax
call fcn.00402150
lea ecx, [esp + 0x40]
call fcn.00401710
push str.ProProtect.dll
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x48]
push str._s_s
push edx
call fcn.00402150
add esp, 0x40
lea ecx, [esp + 0x10]
call fcn.00401710
mov eax, dword [0x42caac]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push str._s_s
push edx
call fcn.00402150
lea ecx, [esp + 0x20]
call fcn.00401710
mov eax, dword [0x42cab0]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x28]
push str._s_s
push edx
call fcn.00402150
add esp, 0x20
lea ecx, [esp + 0x10]
call fcn.00401710
mov dword [esp + 0x234], ebp
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x401bf7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.0040c7b4
add esp, 0x22c
ret