Function at 0x4fa450
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x656748
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
xor ebx, ebx
xor eax, eax
mov esi, ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebx
mov word [esp + 0x34], ax
mov dword [esp + 0x48], ebx
mov edx, dword [esi + 0xa0]
lea ecx, [esp + 0x30]
push ecx
push ebx
push ebx
push 0x147
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
lea ecx, [esi + 0x9c]
call fcn.00424670
mov eax, dword [esp + 0x30]
cmp eax, ebx
jne 0x4fa4ca
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00409910
add esp, 8
mov byte [esp + 0x48], 1
lea edi, [esi + 0x74]
push eax
mov ecx, edi
call fcn.00405900
mov byte [esp + 0x48], 0
lea ecx, [esp + 0x14]
call fcn.00402560
xor ecx, ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov word [esp + 0x28], cx
mov byte [esp + 0x48], 2
lea edx, [esp + 0x24]
push edx
push 0x5fd
mov ecx, esi
call fcn.005f5a75
mov eax, dword [eax + 0x20]
push eax
call fcn.00408cf0
mov eax, dword [esp + 0x2c]
add esp, 8
cmp eax, ebx
jne 0x4fa533
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00409910
add esp, 8
mov byte [esp + 0x48], 3
lea ebp, [esi + 0x78]
push eax
mov ecx, ebp
call fcn.00405900
mov byte [esp + 0x48], 2
lea ecx, [esp + 0x14]
call fcn.00402560
mov edx, dword [edi]
cmp dword [edx - 0xc], ebx
jne 0x4fa58f
mov eax, dword [ebp]
cmp dword [eax - 0xc], ebx
jne 0x4fa58f
mov ecx, dword [0x75ef88]
mov edx, dword [0x75e998]
mov eax, dword [esi + 0x20]
push 0x30
push ecx
push edx
push eax
call fcn.00473680
add esp, 0x10
jmp 0x4fa83e
mov ecx, dword [esi + 0x90]
push ebx
push ebx
push pe_nt_image_headers32
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4fa80d
cmp byte [esi + 0xb4], 0
je 0x4fa773
cmp byte [esi + 0xb5], 0
je 0x4fa5de
mov eax, dword [ebp]
mov ecx, dword [edi]
mov edx, dword [esi + 0xac]
push eax
push ecx
push edx
mov ecx, 0x75e740
call fcn.004cd930
jmp 0x4fa837
cmp dword [0x75e774], 2
jne 0x4fa60d
test byte [0x75e788], 0x10
je 0x4fa60d
mov eax, dword [ebp]
mov ecx, dword [edi]
mov edx, dword [esi + 0xac]
push eax
push ecx
push edx
mov ecx, 0x75e770
call fcn.00546f30
jmp 0x4fa837
lea ecx, [esp + 0x14]
call fcn.004024f0
mov byte [esp + 0x48], 4
lea ecx, [esp + 0x1c]
call fcn.004024f0
mov byte [esp + 0x48], 5
lea ecx, [esp + 0x18]
call fcn.004024f0
mov byte [esp + 0x48], 6
mov ebx, dword [esi + 0xa8]
mov ecx, ebx
mov eax, 0x679010
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4fa664
test dl, dl
je 0x4fa660
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4fa664
add eax, 2
add ecx, 2
test dl, dl
jne 0x4fa644
xor eax, eax
jmp 0x4fa669
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4fa690
push str.HttpUserName
lea ecx, [esp + 0x18]
call fcn.0054f750
push str.HttpPasword
lea ecx, [esp + 0x20]
call fcn.0054f750
push str.HttpEncPassword
jmp 0x4fa700
mov ecx, ebx
mov eax, 0x678ff0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4fa6b7
test dl, dl
je 0x4fa6b3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4fa6b7
add eax, 2
add ecx, 2
test dl, dl
jne 0x4fa697
xor eax, eax
jmp 0x4fa6bc
sbb eax, eax
sbb eax, 0xffffffff
lea ecx, [esp + 0x14]
test eax, eax
jne 0x4fa6e3
push str.HttpsUserName
call fcn.0054f750
push str.HttpsPasword
lea ecx, [esp + 0x20]
call fcn.0054f750
push str.HttpsEncPassword
jmp 0x4fa700
push str.FtpUserName
call fcn.0054f750
push str.FtpPasword
lea ecx, [esp + 0x20]
call fcn.0054f750
push str.FtpEncPassword
lea ecx, [esp + 0x1c]
call fcn.0054f750
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
mov edx, dword [esp + 0x14]
inc ecx
push ecx
push eax
mov eax, dword [0x75dbe4]
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push 1
push eax
mov eax, dword [0x75dbe4]
push ecx
push edx
push eax
call fcn.005ba700
add esp, 0x14
mov byte [esp + 0x48], 5
lea ecx, [esp + 0x18]
call fcn.00402560
mov byte [esp + 0x48], 4
lea ecx, [esp + 0x1c]
call fcn.00402560
mov byte [esp + 0x48], 2
lea ecx, [esp + 0x14]
call fcn.00402560
jmp 0x4fa837
lea ecx, [esp + 0x14]
call fcn.004024f0
mov bl, 7
mov byte [esp + 0x48], bl
mov ecx, dword [esi + 0xac]
mov edx, dword [esi + 0xa8]
push ecx
push edx
lea eax, [esp + 0x1c]
push 0x678de0
push eax
call fcn.00402f60
add esp, 0x10
lea ecx, [esp + 0x1c]
call fcn.004c2300
mov byte [esp + 0x48], 8
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [0x75e194]
push edx
call fcn.004f9c70
test eax, eax
je 0x4fa7d9
mov eax, dword [esp + 0x14]
mov ecx, dword [0x75e194]
push eax
call fcn.00511c40
mov eax, dword [ebp]
mov ecx, dword [edi]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [0x75e194]
call fcn.00512ee0
mov byte [esp + 0x48], bl
lea ecx, [esp + 0x1c]
call fcn.004c2360
mov byte [esp + 0x48], 2
lea ecx, [esp + 0x14]
call fcn.00402560
jmp 0x4fa837
cmp byte [esi + 0xb4], 0
je 0x4fa837
cmp byte [esi + 0xb5], 0
je 0x4fa837
mov eax, dword [ebp]
mov ecx, dword [edi]
mov edx, dword [esi + 0xac]
push eax
push ecx
push edx
mov ecx, 0x75e740
call fcn.004cd390
mov ecx, esi
call fcn.005f67d9
mov byte [esp + 0x48], 0
lea ecx, [esp + 0x24]
call fcn.00401210
mov dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.00401210
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00620b8d
add esp, 0x38
ret