Function at 0x10044970
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008ab6d
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x100c90c0]
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 [0x100f0b44]
cmp eax, 0xffffffff
jne 0x10044fee
call fcn.10043870
cmp dword [0x100f2538], 6
jae 0x100449ca
mov dword [0x100f0b44], 0
xor eax, eax
jmp 0x10044fee
mov dword [ebp - 0x268], 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.10045010
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.10045440
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 4
call fcn.1003f980
mov edi, dword [ebp - 0x254]
test eax, eax
je 0x10044a88
mov dword [0x100f0b44], 1
jmp 0x10044eec
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x230]
call fcn.1003f980
test eax, eax
je 0x10044aad
mov dword [0x100f0b44], 1
jmp 0x10044eec
test edi, edi
je 0x10044cad
cmp dword [ebp - 0x25c], 0
je 0x10044cad
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x220]
call fcn.1003e5f0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x214], 0
lea ecx, [ebp - 0x220]
jne 0x10044af5
push 1
push 0x100b33d8
call fcn.1003ea90
jmp 0x10044b32
mov eax, dword [ebp - 0x21c]
inc eax
push eax
call fcn.1003f120
test eax, eax
je 0x10044b32
mov ecx, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x218]
sub eax, ecx
push 0x100b33d8
push eax
mov eax, dword [ebp - 0x214]
lea eax, [eax + ecx*2]
push eax
call fcn.1006fdc7
add esp, 0xc
inc dword [ebp - 0x21c]
mov esi, edi
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10044b37
sub esi, ecx
sar esi, 1
cmp dword [ebp - 0x214], 0
lea ecx, [ebp - 0x220]
jne 0x10044b5e
push esi
push edi
call fcn.1003ea90
jmp 0x10044b98
mov eax, dword [ebp - 0x21c]
add eax, esi
push eax
call fcn.1003f120
test eax, eax
je 0x10044b98
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.1006fdc7
add esp, 0xc
add dword [ebp - 0x21c], esi
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x230]
call fcn.1003f980
test eax, eax
jne 0x10044ed7
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x220]
call fcn.1003ecf0
cmp dword [ebp - 0x214], 0
lea ecx, [ebp - 0x220]
jne 0x10044be1
push 1
push 0x100b33d8
call fcn.1003ea90
jmp 0x10044c1e
mov eax, dword [ebp - 0x21c]
inc eax
push eax
call fcn.1003f120
test eax, eax
je 0x10044c1e
mov ecx, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x218]
sub eax, ecx
push 0x100b33d8
push eax
mov eax, dword [ebp - 0x214]
lea eax, [eax + ecx*2]
push eax
call fcn.1006fdc7
add esp, 0xc
inc dword [ebp - 0x21c]
mov esi, edi
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10044c23
sub esi, ecx
sar esi, 1
cmp dword [ebp - 0x214], 0
lea ecx, [ebp - 0x220]
jne 0x10044c4a
push esi
push edi
call fcn.1003ea90
jmp 0x10044c84
mov eax, dword [ebp - 0x21c]
add eax, esi
push eax
call fcn.1003f120
test eax, eax
je 0x10044c84
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.1006fdc7
add esp, 0xc
add dword [ebp - 0x21c], esi
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x230]
call fcn.1003f980
test eax, eax
jne 0x10044ed7
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 4
call fcn.10022960
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x210]
push eax
mov dword [ebp - 0x264], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x10044fa8
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x220]
call fcn.1003e5f0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x214], 0
lea ecx, [ebp - 0x220]
jne 0x10044d06
push 1
push 0x100b33d8
call fcn.1003ea90
jmp 0x10044d43
mov eax, dword [ebp - 0x21c]
inc eax
push eax
call fcn.1003f120
test eax, eax
je 0x10044d43
mov ecx, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x218]
sub eax, ecx
push 0x100b33d8
push eax
mov eax, dword [ebp - 0x214]
lea eax, [eax + ecx*2]
push eax
call fcn.1006fdc7
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 0x10044d50
sub esi, ecx
sar esi, 1
cmp dword [ebp - 0x214], 0
lea ecx, [ebp - 0x220]
jne 0x10044d7d
push esi
lea eax, [ebp - 0x210]
push eax
call fcn.1003ea90
jmp 0x10044dbd
mov eax, dword [ebp - 0x21c]
add eax, esi
push eax
call fcn.1003f120
test eax, eax
je 0x10044dbd
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.1006fdc7
add esp, 0xc
add dword [ebp - 0x21c], esi
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x230]
call fcn.1003f980
test eax, eax
jne 0x10044ed7
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x220]
call fcn.1003ecf0
cmp dword [ebp - 0x214], 0
lea ecx, [ebp - 0x220]
jne 0x10044e06
push 1
push 0x100b33d8
call fcn.1003ea90
jmp 0x10044e43
mov eax, dword [ebp - 0x21c]
inc eax
push eax
call fcn.1003f120
test eax, eax
je 0x10044e43
mov ecx, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x218]
sub eax, ecx
push 0x100b33d8
push eax
mov eax, dword [ebp - 0x214]
lea eax, [eax + ecx*2]
push eax
call fcn.1006fdc7
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 0x10044e50
sub esi, ecx
sar esi, 1
cmp dword [ebp - 0x214], 0
lea ecx, [ebp - 0x220]
jne 0x10044e7d
push esi
lea eax, [ebp - 0x210]
push eax
call fcn.1003ea90
jmp 0x10044ebd
mov eax, dword [ebp - 0x21c]
add eax, esi
push eax
call fcn.1003f120
test eax, eax
je 0x10044ebd
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.1006fdc7
add esp, 0xc
add dword [ebp - 0x21c], esi
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x230]
call fcn.1003f980
test eax, eax
je 0x10044f9d
lea ecx, [ebp - 0x220]
mov dword [0x100f0b44], 1
call fcn.10022960
mov eax, dword [ebp - 0x234]
mov dword [ebp - method.CStringBufferW.virtual_0], vtable.CStringBufferW.0
test eax, eax
je 0x10044f09
push eax
call fcn.1006eaef
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 0x10044f4e
push eax
call fcn.1006eaef
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 edi, edi
je 0x10044f83
push edi
call fcn.1006eaef
add esp, 4
mov eax, dword [ebp - 0x244]
test eax, eax
je 0x10044f96
push eax
call fcn.1006eaef
add esp, 4
mov eax, 1
jmp 0x10044fee
lea ecx, [ebp - 0x220]
call fcn.10022960
lea ecx, [ebp - 0x240]
mov dword [0x100f0b44], 0
call fcn.10022960
lea ecx, [ebp - 0x230]
call fcn.10022960
lea ecx, [ebp - 0x260]
call fcn.10022960
lea ecx, [ebp - 0x250]
call fcn.10022960
lea ecx, [ebp - 0x268]
call fcn.10043690
mov eax, dword [0x100f0b44]
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.1006daee
mov esp, ebp
pop ebp
ret