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

Disassembly:
push 0xffffffffffffffff
push 0x4a6f17
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
push ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
push esi
lea eax, [esp + 0x14]
push edi
push eax
mov esi, 0x104
push str.mailto_shell_
push connect
mov dword [esp + 0x28], esi
call ebp
test eax, eax
je 0x42fa29
push 0
push 0
push str.mail_client_not_found_n
call fcn.00411ed0
add esp, 0xc
jmp 0x42fca6
mov eax, dword [esp + 0x18]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x28]
push ecx
push edx
push 0
push 0
push 0x4dc430
push eax
mov byte [esp + 0x40], 0
mov dword [esp + 0x34], esi
call ebx
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x42fa6a
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x42fa95
mov edi, str.open
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x28]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, 0x104
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.mailto_shell_
lea ecx, [esp + 0x18]
call fcn.0048f6af
lea edx, [esp + 0x28]
lea ecx, [esp + 0x14]
push edx
mov dword [esp + 0x23c], 0
call fcn.0048fa1d
push str.command
lea ecx, [esp + 0x18]
call fcn.0048fa1d
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push ecx
push connect
call ebp
test eax, eax
jne 0x42fc87
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x28]
push edx
push eax
push 0
push 0
push 0x4dc430
push ecx
mov dword [esp + 0x34], esi
call ebx
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x42fb31
push 0xffffffffffffffff
push eax
push 0x87
call fcn.00411e30
add esp, 0xc
jmp 0x42fc92
lea edx, [esp + 0x12c]
push esi
lea eax, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea ecx, [esp + 0x12c]
push 0x22
push ecx
lea edi, [esp + 0x134]
call fcn.00478260
add esp, 8
test eax, eax
je 0x42fb76
lea edi, [eax + 1]
push 0x22
push edi
call fcn.00478260
add esp, 8
test eax, eax
je 0x42fb90
jmp 0x42fb8c
lea edx, [esp + 0x12c]
push 0x20
push edx
call fcn.00478260
add esp, 8
test eax, eax
je 0x42fb90
mov byte [eax], 0
inc eax
push eax
lea ecx, [esp + 0x14]
call fcn.0048f6af
mov eax, dword [0x4d8094]
mov dword [esp + 0x20], eax
mov ebx, 2
push 0x4d6214
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], bl
call fcn.00487b19
mov ecx, dword [esp + 0x10]
mov esi, eax
lea edx, [esp + 0x24]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x10]
sub eax, esi
sub eax, ebx
push eax
push edx
call fcn.00487a03
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x23c], 3
call fcn.0048f77a
lea ecx, [esp + 0x24]
mov byte [esp + 0x238], bl
call fcn.0048f641
lea eax, [esp + 0x24]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.00487a7f
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 4
call fcn.0048f77a
lea ecx, [esp + 0x24]
mov byte [esp + 0x238], bl
call fcn.0048f641
mov ecx, dword [esp + 0x240]
push ecx
lea ecx, [esp + 0x14]
call fcn.0048fa1d
lea edx, [esp + 0x20]
lea ecx, [esp + 0x10]
push edx
call fcn.0048fa59
mov eax, dword [esp + 0x10]
push 5
push 0x4d4564
push eax
push edi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x20]
mov byte [esp + 0x238], 1
call fcn.0048f641
lea ecx, [esp + 0x10]
mov byte [esp + 0x238], 0
call fcn.0048f641
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x14]
mov dword [esp + 0x238], 0xffffffff
call fcn.0048f641
mov ecx, dword [esp + 0x230]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x22c
ret 4