Function at 0x4024d0
Capabilities:
Check if file exists
Create process on windows
Create process suspended
Get common file path
Query or enumerate registry value
Resolve function by parsing pe exports
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe04
mov eax, dword [0x425074]
xor eax, esp
mov dword [esp + 0xe00], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x7fa]
push ecx
mov word [esp + 0x7fc], ax
call fcn.00411980
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x5f2]
push eax
mov word [esp + 0x5f4], dx
call fcn.00411980
add esp, 0xc
push 0x413
push 0
push 1
push str._d._d._d
call fcn.00403d60
add esp, 0x10
test ebx, ebx
jne 0x40259c
push 0x418
push ebx
push 0x1000
push str._d._d._d
call fcn.00403d60
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x419
push ebx
call fcn.004010c0
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe00]
xor ecx, esp
call fcn.0040a920
mov esp, ebp
pop ebp
ret 0x10
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4025a1
sub eax, edx
sar eax, 1
push eax
push str.360se.exe
push ebx
call dword [sym.imp.SHLWAPI.dll_StrStrNIW]
test eax, eax
je 0x4025cd
push str.___360se_no_secureextension
push ebx
call dword [sym.imp.SHLWAPI.dll_StrCatW]
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0xa02]
push edx
mov word [esp + 0xa04], cx
call fcn.00411980
lea eax, [esp + 0x18]
add esp, 0xc
push eax
lea edi, [esp + 0x9fc]
mov ecx, ebx
mov dword [esp + 0x10], 0
call fcn.00401cd0
add esp, 4
test eax, eax
je 0x4027ac
mov esi, dword [esp + 0xc]
push esi
push 0x427
push 0
push 1
push str._d._d._d.T:__d
call fcn.00403d60
add esp, 0x14
cmp esi, 8
jne 0x40265c
push 0x42e
push 0
push 0x10
push str._d._d._d
call fcn.00403d60
add esp, 0x10
mov eax, edi
call fcn.004022a0
mov eax, edi
call fcn.004023d0
jmp 0x402ec6
mov ecx, 0xe
mov esi, str.http:__hao.rising.cn___b61
lea edi, [esp + 0x1d8]
push 0x1d0
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x214]
push 0
push ecx
call fcn.00411980
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x3ea]
push eax
mov word [esp + 0x3ec], dx
call fcn.00411980
mov edi, dword [esp + 0x18]
add esp, 0xc
push edi
lea esi, [esp + 0x3e4]
call fcn.00408750
add esp, 4
test eax, eax
je 0x402705
mov ecx, 0x104
lea eax, [esp + 0x1d8]
lea ebx, [ebx]
cmp word [eax], 0
je 0x4026e0
add eax, 2
sub ecx, 1
jne 0x4026d0
jmp 0x402705
test ecx, ecx
je 0x402705
mov eax, 0x104
sub eax, ecx
mov edx, 0x104
sub edx, eax
lea ecx, [esp + eax*2 + 0x1d8]
lea eax, [esp + 0x3e0]
call fcn.00402ee0
push 0x103
lea ecx, [esp + 0xd5]
push 0
push ecx
mov byte [esp + 0xdc], 0
call fcn.00411980
add esp, 0xc
push 0
push 0
push 0x104
lea edx, [esp + 0xdc]
push edx
push 0x104
lea eax, [esp + 0x1ec]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ecx, [esp + 0x1d8]
call fcn.00401980
test eax, eax
je 0x4027ac
push 0x449
push 0
push 0x10
push str._d._d._d
call fcn.00403d60
add esp, 0x10
call fcn.004083e0
test eax, eax
je 0x402792
push edi
lea edx, [esp + 0x1dc]
lea ecx, [esp + 0x9fc]
call fcn.004087b0
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe00]
xor ecx, esp
call fcn.0040a920
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [esp + 0x5e8]
call fcn.00401190
test eax, eax
jne 0x402805
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x45a
push 0
call fcn.004010c0
add esp, 0xc
push 0x45c
push 0
push 0x1000
push str._d._d._d
call fcn.00403d60
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe00]
xor ecx, esp
call fcn.0040a920
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.Ilrspsm.dll
lea ecx, [esp + 0x5ec]
push ecx
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea edx, [esp + 0x5e8]
push edx
call edi
test eax, eax
jne 0x40284b
lea eax, [esp + 0x5e8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.Ildsp.dll
lea ecx, [esp + 0x5ec]
push ecx
call esi
lea edx, [esp + 0x5e8]
push edx
call edi
test eax, eax
jne 0x402c9f
push 0x46f
push eax
push 0x10
push str._d._d._d
call fcn.00403d60
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x10
call esi
push eax
push 0x470
xor edi, edi
push edi
call fcn.004010c0
xor eax, eax
add esp, 0xc
push 0x40
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x90]
push edi
push eax
mov dword [esp + 0x24], edi
call fcn.00411980
add esp, 0xc
push 0x47d
push edi
mov ecx, 5
push 1
push str._d._d._d
mov dword [esp + 0x98], 0x44
mov dword [esp + 0xc4], 1
mov word [esp + 0xc8], cx
call fcn.00403d60
add esp, 0x10
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x8c]
push eax
push edi
push edi
push 4
push edi
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x402c5c
push 0x48c
push edi
push 0x10
push str._d._d._d
call fcn.00403d60
push 0x103
lea ecx, [esp + 0xe5]
push edi
push ecx
mov byte [esp + 0xec], 0
call fcn.00411980
add esp, 0x1c
lea ecx, [esp + 0xd0]
call fcn.00401320
mov ecx, dword [esp + 0xc]
cmp ecx, 3
jne 0x402afc
cmp eax, edi
je 0x402c23
push 0x495
push edi
push 1
push str._d._d._d
call fcn.00403d60
push 0x103
lea edx, [esp + 0x3f5]
push edi
push edx
mov byte [esp + 0x3fc], 0
call fcn.00411980
add esp, 0x1c
push 0x103
lea eax, [esp + 0x1dd]
push edi
push eax
mov byte [esp + 0x1e4], 0
call fcn.00411980
add esp, 0xc
lea ecx, [esp + 0xd0]
push ecx
lea edx, [esp + 0x3e4]
push 0x104
push edx
xor esi, esi
call fcn.0040a9c7
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendA]
add esp, 0xc
push str.rsre3.dll
lea eax, [esp + 0x3e4]
push eax
call edi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
lea ecx, [esp + 0x3e0]
push ecx
call ebx
test eax, eax
je 0x402a17
push 0x4a5
push esi
push 1
push str._d._d._d
call fcn.00403d60
lea edx, [esp + 0x3f0]
mov dword [esp + 0x20], edx
mov esi, 1
jmp 0x402a2d
push 0x4ab
push 0
push pe_nt_image_headers32
push str._d._d._d
call fcn.00403d60
add esp, 0x10
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0x1dc]
push 0x104
push ecx
call fcn.0040a9c7
add esp, 0xc
push str.rshd.dll
lea edx, [esp + 0x1dc]
push edx
call edi
lea eax, [esp + 0x1d8]
push eax
call ebx
test eax, eax
je 0x402a8e
push 0x4b6
push 0
push 1
push str._d._d._d
call fcn.00403d60
lea ecx, [esp + 0x1e8]
add esp, 0x10
mov dword [esp + esi*4 + 0x10], ecx
inc esi
jmp 0x402aa7
push 0x4bc
push 0
push pe_nt_image_headers32
push str._d._d._d
call fcn.00403d60
add esp, 0x10
test esi, esi
jle 0x402c23
mov eax, dword [esp + 0x18]
push esi
lea edx, [esp + 0x14]
push edx
push eax
call fcn.00419f90
test eax, eax
je 0x402ade
push 0x4c6
push 0
push 0x10
push str._d._d._d
call fcn.00403d60
add esp, 0x10
jmp 0x402c23
push 0x4cb
push 0
push 0x1000
push str._d._d._d
call fcn.00403d60
add esp, 0x10
jmp 0x402c23
cmp ecx, 1
jne 0x402c23
cmp eax, edi
je 0x402c23
call fcn.00402390
test eax, eax
jne 0x402c23
push 0x103
lea ecx, [esp + 0x3e5]
push edi
push ecx
mov byte [esp + 0x3ec], al
call fcn.00411980
add esp, 0xc
push edi
lea edx, [esp + 0x10]
push edx
push edi
push 0xf023f
push edi
push edi
push edi
push str.CLSIDD8640557_340F_40c2_8045_CCA830C44150
push SysReAllocStringLen
mov dword [esp + 0x30], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x402c23
push 0x103
mov byte [esp + 0x1dc], al
lea eax, [esp + 0x1dd]
push edi
push eax
call fcn.00411980
mov eax, dword [esp + 0x18]
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1dc]
push edx
push edi
push eax
mov dword [esp + 0x20], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x402c18
lea ecx, [esp + 0xd0]
push ecx
lea edx, [esp + 0x3e4]
push 0x104
push edx
call fcn.0040a9c7
add esp, 0xc
lea eax, [esp + 0x1d8]
push eax
lea ecx, [esp + 0x3e4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0x422570
lea edx, [esp + 0x3e4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddExtensionA]
lea eax, [esp + 0x3e0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x402c18
mov eax, dword [esp + 0x18]
push 1
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x3e8]
push eax
mov dword [esp + 0x44], ecx
call fcn.00419f90
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x1c]
push eax
call edi
push esi
call edi
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe00]
xor ecx, esp
call fcn.0040a920
mov esp, ebp
pop ebp
ret 0x10
push 0x508
push edi
push 0x1000
push str._d._d._d
call fcn.00403d60
add esp, 0x10
call esi
push eax
push 0x509
push edi
call fcn.004010c0
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe00]
xor ecx, esp
call fcn.0040a920
mov esp, ebp
pop ebp
ret 0x10
push 0x50f
push 0
push 0x10
push str._d._d._d
call fcn.00403d60
push 0x513
push 0
push 1
push str._d._d._d
call fcn.00403d60
add esp, 0x20
push 0x104
lea ecx, [esp + 0x7f4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x402d27
push 0x519
push eax
push 0x1000
push str._d._d._d
call fcn.00403d60
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x51a
push 0
call fcn.004010c0
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe00]
xor ecx, esp
call fcn.0040a920
mov esp, ebp
pop ebp
ret 0x10
push str.rundll32.exe
lea edx, [esp + 0x7f4]
push edx
call esi
lea eax, [esp + 0x7f0]
push eax
call edi
test eax, eax
jne 0x402d8c
push 0x522
push eax
push 0x1000
push str._d._d._d
call fcn.00403d60
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x523
push 0
call fcn.004010c0
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe00]
xor ecx, esp
call fcn.0040a920
mov esp, ebp
pop ebp
ret 0x10
push 0x528
push 0
push 1
push str._d._d._d
call fcn.00403d60
xor eax, eax
push 0x40
push eax
lea ecx, [esp + 0x5c]
push ecx
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
call fcn.00411980
add esp, 0x1c
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xc0a]
mov edx, 5
push ecx
mov dword [esp + 0x4c], 0x44
mov dword [esp + 0x78], 1
mov word [esp + 0x7c], dx
mov word [esp + 0xc0c], ax
call fcn.00411980
add esp, 0xc
push ebx
push str.Rttdsie
lea edx, [esp + 0x5f0]
push edx
lea eax, [esp + 0x7fc]
push eax
push str._s___s___s__s
mov eax, 0x104
lea edi, [esp + 0xc14]
call fcn.00402f90
add esp, 0x14
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x44]
push edx
push 0
push 0
push 0x20
push 0
push 0
push 0
mov eax, edi
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x402e97
push 0x542
push 0
push 0x10
push str._d._d._d
call fcn.00403d60
mov ecx, dword [esp + 0x38]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x3c]
add esp, 0x10
push ecx
call edi
push esi
call edi
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe00]
xor ecx, esp
call fcn.0040a920
mov esp, ebp
pop ebp
ret 0x10
push 0x54d
push 0
push 0x1000
push str._d._d._d
call fcn.00403d60
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x54e
push 0
call fcn.004010c0
add esp, 0xc
mov ecx, dword [esp + 0xe0c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040a920
mov esp, ebp
pop ebp
ret 0x10