Function at 0x100f7ab0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101948c0
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x101da820]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa4], ecx
push 0x40
push 0
mov eax, dword [ebp - 0xa4]
add eax, 0x15
push eax
call fcn.10075b40
add esp, 0xc
mov ecx, dword [ebp - 0xa4]
mov byte [ecx + 0x14], 0
mov dword [ebp - 0xc8], 0x101b090c
mov dword [ebp - 0xcc], 0xe8c5c4
mov edx, dword [ebp - 0xcc]
mov al, byte [edx]
mov byte [ebp - 0xab], al
mov ecx, dword [ebp - 0xc8]
cmp al, byte [ecx]
jne 0x100f7b73
cmp byte [ebp - 0xab], 0
je 0x100f7b67
mov edx, dword [ebp - 0xcc]
mov al, byte [edx + 1]
mov byte [ebp - 0xa6], al
mov ecx, dword [ebp - 0xc8]
cmp al, byte [ecx + 1]
jne 0x100f7b73
add dword [ebp - 0xcc], 2
add dword [ebp - 0xc8], 2
cmp byte [ebp - 0xa6], 0
jne 0x100f7b15
mov dword [ebp - 0xdc], 0
jmp 0x100f7b7e
sbb edx, edx
or edx, 1
mov dword [ebp - 0xdc], edx
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0
jne 0x100f7ba2
mov ecx, dword [ebp - 0xa4]
mov byte [ecx + 0x14], 1
jmp 0x100f7c3e
mov dword [ebp - 0xd0], 0x101b0910
mov dword [ebp - 0xd4], 0xe8c5c4
mov edx, dword [ebp - 0xd4]
mov al, byte [edx]
mov byte [ebp - 0xa7], al
mov ecx, dword [ebp - 0xd0]
cmp al, byte [ecx]
jne 0x100f7c14
cmp byte [ebp - 0xa7], 0
je 0x100f7c08
mov edx, dword [ebp - 0xd4]
mov al, byte [edx + 1]
mov byte [ebp - 0xaa], al
mov ecx, dword [ebp - 0xd0]
cmp al, byte [ecx + 1]
jne 0x100f7c14
add dword [ebp - 0xd4], 2
add dword [ebp - 0xd0], 2
cmp byte [ebp - 0xaa], 0
jne 0x100f7bb6
mov dword [ebp - 0xe0], 0
jmp 0x100f7c1f
sbb edx, edx
or edx, 1
mov dword [ebp - 0xe0], edx
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
jne 0x100f7c3e
mov ecx, dword [ebp - 0xa4]
mov byte [ecx + 0x14], 2
mov dword [ebp - 0xc4], 0x101a1e59
mov dword [ebp - 0xc0], 0xe8c5c4
mov edx, dword [ebp - 0xc0]
mov al, byte [edx]
mov byte [ebp - 0xa9], al
mov ecx, dword [ebp - 0xc4]
cmp al, byte [ecx]
jne 0x100f7cb0
cmp byte [ebp - 0xa9], 0
je 0x100f7ca4
mov edx, dword [ebp - 0xc0]
mov al, byte [edx + 1]
mov byte [ebp - 0xa8], al
mov ecx, dword [ebp - 0xc4]
cmp al, byte [ecx + 1]
jne 0x100f7cb0
add dword [ebp - 0xc0], 2
add dword [ebp - 0xc4], 2
cmp byte [ebp - 0xa8], 0
jne 0x100f7c52
mov dword [ebp - 0xe8], 0
jmp 0x100f7cbb
sbb edx, edx
or edx, 1
mov dword [ebp - 0xe8], edx
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0
jne 0x100f7dad
mov ecx, 0xe8c5c4
mov dx, word [0x101b0914]
mov word [ecx], dx
mov al, byte [0x101b0916]
mov byte [ecx + 2], al
push 0xe8c5c4
mov edx, 0x409b10
mov ecx, 0xe8c6ec
call edx
lea eax, [ebp - 0xe4]
push eax
push 0xf003f
push 0
push 0x101b0918
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100f7d9b
mov dword [ebp - 0xb0], 0xe8c5c4
mov ecx, dword [ebp - 0xb0]
add ecx, 1
mov dword [ebp - 0xf4], ecx
mov edx, dword [ebp - 0xb0]
mov al, byte [edx]
mov byte [ebp - 0xa5], al
add dword [ebp - 0xb0], 1
cmp byte [ebp - 0xa5], 0
jne 0x100f7d37
mov ecx, dword [ebp - 0xb0]
sub ecx, dword [ebp - 0xf4]
mov dword [ebp - 0xf0], ecx
mov edx, dword [ebp - 0xf0]
add edx, 1
push edx
push 0xe8c5c4
push 1
push 0
push str.LangSelection
mov eax, dword [ebp - 0xe4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0xe4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100f7dad
push 0x101b0944
push 0x101def36
call fcn.10152fa0
add esp, 8
push str.Lang_Eng.mspro
lea ecx, [ebp - 0x58]
call fcn.1000a2f0
mov dword [ebp - 4], 0
push str.Lang_Por.mspro
lea ecx, [ebp - 0x40]
call fcn.1000a2f0
mov byte [ebp - 4], 1
push str.Lang_Spn.mspro
lea ecx, [ebp - 0x28]
call fcn.1000a2f0
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0xa4]
movzx eax, byte [edx + 0x14]
imul eax, eax, 0x18
lea ecx, [ebp + eax - 0x58]
call fcn.10009b30
push eax
mov ecx, 0x10205e90
call fcn.100d1660
movzx ecx, al
test ecx, ecx
jne 0x100f7e2c
mov dword [ebp - 4], 0xffffffff
push fcn.1000a4d0
push 3
push 0x18
lea edx, [ebp - 0x58]
push edx
call fcn.1006e9b8
jmp 0x100f8063
mov ecx, dword [ebp - 0xa4]
add ecx, 4
call fcn.100266a0
mov ecx, 0x10205e90
call fcn.100d16b0
mov ecx, 1
imul ecx, ecx, 0
add eax, ecx
mov dword [ebp - 0xb8], eax
mov ecx, 0x10205e90
call fcn.100d16d0
xor edx, edx
mov ecx, 0x68
div ecx
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xb4], 0
jmp 0x100f7e88
mov edx, dword [ebp - 0xb4]
add edx, 1
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 0xb4]
cmp eax, dword [ebp - 0xd8]
jge 0x100f7ee1
mov ecx, dword [ebp - 0xb4]
imul ecx, ecx, 0x68
mov edx, dword [ebp - 0xb8]
lea eax, [edx + ecx + 4]
push eax
mov ecx, dword [ebp - 0xb4]
imul ecx, ecx, 0x68
add ecx, dword [ebp - 0xb8]
push ecx
lea edx, [ebp - 0x10c]
push edx
call fcn.10050ab0
add esp, 0xc
push eax
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [ebp - 0xa4]
add ecx, 4
call fcn.10050af0
jmp 0x100f7e79
push str.MapInterface_Eng.mspro
lea ecx, [ebp - 0xa0]
call fcn.1000a2f0
mov byte [ebp - 4], 3
push str.MapInterface_Por.mspro
lea ecx, [ebp - 0x88]
call fcn.1000a2f0
mov byte [ebp - 4], 4
push str.MapInterface_Spn.mspro
lea ecx, [ebp - 0x70]
call fcn.1000a2f0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xa4]
movzx edx, byte [ecx + 0x14]
imul edx, edx, 0x18
lea ecx, [ebp + edx - 0xa0]
call fcn.10009b30
push eax
mov ecx, 0x10205e90
call fcn.100d1660
movzx eax, al
test eax, eax
jne 0x100f7f7c
mov byte [ebp - 4], 2
push fcn.1000a4d0
push 3
push 0x18
lea ecx, [ebp - 0xa0]
push ecx
call fcn.1006e9b8
mov dword [ebp - 4], 0xffffffff
push fcn.1000a4d0
push 3
push 0x18
lea edx, [ebp - 0x58]
push edx
call fcn.1006e9b8
jmp 0x100f8063
mov ecx, 0x10205e90
call fcn.100d16b0
mov ecx, 1
imul ecx, ecx, 0
add eax, ecx
mov dword [ebp - 0xb8], eax
mov ecx, 0x10205e90
call fcn.100d16d0
xor edx, edx
mov ecx, 0x68
div ecx
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xa4]
add ecx, 0xc
call fcn.100266a0
mov dword [ebp - 0xbc], 0
jmp 0x100f7fd8
mov edx, dword [ebp - 0xbc]
add edx, 1
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0xbc]
cmp eax, dword [ebp - 0xd8]
jge 0x100f8031
mov ecx, dword [ebp - 0xbc]
imul ecx, ecx, 0x68
mov edx, dword [ebp - 0xb8]
lea eax, [edx + ecx + 4]
push eax
mov ecx, dword [ebp - 0xbc]
imul ecx, ecx, 0x68
add ecx, dword [ebp - 0xb8]
push ecx
lea edx, [ebp - 0x11c]
push edx
call fcn.10050ab0
add esp, 0xc
push eax
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0xa4]
add ecx, 0xc
call fcn.10050af0
jmp 0x100f7fc9
mov byte [ebp - 4], 2
push fcn.1000a4d0
push 3
push 0x18
lea ecx, [ebp - 0xa0]
push ecx
call fcn.1006e9b8
mov dword [ebp - 4], 0xffffffff
push fcn.1000a4d0
push 3
push 0x18
lea edx, [ebp - 0x58]
push edx
call fcn.1006e9b8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006d4d0
mov esp, ebp
pop ebp
ret