Function at 0x446a7f
Capabilities:
Check if file exists
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52793e
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x581d10]
xor eax, esp
mov dword [esp + 0x244], eax
push esi
push edi
mov eax, dword [0x581d10]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
cmp eax, dword [edi + 0x10]
je 0x446bc9
cmp dword [edi + 0xc], eax
jne 0x446bdd
cmp byte [edi + 0x30], 0
je 0x446ba4
xor eax, eax
xor esi, esi
push 0x206
mov word [esp + 0x48], ax
lea eax, [esp + 0x4a]
push esi
push eax
call fcn.004f28b0
add esp, 0xc
lea eax, [esp + 0x44]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x18]
call fcn.00417260
push str.FixBrowser.exe
lea ecx, [esp + 0x18]
mov dword [esp + 0x264], esi
call fcn.004179e0
cmp dword [esp + 0x28], 8
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x446b91
call fcn.0041e5f0
push esi
push esi
cmp eax, 3
lea eax, [esp + 0x1c]
push str.___repair_pagefile
jl 0x446b7a
cmp dword [esp + 0x34], 8
cmovae eax, dword [esp + 0x20]
push eax
push str.runas
jmp 0x446b8a
cmp dword [esp + 0x34], 8
cmovae eax, dword [esp + 0x20]
push eax
push 0x55b570
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or dword [esp + 0x260], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00417360
jmp 0x446bc9
mov eax, dword [edi + 0x2c]
add eax, 8
cmp dword [eax + 0x14], 8
jb 0x446bb2
mov eax, dword [eax]
push 5
xor esi, esi
push esi
push 0x55b50c
push eax
push 0x55b570
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [edi - 0x3c]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
call fcn.00460623
jmp 0x446cf9
cmp eax, dword [edi + 0x24]
jne 0x446c74
push str.tencent:__message__uin
lea ecx, [esp + 0x18]
call fcn.00417260
mov dword [esp + 0x260], 1
mov eax, dword [edi + 0x2c]
add eax, 0xd4
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.00421980
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x264], 2
call fcn.004202a0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x260], 1
call fcn.00417360
cmp dword [esp + 0x28], 8
lea eax, [esp + 0x14]
push 5
cmovae eax, dword [esp + 0x18]
xor esi, esi
push esi
push esi
push eax
push 0x55b570
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or dword [esp + 0x260], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00417360
jmp 0x446cf9
cmp eax, dword [edi + 0x20]
jne 0x446c86
mov edx, dword [edi + 0x2c]
add edx, 8
call fcn.00457d56
jmp 0x446cf9
cmp eax, dword [edi + 0x28]
jne 0x446cf9
push 0x138
xor esi, esi
lea eax, [esp + 0x48]
push esi
push eax
call fcn.004f28b0
add esp, 0xc
mov dword [esp + 0x10], 0x9c
lea eax, [esp + 0xc]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x446cf9
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x48]
push eax
push esi
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x446cf9
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 5
push esi
push esi
lea eax, [esp + 0x50]
push eax
push 0x55b570
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret 4