Function at 0x46e180
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9648
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x54a800]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea edx, [ebp + 0x3c]
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x78]
call fcn.00478910
mov esi, eax
lea edx, [ebp + 0x24]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
call fcn.00478910
mov byte [ebp - 4], 4
cmp dword [esi + 0x14], 0x10
jb 0x46e1db
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x46e1e3
mov eax, dword [eax]
push esi
push eax
push str.Parsing__s_with_Value__s_n
call fcn.00477e30
add esp, 0xc
cmp dword [ebp - 0x4c], 0x10
jb 0x46e203
push dword [ebp - 0x60]
call fcn.004cd56c
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x64], 0x10
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
jb 0x46e22a
push dword [ebp - 0x78]
call fcn.004cd56c
add esp, 4
push dword [ebp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 0x20]
push ecx
push 0xf003f
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 0x20]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push 6
push str.region
push dword [ebp + 0x34]
push ecx
lea ecx, [ebp + 0x24]
call fcn.00473600
test eax, eax
jne 0x46e324
cmp dword [ebp + 0x50], 8
lea eax, [ebp + 0x3c]
cmovae eax, dword [ebp + 0x3c]
push eax
call fcn.004cde02
add esp, 4
mov dword [ebp - 0x30], 7
mov esi, eax
mov dword [ebp - 0x34], 0
xor eax, eax
lea ecx, [ebp - 0x44]
mov word [ebp - 0x44], ax
push 6
push str.Region
call fcn.0046b720
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x28]
push 4
push ecx
push 4
lea eax, [ebp - 0x44]
mov dword [ebp - 0x28], esi
cmovae eax, dword [ebp - 0x44]
push 0
push eax
push dword [ebp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebp - 0x30], 8
jb 0x46e306
push dword [ebp - 0x44]
call fcn.004cd56c
add esp, 4
cmp dword [ebp + 0x50], 8
lea eax, [ebp + 0x3c]
cmovae eax, dword [ebp + 0x3c]
push eax
call fcn.004cde02
add esp, 4
mov dword [0x5609b4], eax
jmp 0x46e588
push 3
push 0x531578
push dword [ebp + 0x34]
push ecx
lea ecx, [ebp + 0x24]
call fcn.00473600
test eax, eax
jne 0x46e429
cmp dword [ebp + 0x50], 8
lea eax, [ebp + 0x3c]
lea ecx, [ebp - 0x60]
cmovae eax, dword [ebp + 0x3c]
push eax
call fcn.0046b820
lea edx, [ebp - 0x60]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x78]
call fcn.00478910
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 6
call fcn.004a07c0
cmp dword [ebp - 0x64], 0x10
jb 0x46e380
push dword [ebp - 0x78]
call fcn.004cd56c
add esp, 4
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x78], 0
mov byte [ebp - 4], 9
cmp dword [ebp - 0x4c], 8
jb 0x46e3a7
push dword [ebp - 0x60]
call fcn.004cd56c
add esp, 4
xor eax, eax
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
lea ecx, [ebp - 0x3c]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x50], 0
xorps xmm0, xmm0
push eax
movdqu xmmword [ebp - 0x24], xmm0
call fcn.004a1070
push 0x531580
lea ecx, [ebp - 0x94]
call fcn.0046b820
cmp dword [ebp - 0x80], 8
lea ecx, [ebp - 0x24]
push 0x10
push ecx
push 3
lea eax, [ebp - 0x94]
cmovae eax, dword [ebp - 0x94]
push 0
push eax
push dword [ebp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebp - 0x80], 8
jb 0x46e418
push dword [ebp - 0x94]
call fcn.004cd56c
add esp, 4
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.004a0870
jmp 0x46e588
push 9
push str.minionkey
push dword [ebp + 0x34]
push ecx
lea ecx, [ebp + 0x24]
call fcn.00473600
test eax, eax
jne 0x46e474
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x28], esp
push 0xffffffffffffffff
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
push eax
mov word [ecx], ax
lea eax, [ebp + 0x3c]
push eax
call fcn.0046b300
sub esp, 0x18
mov byte [ebp - 4], 0xa
mov ecx, esp
push str.KeyCode
jmp 0x46e577
mov edx, str.minionpass
lea ecx, [ebp + 0x24]
call fcn.004733b0
test al, al
je 0x46e4bf
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 0x48], esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp + 0x3c]
push eax
call fcn.0046b300
sub esp, 0x18
mov byte [ebp - 4], 0xb
mov ecx, esp
push str.MinionPass
jmp 0x46e577
mov edx, str.account
lea ecx, [ebp + 0x24]
call fcn.004733b0
test al, al
je 0x46e503
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x3c]
mov ecx, 0x55b078
push eax
call fcn.0046b300
sub esp, 0x18
lea eax, [ebp + 0x3c]
mov ecx, esp
mov dword [ebp - 0x48], esp
push eax
call fcn.0046ef30
sub esp, 0x18
mov byte [ebp - 4], 0xc
mov ecx, esp
push str.Account
jmp 0x46e577
mov edx, str.accountpass
lea ecx, [ebp + 0x24]
call fcn.004733b0
test al, al
je 0x46e547
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x3c]
mov ecx, 0x55b090
push eax
call fcn.0046b300
sub esp, 0x18
lea eax, [ebp + 0x3c]
mov ecx, esp
mov dword [ebp - 0x48], esp
push eax
call fcn.0046ef30
sub esp, 0x18
mov byte [ebp - 4], 0xd
mov ecx, esp
push str.Password
jmp 0x46e577
mov edx, str.charname
lea ecx, [ebp + 0x24]
call fcn.004733b0
test al, al
je 0x46e588
sub esp, 0x18
lea eax, [ebp + 0x3c]
mov ecx, esp
mov dword [ebp - 0x48], esp
push eax
call fcn.0046ef30
sub esp, 0x18
mov byte [ebp - 4], 0xe
mov ecx, esp
push str.CharacterName
call fcn.0046b820
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00478af0
push 6
push str.server
push dword [ebp + 0x34]
push ecx
lea ecx, [ebp + 0x24]
call fcn.00473600
test eax, eax
jne 0x46e5f9
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x48], esp
push 0xffffffffffffffff
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
push eax
mov word [ecx], ax
lea eax, [ebp + 0x3c]
push eax
call fcn.0046b300
sub esp, 0x18
mov byte [ebp - 4], 0xf
mov ecx, esp
xor eax, eax
push 0xb
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push str.LoginServer
mov word [ecx], ax
call fcn.0046b720
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00478af0
jmp 0x46e856
push 6
push str.attach
push dword [ebp + 0x34]
push ecx
lea ecx, [ebp + 0x24]
call fcn.00473600
test eax, eax
jne 0x46e635
push 5
push 0x531690
push dword [ebp + 0x4c]
push ecx
lea ecx, [ebp + 0x3c]
call fcn.00473600
test eax, eax
jne 0x46e856
mov byte [0x55b050], al
jmp 0x46e856
push 4
push str.path
push dword [ebp + 0x34]
push ecx
lea ecx, [ebp + 0x24]
call fcn.00473600
test eax, eax
jne 0x46e662
push 0xffffffffffffffff
push eax
lea eax, [ebp + 0x3c]
mov ecx, 0x55b0a8
push eax
call fcn.0046b300
jmp 0x46e856
mov edx, str.botpath
lea ecx, [ebp + 0x24]
call fcn.004733b0
test al, al
je 0x46e6d0
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x3c]
mov ecx, 0x55b108
push eax
call fcn.0046b300
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 0x48], esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp + 0x3c]
push eax
call fcn.0046b300
sub esp, 0x18
mov byte [ebp - 4], 0x10
mov ecx, esp
push str.Startup_Folder
call fcn.0046b820
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00478af0
jmp 0x46e856
mov edx, str.datpath
lea ecx, [ebp + 0x24]
call fcn.004733b0
test al, al
je 0x46e6f8
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x3c]
mov ecx, 0x55b0f0
push eax
call fcn.0046b300
jmp 0x46e856
mov edx, str.args
lea ecx, [ebp + 0x24]
call fcn.004733b0
test al, al
je 0x46e720
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x3c]
mov ecx, 0x55b0c0
push eax
call fcn.0046b300
jmp 0x46e856
mov edx, str.args2
lea ecx, [ebp + 0x24]
call fcn.004733b0
test al, al
je 0x46e748
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x3c]
mov ecx, 0x55b0d8
push eax
call fcn.0046b300
jmp 0x46e856
mov edx, str.attachtype
lea ecx, [ebp + 0x24]
call fcn.004733b0
test al, al
je 0x46e777
cmp dword [ebp + 0x50], 8
lea eax, [ebp + 0x3c]
cmovae eax, dword [ebp + 0x3c]
push eax
call fcn.004cde02
add esp, 4
mov dword [0x5609b0], eax
jmp 0x46e856
mov edx, str.datacenter
lea ecx, [ebp + 0x24]
call fcn.004733b0
test al, al
je 0x46e7b9
cmp dword [ebp + 0x50], 8
lea eax, [ebp + 0x3c]
cmovae eax, dword [ebp + 0x3c]
push eax
call fcn.004cde02
add esp, 4
push eax
sub esp, 0x18
mov ecx, esp
push str.DataCenter
call fcn.0046b820
lea ecx, [ebp + 8]
call fcn.00478ab0
jmp 0x46e856
mov edx, str.attachtopid
lea ecx, [ebp + 0x24]
call fcn.004733b0
test al, al
je 0x46e7e5
cmp dword [ebp + 0x50], 8
lea eax, [ebp + 0x3c]
cmovae eax, dword [ebp + 0x3c]
push eax
call fcn.004cde02
add esp, 4
mov dword [0x5609a4], eax
jmp 0x46e856
mov edx, str.launchonly
lea ecx, [ebp + 0x24]
call fcn.004733b0
test al, al
je 0x46e810
mov edx, 0x531778
lea ecx, [ebp + 0x3c]
call fcn.004733b0
test al, al
je 0x46e856
mov byte [0x5609a0], 1
jmp 0x46e856
mov edx, str.beta
lea ecx, [ebp + 0x24]
call fcn.004733b0
test al, al
je 0x46e856
mov edx, 0x531778
lea ecx, [ebp + 0x3c]
call fcn.004733b0
test al, al
je 0x46e83d
mov byte [0x5609a1], 1
push 1
jmp 0x46e83f
push 0
sub esp, 0x18
mov ecx, esp
push str.Beta
call fcn.0046b820
lea ecx, [ebp + 8]
call fcn.00478a40
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x46e864
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0x1c], 8
jb 0x46e875
push dword [ebp + 8]
call fcn.004cd56c
add esp, 4
xor eax, eax
mov dword [ebp + 0x1c], 7
cmp dword [ebp + 0x38], 8
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
jb 0x46e89a
push dword [ebp + 0x24]
call fcn.004cd56c
add esp, 4
xor eax, eax
mov dword [ebp + 0x38], 7
cmp dword [ebp + 0x50], 8
mov dword [ebp + 0x34], 0
mov word [ebp + 0x24], ax
jb 0x46e8bf
push dword [ebp + 0x3c]
call fcn.004cd56c
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004cd571
mov esp, ebp
pop ebp
ret