Function at 0x1000dc50
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10042097
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x10059084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x238], esi
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x670]
call fcn.10017860
mov dword [ebp - method.ORegistry.virtual_0], vtable.ORegistry.0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
lea edx, [esi + 0x670]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.1001d700
push eax
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 1
call fcn.10018070
mov edx, eax
add esp, 4
lea eax, [ebp - 0x230]
mov dword [ebp - 0x220], edx
or edi, 0xffffffff
cmp eax, edx
je 0x1000dd79
mov ecx, dword [ebp - 0x230]
test ecx, ecx
je 0x1000dd6a
mov eax, edi
lock xadd dword [ecx], eax
jne 0x1000dd60
mov esi, dword [ebp - 0x230]
test esi, esi
je 0x1000dd60
mov eax, dword [esi + 4]
test eax, eax
je 0x1000dd3f
push eax
call fcn.1002ba5e
add esp, 4
mov eax, dword [esi + 8]
test eax, eax
je 0x1000dd4f
push eax
call fcn.1002ba5e
add esp, 4
push 0x14
push esi
call fcn.10025ac5
mov edx, dword [ebp - 0x220]
add esp, 8
mov dword [ebp - 0x230], 0
mov eax, dword [edx]
mov dword [ebp - 0x230], eax
test eax, eax
je 0x1000dd79
lock inc dword [eax]
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x1000ddca
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x1000ddc0
mov esi, dword [ebp - 0x224]
test esi, esi
je 0x1000ddc0
mov eax, dword [esi + 4]
test eax, eax
je 0x1000dda5
push eax
call fcn.1002ba5e
add esp, 4
mov eax, dword [esi + 8]
test eax, eax
je 0x1000ddb5
push eax
call fcn.1002ba5e
add esp, 4
push 0x14
push esi
call fcn.10025ac5
add esp, 8
mov dword [ebp - 0x224], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x1000de15
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x1000de15
mov esi, dword [ebp - 0x228]
test esi, esi
je 0x1000de15
mov eax, dword [esi + 4]
test eax, eax
je 0x1000ddfa
push eax
call fcn.1002ba5e
add esp, 4
mov eax, dword [esi + 8]
test eax, eax
je 0x1000de0a
push eax
call fcn.1002ba5e
add esp, 4
push 0x14
push esi
call fcn.10025ac5
add esp, 8
push 0x14
call fcn.10025ad3
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x224]
add esp, 4
mov dword [ebp - 0x224], eax
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
push str.TCP_Enabled
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax], 1
mov dword [eax + 4], 0
mov dword [eax + 8], 0
call fcn.10017720
push ecx
push 1
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x234]
call fcn.1001d150
movzx ecx, byte [ebp - 0x21c]
mov edx, 1
cmp eax, edx
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x224]
cmove edx, ecx
mov dword [ebp - 0x220], edx
test esi, esi
je 0x1000dee8
mov eax, edi
lock xadd dword [esi], eax
jne 0x1000dee8
mov eax, dword [esi + 4]
test eax, eax
je 0x1000dec7
push eax
call fcn.1002ba5e
add esp, 4
mov eax, dword [esi + 8]
test eax, eax
je 0x1000ded7
push eax
call fcn.1002ba5e
add esp, 4
push 0x14
push esi
call fcn.10025ac5
mov edx, dword [ebp - 0x220]
add esp, 8
test dl, dl
je 0x1000e17a
push 0x14
call fcn.10025ad3
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x224]
add esp, 4
mov dword [ebp - 0x224], eax
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
push str.XPML_Server_Port
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax], 1
mov dword [eax + 4], 0
mov dword [eax + 8], 0
call fcn.10017720
push ecx
push 4
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x234]
call fcn.1001d150
cmp eax, 4
mov ecx, 0x140a
mov eax, dword [ebp - 0x238]
cmove ecx, dword [ebp - 0x220]
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x224]
mov dword [eax + 0x674], ecx
test esi, esi
je 0x1000dfc1
mov eax, edi
lock xadd dword [esi], eax
jne 0x1000dfc1
mov eax, dword [esi + 4]
test eax, eax
je 0x1000dfa6
push eax
call fcn.1002ba5e
add esp, 4
mov eax, dword [esi + 8]
test eax, eax
je 0x1000dfb6
push eax
call fcn.1002ba5e
add esp, 4
push 0x14
push esi
call fcn.10025ac5
add esp, 8
push 0x14
call fcn.10025ad3
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x224]
add esp, 4
mov dword [ebp - 0x224], eax
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
push str.Network_Communication
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax], 1
mov dword [eax + 4], 0
mov dword [eax + 8], 0
call fcn.10017720
push ecx
push 1
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x234]
call fcn.1001d150
movzx ecx, byte [ebp - 0x21c]
cmp eax, 1
mov eax, 1
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x224]
cmove eax, ecx
mov dword [ebp - 0x228], eax
test esi, esi
je 0x1000e08f
mov eax, edi
lock xadd dword [esi], eax
jne 0x1000e08f
mov eax, dword [esi + 4]
test eax, eax
je 0x1000e074
push eax
call fcn.1002ba5e
add esp, 4
mov eax, dword [esi + 8]
test eax, eax
je 0x1000e084
push eax
call fcn.1002ba5e
add esp, 4
push 0x14
push esi
call fcn.10025ac5
add esp, 8
xor eax, eax
mov ecx, 0x7f000001
cmp byte [ebp - 0x228], al
cmove eax, ecx
push eax
mov eax, dword [ebp - 0x238]
push ecx
mov ecx, eax
push dword [eax + 0x674]
call fcn.10014330
test eax, eax
je 0x1000e17a
push 0x14
call fcn.10025ad3
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x224]
add esp, 4
mov dword [ebp - 0x224], eax
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
push str.Network_Bidirectional
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax], 1
mov dword [eax + 4], 0
mov dword [eax + 8], 0
call fcn.10017720
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x234]
mov eax, dword [ebp - 0x228]
sub esp, 8
mov byte [ebp - 0x21c], al
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.1001cfa0
mov esi, dword [ebp - 0x224]
test esi, esi
je 0x1000e17a
mov eax, edi
lock xadd dword [esi], eax
jne 0x1000e17a
mov eax, dword [esi + 4]
test eax, eax
je 0x1000e15f
push eax
call fcn.1002ba5e
add esp, 4
mov eax, dword [esi + 8]
test eax, eax
je 0x1000e16f
push eax
call fcn.1002ba5e
add esp, 4
push 0x14
push esi
call fcn.10025ac5
add esp, 8
mov eax, dword [ebp - 0x230]
mov dword [ebp - method.ORegistry.virtual_0], vtable.ORegistry.0
test eax, eax
je 0x1000e1ca
lock xadd dword [eax], edi
dec edi
jne 0x1000e1ca
mov esi, dword [ebp - 0x230]
test esi, esi
je 0x1000e1ca
mov eax, dword [esi + 4]
test eax, eax
je 0x1000e1af
push eax
call fcn.1002ba5e
add esp, 4
mov eax, dword [esi + 8]
test eax, eax
je 0x1000e1bf
push eax
call fcn.1002ba5e
add esp, 4
push 0x14
push esi
call fcn.10025ac5
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10025a94
mov esp, ebp
pop ebp
ret