Function at 0x40dd30
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5774f9
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x5daf20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x424], 0
mov eax, dword [0x5e3918]
mov dword [ebp - 0x428], edi
test al, 1
jne 0x40ddb8
or eax, 1
mov dword [0x5e3918], eax
push str._UserCanBeContacted_
mov ecx, 0x5e391c
mov dword [ebp - 4], 1
call fcn.004050a0
push 0x579100
call fcn.00548d14
mov byte [ebp - 4], 0
mov eax, dword [0x5e3918]
add esp, 4
test al, 2
jne 0x40ddf0
or eax, 2
mov dword [0x5e3918], eax
push str._ComputerName_
mov ecx, 0x5e3920
mov dword [ebp - 4], 2
call fcn.004050a0
push 0x5790d0
call fcn.00548d14
mov byte [ebp - 4], 0
mov eax, dword [0x5e3918]
add esp, 4
test al, 4
jne 0x40de23
or eax, 4
mov dword [0x5e3918], eax
push str._SerialNum_
mov ecx, 0x5e3924
mov dword [ebp - 4], 3
call fcn.004050a0
push 0x5790a0
call fcn.00548d14
add esp, 4
mov byte [ebp - 4], 0
call fcn.00427841
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x40de3f
push 0x80004005
call fcn.004017e0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0
cmp dword [ebx + 0x1e8], 1
mov ecx, 0x5b08c8
mov eax, 0x5b08c0
cmovne eax, ecx
push eax
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x424], 1
call fcn.004050a0
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x414]
push 0x5e391c
push eax
mov dword [ebp - 4], 4
call fcn.004048a0
push 0x5b0178
push eax
lea eax, [ebp - 0x41c]
push eax
mov byte [ebp - 4], 5
call fcn.00404b80
add esp, 0x18
push eax
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.004016d0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x41c]
add edx, 0xfffffff0
or esi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40dee4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x414]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40df07
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebx + 0x1ef], 0
je 0x40dfc3
xor eax, eax
mov word [ebp - 0x410], ax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x410]
push eax
mov dword [ebp - 0x414], 0x200
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x418]
push 0x5e3920
push eax
call fcn.00404b80
push 0x5b0178
push eax
lea eax, [ebp - 0x41c]
push eax
mov byte [ebp - 4], 7
call fcn.00404b80
add esp, 0x18
mov byte [ebp - 4], 8
mov eax, dword [eax]
mov ecx, edi
push dword [eax - 0xc]
push eax
call fcn.00404c80
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x41c]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40dfa0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x418]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40dfc3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebx + 0x18c]
push eax
lea eax, [ebp - 0x414]
push 0x5e3924
push eax
call fcn.004048a0
push 0x5b08d0
push eax
lea eax, [ebp - 0x418]
push eax
mov byte [ebp - 4], 9
call fcn.00404b80
add esp, 0x18
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
mov ecx, edi
push dword [eax - 0xc]
push eax
call fcn.00404c80
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x418]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e028
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x414]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e04b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ebx, dword [ebp - 0x420]
add ebx, 0xfffffff0
lea eax, [ebx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x40e06c
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00547a0a
mov esp, ebp
pop ebp
ret 8