Function at 0x403cd8
Capabilities:
Create process on windows
Create process suspended
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd38
push esi
push edi
mov dword [ebp - 4], eax
mov eax, 0x5297d0
call fcn.00519d2c
mov dword [ebp - 0x34], 1
lea edx, [ebp - 4]
lea eax, [ebp - 4]
call fcn.00525e48
inc dword [ebp - 0x34]
mov word [ebp - 0x40], 0xc
mov word [ebp - 0x40], 0x18
lea eax, [ebp - 8]
call fcn.00403990
inc dword [ebp - 0x34]
mov word [ebp - 0x40], 0xc
xor edx, edx
mov dword [ebp - 0x54], edx
mov eax, 0x53d78c
call fcn.00404098
test al, al
je 0x403f0f
xor edx, edx
mov dword [ebp - 0x58], edx
lea ecx, [ebp - 0x58]
push ecx
push 0x20019
push 0
push str.htmlfile_shellopencommand
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x403f0f
mov dword [ebp - 0x60], 1
mov esi, 0x528790
lea edi, [ebp - 0x274]
mov ecx, 0x82
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x64], 0x104
lea eax, [ebp - 0x64]
push eax
lea edx, [ebp - 0x274]
push edx
lea ecx, [ebp - 0x60]
push ecx
push 0
push 0x528e34
push dword [ebp - 0x58]
call sub.ADVAPI32.DLL_RegQueryValueExW
mov dword [ebp - 0x5c], eax
push dword [ebp - 0x58]
call sub.ADVAPI32.DLL_RegCloseKey
cmp dword [ebp - 0x5c], 0
jne 0x403f0f
mov word [ebp - 0x40], 0x30
lea edx, [ebp - 0x274]
lea eax, [ebp - 0xc]
call fcn.00525f24
mov edx, eax
inc dword [ebp - 0x34]
mov eax, 0x53d78c
call fcn.00525fb0
dec dword [ebp - 0x34]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00525f88
mov word [ebp - 0x40], 0x48
mov edx, str..exe
lea eax, [ebp - 0x10]
call fcn.00525e08
inc dword [ebp - 0x34]
lea edx, [ebp - 0x10]
mov eax, 0x53d78c
call fcn.00526100
mov dword [ebp - 0x68], eax
dec dword [ebp - 0x34]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00525f88
mov word [ebp - 0x40], 0x3c
mov word [ebp - 0x40], 0x54
lea eax, [ebp - 0x14]
call fcn.00403990
push eax
inc dword [ebp - 0x34]
mov ecx, dword [ebp - 0x68]
add ecx, 3
mov eax, 0x53d78c
mov edx, 1
call fcn.005262b0
lea ecx, [ebp - 0x14]
push ecx
lea eax, [ebp - 0x1c]
call fcn.00403990
push eax
inc dword [ebp - 0x34]
mov edx, 0x528e3b
lea eax, [ebp - 0x18]
call fcn.00525e08
inc dword [ebp - 0x34]
lea edx, [ebp - 0x18]
pop ecx
pop eax
call fcn.00525fd8
lea edx, [ebp - 0x1c]
mov eax, 0x53d78c
call fcn.00525fb0
dec dword [ebp - 0x34]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00525f88
dec dword [ebp - 0x34]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00525f88
dec dword [ebp - 0x34]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00525f88
mov eax, 0x53d78c
mov edx, 1
call fcn.004040b0
cmp word [eax], 0x22
je 0x403f09
mov word [ebp - 0x40], 0x60
lea eax, [ebp - 0x20]
call fcn.00403990
mov ecx, eax
inc dword [ebp - 0x34]
mov edx, 0x53d78c
mov eax, 0x528e3d
call fcn.00526410
lea edx, [ebp - 0x20]
mov eax, 0x53d78c
call fcn.00525fb0
dec dword [ebp - 0x34]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00525f88
mov word [ebp - 0x40], 0xc
mov eax, 0x53d78c
call fcn.00404098
test al, al
je 0x403f57
push 5
push 0
push 0
lea eax, [ebp - 4]
call fcn.004040e4
push eax
push str.open
push 0
call sub.SHELL32.DLL_ShellExecuteW
mov dword [ebp - 0x6c], eax
mov word [ebp - 0x40], 0xc
cmp dword [ebp - 0x6c], 0x20
jbe 0x404059
mov dword [ebp - 0x54], 1
jmp 0x404059
mov word [ebp - 0x40], 0x6c
lea eax, [ebp - 0x28]
call fcn.00403990
push eax
inc dword [ebp - 0x34]
mov edx, 0x528e4a
lea eax, [ebp - 0x24]
call fcn.00525e08
inc dword [ebp - 0x34]
lea edx, [ebp - 0x24]
mov eax, 0x53d78c
pop ecx
call fcn.00525fd8
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x2c]
call fcn.00403990
mov ecx, eax
inc dword [ebp - 0x34]
lea edx, [ebp - 4]
pop eax
call fcn.00525fd8
lea edx, [ebp - 0x2c]
lea eax, [ebp - 8]
call fcn.00525fb0
dec dword [ebp - 0x34]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00525f88
dec dword [ebp - 0x34]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00525f88
dec dword [ebp - 0x34]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00525f88
mov esi, 0x528998
lea edi, [ebp - 0x284]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov word [ebp - 0x40], 0xc
mov esi, 0x5289a8
lea edi, [ebp - 0x2c8]
mov ecx, 0x11
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x2c8], 0x44
lea eax, [ebp - 0x284]
push eax
lea edx, [ebp - 0x2c8]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
call fcn.004040e4
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessW
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x404059
push dword [ebp - 0x284]
call sub.KERNEL32.DLL_CloseHandle
push dword [ebp - 0x280]
call sub.KERNEL32.DLL_CloseHandle
cmp dword [ebp - 0x54], 0
setne al
and eax, 1
push eax
dec dword [ebp - 0x34]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00525f88
dec dword [ebp - 0x34]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00525f88
pop eax
mov edx, dword [ebp - 0x50]
mov dword fs:[0], edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret