Function at 0x10003940
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001aa8d
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x100272d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1002868c]
cmp eax, 0xffffffff
jne 0x10003d1f
mov eax, dword [0x100297e8]
test eax, eax
jne 0x10003995
cmp dword [0x100297e0], eax
jne 0x1000399a
call fcn.100032f0
mov eax, dword [0x100297e8]
cmp eax, 6
jae 0x100039ab
mov dword [0x1002868c], 0
xor eax, eax
jmp 0x10003d1f
mov dword [ebp - 0x264], 0
mov dword [ebp - 4], 0
mov dword [ebp - method.CStringBufferW.virtual_0], vtable.CStringBufferW.0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x24c], 0
mov dword [ebp - method.CStringBufferW.virtual_0], vtable.CStringBufferW.0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x25c], 0
lea eax, [ebp - 0x230]
push eax
mov byte [ebp - 4], 2
call fcn.10003d40
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x240]
push eax
mov byte [ebp - 4], 3
call fcn.100041b0
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 4
call fcn.10005580
mov esi, dword [ebp - 0x254]
test eax, eax
je 0x10003a69
mov dword [0x1002868c], 1
jmp 0x10003c1d
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x230]
call fcn.10005580
test eax, eax
je 0x10003a8e
mov dword [0x1002868c], 1
jmp 0x10003c1d
test esi, esi
je 0x10003b46
cmp dword [ebp - 0x25c], 0
je 0x10003b46
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x220]
call fcn.10004990
push 0x10021b00
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 5
call fcn.10004ca0
push esi
lea ecx, [ebp - 0x220]
call fcn.10004ca0
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x230]
call fcn.10005580
test eax, eax
jne 0x10003c08
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x220]
call fcn.10004c50
push 0x10021b00
lea ecx, [ebp - 0x220]
call fcn.10004ca0
push esi
lea ecx, [ebp - 0x220]
call fcn.10004ca0
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x230]
call fcn.10005580
test eax, eax
jne 0x10003c08
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 4
call fcn.10004950
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x210]
push eax
mov dword [ebp - 0x268], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x10003cd9
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x220]
call fcn.10004990
push 0x10021b00
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 6
call fcn.10004ca0
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x220]
call fcn.10004ca0
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x230]
call fcn.10005580
test eax, eax
jne 0x10003c08
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x220]
call fcn.10004c50
push 0x10021b00
lea ecx, [ebp - 0x220]
call fcn.10004ca0
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x220]
call fcn.10004ca0
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x230]
call fcn.10005580
test eax, eax
je 0x10003cce
lea ecx, [ebp - 0x220]
mov dword [0x1002868c], 1
call fcn.10004950
mov eax, dword [ebp - 0x234]
mov dword [ebp - method.CStringBufferW.virtual_0], vtable.CStringBufferW.0
test eax, eax
je 0x10003c3a
push eax
call fcn.10009ff3
add esp, 4
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - method.CSeed.virtual_0], vtable.CSeed.0
mov dword [ebp - method.CStringBufferW.virtual_0], vtable.CStringBufferW.0
test eax, eax
je 0x10003c7f
push eax
call fcn.10009ff3
add esp, 4
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - method.CSeed.virtual_0], vtable.CSeed.0
test esi, esi
je 0x10003cb4
push esi
call fcn.10009ff3
add esp, 4
mov eax, dword [ebp - 0x244]
test eax, eax
je 0x10003cc7
push eax
call fcn.10009ff3
add esp, 4
mov eax, 1
jmp 0x10003d1f
lea ecx, [ebp - 0x220]
call fcn.10004950
lea ecx, [ebp - 0x240]
mov dword [0x1002868c], 0
call fcn.10004950
lea ecx, [ebp - 0x230]
call fcn.10004950
lea ecx, [ebp - 0x260]
call fcn.10004950
lea ecx, [ebp - 0x250]
call fcn.10004950
lea ecx, [ebp - 0x264]
call fcn.10003110
mov eax, dword [0x1002868c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10009545
mov esp, ebp
pop ebp
ret