Function at 0x462520
Capabilities:
Create process on windows
Query environment variable
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x57c3b7
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x5e95e0]
xor eax, esp
mov dword [esp + 0x42c], eax
push esi
push edi
mov eax, dword [0x5e95e0]
xor eax, esp
push eax
lea eax, [esp + 0x43c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea ecx, [esp + 0x10]
push ecx
push str.mailto_shell_
push SysReAllocStringLen
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], 0x104
call edi
test eax, eax
je 0x46259a
push 0
push 0
push 0x5a7f94
call fcn.00539414
jmp 0x462909
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 0x592720
push ecx
mov word [esp + 0x40], 0
mov dword [esp + 0x34], 0x208
call esi
lea eax, [esp + 0x28]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4625d0
sub eax, edx
sar eax, 1
je 0x4625e8
cmp dword [esp + 0x1c], 0
jne 0x462604
xor eax, eax
lea ebx, [ebx]
movzx ecx, word [eax + str.open]
mov word [esp + eax + 0x28], cx
add eax, 2
test cx, cx
jne 0x4625f0
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.mailto_shell_
lea ecx, [esp + 0x18]
call fcn.00402390
lea eax, [esp + 0x28]
mov dword [esp + 0x444], 0
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x462630
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x1c]
call fcn.004121c0
push 8
push 0x5a7fb8
lea ecx, [esp + 0x1c]
call fcn.004121c0
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push edx
push SysReAllocStringLen
call edi
test eax, eax
jne 0x4628d3
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0
push 0x592720
push edx
mov dword [esp + 0x34], 0x208
call esi
lea eax, [esp + 0x28]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4626a0
sub eax, edx
sar eax, 1
jne 0x4626e3
push 0
push 0
push 0x5a7fcc
call fcn.00539414
mov dword [esp + 0x444], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x4628fd
push 0x104
lea ecx, [esp + 0x234]
push ecx
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea edi, [esp + 0x230]
mov eax, edi
push 0x22
push eax
call fcn.00552f60
add esp, 8
test eax, eax
je 0x46271b
lea edi, [eax + 2]
push 0x22
push edi
jmp 0x462725
push 0x20
lea ecx, [esp + 0x234]
push ecx
call fcn.00552f60
add esp, 8
test eax, eax
je 0x462739
mov word [eax], 0
add eax, 2
push eax
lea ecx, [esp + 0x10]
call fcn.00402390
mov byte [esp + 0x444], 1
call fcn.00530e1f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x462765
push 0x80004005
call fcn.00401f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x444], 2
mov ecx, dword [esp + 0xc]
cmp dword [ecx - 0xc], 0
jge 0x46278c
or esi, 0xffffffff
jmp 0x4627ad
push 0x5a7ff4
push ecx
call fcn.00552eeb
mov ecx, dword [esp + 0x14]
add esp, 8
test eax, eax
jne 0x4627a7
or esi, 0xffffffff
jmp 0x4627ad
sub eax, ecx
sar eax, 1
mov esi, eax
mov eax, dword [ecx - 0xc]
sub eax, esi
sub eax, 2
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00401a60
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x448], 3
call fcn.00402310
mov byte [esp + 0x444], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4627fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call fcn.0040dce0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x448], 4
call fcn.00402310
mov byte [esp + 0x444], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x462847
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.004121c0
mov esi, dword [esp + 0x20]
mov eax, dword [esi - 0xc]
push eax
push esi
lea ecx, [esp + 0x14]
call fcn.004121c0
mov edx, dword [esp + 0xc]
push 5
push 0x5925cc
push edx
push edi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esi - 0x10]
mov byte [esp + 0x444], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4628ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x444], 0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4628d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x444], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x462909
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x43c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x42c]
xor ecx, esp
call fcn.00552101
add esp, 0x43c
ret