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

Disassembly:
mov eax, 0x1068
call fcn.10009990
mov eax, dword [0x100203f4]
xor eax, esp
mov dword [esp + 0x1064], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x1078]
cmp dword [edi + 0x18], 0x10
lea ebx, [edi + 4]
jb 0x10004daf
mov eax, dword [ebx]
jmp 0x10004db1
mov eax, ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call ebp
movzx eax, ax
movzx esi, ax
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10009985
add esp, 4
cmp dword [edi + 0x18], 0x10
mov dword [esp + 0x10], eax
jb 0x10004df7
mov ecx, dword [ebx]
jmp 0x10004df9
mov ecx, ebx
push esi
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0xfde9
call ebp
mov ecx, dword [str.HTTP_shellopencommand]
lea eax, [esp + 0x14]
push eax
push ecx
push 0x80000000
xor bl, bl
mov dword [esp + 0x24], 0x800
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
pop ebp
jne 0x10004fd1
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x30]
push ecx
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10004fc6
lea eax, [esp + 0x70]
push 0x1001b55c
push eax
call fcn.100096ea
mov esi, eax
add esp, 8
test esi, esi
lea eax, [esp + 0x70]
je 0x10004f43
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10004e80
sub eax, edx
sar eax, 1
mov ecx, eax
mov eax, esi
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x10004e96
sub eax, edi
sar eax, 1
sub ecx, eax
push ecx
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x878]
push 0x400
push edx
add esi, 4
call fcn.100098bc
mov edi, dword [esp + 0x1c]
mov eax, edi
add esp, 0x10
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10004ed0
sub eax, edx
sar eax, 1
push eax
push edi
lea eax, [esp + 0x878]
push 0x400
push eax
call fcn.100097db
mov eax, esi
add esp, 0x10
lea edx, [eax + 2]
jmp 0x10004f00
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10004f00
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x878]
push 0x400
push ecx
call fcn.100097db
lea edx, [esp + 0x880]
push edx
lea eax, [esp + 0x84]
push 0x1001b554
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
jmp 0x10004f5c
mov ecx, dword [esp + 0xc]
push ecx
lea edx, [esp + 0x74]
push edx
push str._s___s_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0x44
lea ecx, [esp + 0x30]
push 0
push ecx
call fcn.10009670
add esp, 0xc
xor eax, eax
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x30]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x90]
push ecx
push 0
mov dword [esp + 0x54], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
push edx
setne bl
call esi
mov eax, dword [esp + 0x1c]
push eax
call esi
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0xc]
push edx
call fcn.10009748
mov ecx, dword [esp + 0x1074]
add esp, 4
pop edi
test bl, bl
pop esi
setne al
pop ebx
xor ecx, esp
call fcn.10009526
add esp, 0x1068
ret