Function at 0x1000d400
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x10028838
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x10032f68]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10032f68]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov edi, dword [esp + 0x70]
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x68]
push eax
mov ebx, ecx
call fcn.10008340
add esp, 4
test al, al
jne 0x1000d69b
cmp word [esi + 2], 0x11
mov eax, str.Receive_QUERY_SEED_BROADCAST
je 0x1000d461
mov eax, str.Receive_QUERY_SEED_UDP_DETECT
push eax
push 1
push 0x10034838
call fcn.100146a0
add esp, 0xc
cmp byte [0x100347e4], 0
jne 0x1000d4c8
mov dword [esp + 0x14], 1
call fcn.10008110
mov ebp, eax
test ebp, ebp
je 0x1000d4b4
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
push 0
push str.Intranet
push ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [0x100347e4], 1
jmp 0x1000d4c8
push str.write_intranet._regedit_failed.
push 1
push 0x10034838
call fcn.100146a0
add esp, 0xc
mov ecx, dword [0x10034c6c]
call fcn.10011580
test al, al
je 0x1000d69b
push str.use_p2p
push 1
push 0x10034838
call fcn.100146a0
movzx edx, word [esi]
add esp, 0xc
cmp edx, dword [esp + 0x6c]
je 0x1000d511
push str.Bad_packet.
push 1
push 0x10034838
call fcn.100146a0
add esp, 0xc
jmp 0x1000d69b
lea ebp, [ebx + 8]
mov ecx, ebp
call fcn.1000d2a0
xor eax, eax
cmp dword [esi + 0x10], 1
lea ecx, [esi + 0x14]
setne al
lea edx, [esp + 0x38]
lea eax, [eax*4 + 0x10]
push eax
push ecx
push edx
call fcn.1000a960
add esp, 0xc
movzx ecx, word [esi + 0x10]
push 0
push 0
push 0
lea eax, [esp + 0x44]
push eax
push ecx
mov ecx, ebp
mov dword [esp + 0x74], 0
call fcn.1000b870
test al, al
jne 0x1000d5f8
mov edx, 0x12
cmp dx, word [esi + 2]
jne 0x1000d5cf
push edi
push esi
mov ecx, ebx
call fcn.10008e90
mov eax, dword [edi + 4]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.1000af70
add esp, 8
cmp dword [esp + 0x34], 8
mov esi, dword [esp + 0x20]
mov byte [esp + 0x60], 1
jae 0x1000d59d
lea esi, [esp + 0x20]
movzx edx, word [edi + 2]
push edx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push eax
push esi
push str.Send_NO_SEED_msg__s:_d
push 1
push 0x10034838
call fcn.100146a0
add esp, 0x14
lea ecx, [esp + 0x1c]
call fcn.10009940
jmp 0x1000d692
cmp dword [esp + 0x50], 8
mov eax, dword [esp + 0x3c]
jae 0x1000d5de
lea eax, [esp + 0x3c]
push eax
push str.Dont_Reply_Becasue_NO_seed.fileID:_s
push 1
push 0x10034838
call fcn.100146a0
add esp, 0x10
jmp 0x1000d692
mov ecx, dword [0x10034c6c]
call fcn.1000ddb0
test al, al
je 0x1000d675
mov ecx, dword [edi + 4]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x10034c6c]
xor edx, edx
push eax
mov word [esp + 0x1c], dx
call fcn.10013080
test al, al
je 0x1000d63e
push edi
lea ecx, [esp + 0x18]
push ecx
push esi
mov ecx, ebx
call fcn.10008f40
push str.Send_HAVE_SEED__msg
jmp 0x1000d683
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.1000af70
add esp, 8
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
mov byte [esp + 0x60], 2
jae 0x1000d664
lea eax, [esp + 0x20]
movzx ecx, word [esp + 0x18]
push ecx
push eax
push str.QueryIPPORT_FAILED_ip:_s_prot:_u
jmp 0x1000d5b2
push edi
push esi
mov ecx, ebx
call fcn.10008970
push str.Send_WAIT_MSG_Becasue_Service_is_invalid.
push 1
push 0x10034838
call fcn.100146a0
add esp, 0xc
lea ecx, [esp + 0x38]
call fcn.10009940
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.100157eb
add esp, 0x50
ret 0xc