Function at 0x10011f90
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100315a9
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x10046270]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10047a60]
cmp eax, 0xffffffff
jne 0x10012688
call fcn.10010ec0
cmp dword [0x10048cfc], 6
jae 0x10011fea
mov dword [0x10047a60], 0
xor eax, eax
jmp 0x10012688
mov dword [ebp - 0x268], 0
mov dword [ebp - 4], 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
mov dword [ebp - method.CStringBufferW.virtual_0], vtable.CStringBufferW.0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x22c], 0
lea eax, [ebp - 0x240]
push eax
mov byte [ebp - 4], 2
call fcn.100126b0
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x250]
push eax
mov byte [ebp - 4], 3
call fcn.10012b00
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 4
call fcn.1000aed0
test eax, eax
je 0x100120a2
mov dword [0x10047a60], 1
jmp 0x10012520
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x240]
call fcn.1000aed0
test eax, eax
je 0x100120c7
mov dword [0x10047a60], 1
jmp 0x10012520
cmp dword [ebp - 0x224], 0
je 0x100122e0
cmp dword [ebp - 0x22c], 0
je 0x100122e0
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x220]
call fcn.1000a2c0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x214], 0
lea ecx, [ebp - 0x220]
jne 0x10012114
push 1
push 0x1003b574
call fcn.1000a470
jmp 0x10012151
mov eax, dword [ebp - 0x21c]
inc eax
push eax
call fcn.1000a840
test eax, eax
je 0x10012151
mov ecx, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x218]
sub eax, ecx
push 0x1003b574
push eax
mov eax, dword [ebp - 0x214]
lea eax, [eax + ecx*2]
push eax
call fcn.1001e135
add esp, 0xc
inc dword [ebp - 0x21c]
mov edi, dword [ebp - 0x224]
test edi, edi
je 0x100121c1
mov esi, edi
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10012160
sub esi, ecx
sar esi, 1
cmp dword [ebp - 0x214], 0
lea ecx, [ebp - 0x220]
jne 0x10012187
push esi
push edi
call fcn.1000a470
jmp 0x100121c1
mov eax, dword [ebp - 0x21c]
add eax, esi
push eax
call fcn.1000a840
test eax, eax
je 0x100121c1
mov ecx, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x218]
sub eax, ecx
push edi
push eax
mov eax, dword [ebp - 0x214]
lea eax, [eax + ecx*2]
push eax
call fcn.1001e135
add esp, 0xc
add dword [ebp - 0x21c], esi
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x240]
call fcn.1000aed0
test eax, eax
jne 0x10012507
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x220]
call fcn.1000a580
cmp dword [ebp - 0x214], 0
lea ecx, [ebp - 0x220]
jne 0x1001220a
push 1
push 0x1003b574
call fcn.1000a470
jmp 0x10012247
mov eax, dword [ebp - 0x21c]
inc eax
push eax
call fcn.1000a840
test eax, eax
je 0x10012247
mov ecx, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x218]
sub eax, ecx
push 0x1003b574
push eax
mov eax, dword [ebp - 0x214]
lea eax, [eax + ecx*2]
push eax
call fcn.1001e135
add esp, 0xc
inc dword [ebp - 0x21c]
mov edi, dword [ebp - 0x224]
test edi, edi
je 0x100122b7
mov esi, edi
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10012256
sub esi, ecx
sar esi, 1
cmp dword [ebp - 0x214], 0
lea ecx, [ebp - 0x220]
jne 0x1001227d
push esi
push edi
call fcn.1000a470
jmp 0x100122b7
mov eax, dword [ebp - 0x21c]
add eax, esi
push eax
call fcn.1000a840
test eax, eax
je 0x100122b7
mov ecx, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x218]
sub eax, ecx
push edi
push eax
mov eax, dword [ebp - 0x214]
lea eax, [eax + ecx*2]
push eax
call fcn.1001e135
add esp, 0xc
add dword [ebp - 0x21c], esi
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x240]
call fcn.1000aed0
test eax, eax
jne 0x10012507
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 4
call fcn.1000a240
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x210]
push eax
mov dword [ebp - 0x264], pe_nt_image_headers32
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x10012632
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x220]
call fcn.1000a2c0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x214], 0
lea ecx, [ebp - 0x220]
jne 0x10012339
push 1
push 0x1003b574
call fcn.1000a470
jmp 0x10012376
mov eax, dword [ebp - 0x21c]
inc eax
push eax
call fcn.1000a840
test eax, eax
je 0x10012376
mov ecx, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x218]
sub eax, ecx
push 0x1003b574
push eax
mov eax, dword [ebp - 0x214]
lea eax, [eax + ecx*2]
push eax
call fcn.1001e135
add esp, 0xc
inc dword [ebp - 0x21c]
lea esi, [ebp - 0x210]
lea ecx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10012380
sub esi, ecx
sar esi, 1
cmp dword [ebp - 0x214], 0
lea ecx, [ebp - 0x220]
jne 0x100123ad
push esi
lea eax, [ebp - 0x210]
push eax
call fcn.1000a470
jmp 0x100123ed
mov eax, dword [ebp - 0x21c]
add eax, esi
push eax
call fcn.1000a840
test eax, eax
je 0x100123ed
mov ecx, dword [ebp - 0x21c]
lea eax, [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x214]
lea eax, [eax + ecx*2]
push eax
call fcn.1001e135
add esp, 0xc
add dword [ebp - 0x21c], esi
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x240]
call fcn.1000aed0
test eax, eax
jne 0x10012507
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x220]
call fcn.1000a580
cmp dword [ebp - 0x214], 0
lea ecx, [ebp - 0x220]
jne 0x10012436
push 1
push 0x1003b574
call fcn.1000a470
jmp 0x10012473
mov eax, dword [ebp - 0x21c]
inc eax
push eax
call fcn.1000a840
test eax, eax
je 0x10012473
mov ecx, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x218]
sub eax, ecx
push 0x1003b574
push eax
mov eax, dword [ebp - 0x214]
lea eax, [eax + ecx*2]
push eax
call fcn.1001e135
add esp, 0xc
inc dword [ebp - 0x21c]
lea esi, [ebp - 0x210]
lea ecx, [esi + 2]
lea esp, [esp]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10012480
sub esi, ecx
sar esi, 1
cmp dword [ebp - 0x214], 0
lea ecx, [ebp - 0x220]
jne 0x100124ad
push esi
lea eax, [ebp - 0x210]
push eax
call fcn.1000a470
jmp 0x100124ed
mov eax, dword [ebp - 0x21c]
add eax, esi
push eax
call fcn.1000a840
test eax, eax
je 0x100124ed
mov ecx, dword [ebp - 0x21c]
lea eax, [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x218]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x214]
lea eax, [eax + ecx*2]
push eax
call fcn.1001e135
add esp, 0xc
add dword [ebp - 0x21c], esi
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x240]
call fcn.1000aed0
test eax, eax
je 0x10012623
lea ecx, [ebp - 0x220]
mov dword [0x10047a60], 1
mov byte [ebp - 4], 4
call fcn.1000a240
mov dword [ebp - method.CStringBufferW.virtual_0], vtable.CStringBufferW.0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x244]
test eax, eax
je 0x10012541
push eax
call fcn.1001df51
add esp, 4
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x24c], 0
mov dword [ebp - method.CSeed.virtual_0], vtable.CSeed.0
mov dword [ebp - method.CStringBufferW.virtual_0], vtable.CStringBufferW.0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x234]
test eax, eax
je 0x1001258a
push eax
call fcn.1001df51
add esp, 4
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
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x100125d3
push eax
call fcn.1001df51
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
mov dword [ebp - method.CStringBufferW.virtual_0], vtable.CStringBufferW.0
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x254]
test eax, eax
je 0x1001261c
push eax
call fcn.1001df51
add esp, 4
mov eax, 1
jmp 0x10012688
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 4
call fcn.1000a240
lea ecx, [ebp - 0x250]
mov dword [0x10047a60], 0
mov byte [ebp - 4], 3
call fcn.1000a240
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 2
call fcn.1000a240
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
call fcn.1000a240
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0
call fcn.1000a240
lea ecx, [ebp - 0x268]
call fcn.10010ce0
mov eax, dword [0x10047a60]
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.1001d3d5
mov esp, ebp
pop ebp
ret