Function at 0x72a197d1
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [ebp + 0xc]
push ebx
push esi
xor esi, esi
cmp eax, esi
push edi
je 0x72a197f0
mov eax, dword [eax - 4]
shr eax, 1
mov dword [ebp - 0x28], eax
jne 0x72a197fa
push 0x1ad
call fcn.72a0e22c
mov ebx, dword [ebp + 0x10]
cmp ebx, esi
je 0x72a19bca
mov eax, dword [ebx - 4]
shr eax, 1
mov dword [ebp - 0x28], eax
je 0x72a19bca
cmp dword [0x72a50ba8], esi
mov edi, 0x72a50b88
jne 0x72a1985b
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x10
push eax
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x72a1985b
push 0x10
push edi
push dword [ebp - 8]
lea eax, [ebp - 0x98]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [0x72a50ba8], 1
cmp word [ebx], 0x5c
mov eax, ebx
jne 0x72a19874
cmp word [eax + 2], si
lea ecx, [eax + 2]
je 0x72a19874
mov eax, ecx
cmp word [eax], 0x5c
je 0x72a19863
push eax
push edi
call fcn.72a2ca0a
pop ecx
test eax, eax
pop ecx
je 0x72a19bca
cmp dword [0x72a4ee4c], esi
je 0x72a19ca9
lea eax, [ebp - 0xa8]
push eax
push dword [ebp + 0xc]
call dword [0x72a4ee50]
cmp eax, 0x800401f3
mov dword [ebp - 0xc], eax
jne 0x72a198b2
mov dword [ebp - 0xc], 0x800a01cf
cmp dword [ebp - 0xc], esi
jge 0x72a19aa2
push 8
xor eax, eax
pop ecx
lea edi, [ebp - 0x88]
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x98]
cmp word [ebx], 0x5c
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x88], 0x20
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x80], 2
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x10], esi
jne 0x72a19a3d
mov ax, word [ebx + 2]
cmp ax, si
je 0x72a19a3d
cmp ax, 0x5c
jne 0x72a19a3d
mov dword [ebp - 0x94], ebx
lea eax, [ebp - 0x98]
mov dword [ebp - 0x74], 0x10
mov dword [ebp - 0x6c], eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 8]
push eax
push esi
mov dword [ebp - 0x28], esi
call dword [sym.imp.ole32.dll_CreateBindCtx]
cmp eax, esi
jge 0x72a19958
push dword [ebp - 0x10]
call edi
push esi
push dword [ebp - 0xc]
call fcn.72a193d1
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x88]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.ole32.dll_MkParseDisplayName]
cmp eax, esi
jge 0x72a19997
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [ebp - 0x10]
call edi
push esi
push dword [ebp - 0xc]
call fcn.72a193d1
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 4]
push edx
push 0x7295a460
mov ecx, dword [eax]
push esi
push dword [ebp - 8]
push eax
call dword [ecx + 0x20]
push dword [ebp - 0x10]
mov ebx, eax
call edi
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp ebx, esi
jge 0x72a199d3
push esi
push dword [ebp - 0xc]
call fcn.72a193d1
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x2c]
push edx
push 0x72970540
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x72a19a76
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov ebx, eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp ebx, esi
jge 0x72a19a16
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push esi
push dword [ebp - 0xc]
call fcn.72a193d1
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x24]
push edx
push 0x72970450
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jge 0x72a19cb3
mov eax, dword [ebp - 4]
mov word [ebp - 0x20], 0xd
jmp 0x72a19ba0
mov ebx, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push 0x7296f44c
call ebx
push esi
mov dword [ebp - 0x30], eax
call ebx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x30]
call dword [0x72a4ef38]
push dword [ebp - 0x30]
call edi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x94], eax
jmp 0x72a1991f
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x34]
push edx
push 0x72970750
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x72a19a00
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov ebx, eax
mov eax, dword [ebp - 0x34]
jmp 0x72a199fa
push esi
push dword [ebp - 0xc]
call fcn.72a193d1
push esi
push esi
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x20], esi
push eax
lea eax, [ebp - 0x20]
push 4
push eax
push 0x10
lea eax, [ebp - 0xa8]
push esi
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x68], 0x7295a460
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], 0x72970450
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], 0x72970540
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], 0x72970750
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
call dword [0x72a4ee4c]
mov edi, eax
cmp edi, esi
jl 0x72a19b6c
push esi
push edi
call fcn.72a193d1
cmp dword [ebp - 0x48], esi
jl 0x72a19b33
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov edi, eax
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0x3c], esi
jl 0x72a19b51
cmp dword [ebp - 0x48], esi
jge 0x72a19b48
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov edi, eax
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp edi, esi
jge 0x72a19b92
cmp dword [ebp - 0x54], esi
jl 0x72a19b63
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0x88]
push eax
call fcn.72a1876f
test eax, eax
jne 0x72a19b13
lea eax, [ebp - 0x88]
mov dword [ebp - 0x6c], edi
push eax
mov word [ebp - 0x88], si
call fcn.72a0e1ae
cmp dword [ebp - 0x54], esi
jge 0x72a19bb6
mov eax, dword [ebp - 0x64]
mov word [ebp - 0x20], 0xd
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x20]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
leave
ret 0xc
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x58]
mov word [ebp - 0x20], 9
jmp 0x72a19ba0
lea eax, [ebp - 0xa8]
push eax
push dword [ebp + 0xc]
call dword [0x72a4ee50]
cmp eax, esi
jl 0x72a19c95
push esi
push esi
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
lea eax, [ebp - 4]
push eax
push 0x7295a460
push 5
lea eax, [ebp - 0xa8]
push esi
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
cmp edi, esi
jl 0x72a19c4a
push esi
push edi
call fcn.72a193d1
mov eax, dword [ebp - 4]
lea edx, [ebp + 0xc]
push edx
push 0x72970540
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x72a19c70
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov edi, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, esi
jge 0x72a19a16
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0x88]
push eax
call fcn.72a1876f
test eax, eax
jne 0x72a19c09
lea eax, [ebp - 0x88]
mov dword [ebp - 0x6c], edi
push eax
mov word [ebp - 0x88], si
call fcn.72a0e1ae
mov eax, dword [ebp - 4]
lea edx, [ebp + 0x10]
push edx
push 0x72970750
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x72a19c39
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov edi, eax
mov eax, dword [ebp + 0x10]
jmp 0x72a19c33
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.72a19759
cmp eax, esi
jge 0x72a19a16
push 0x1ad
call fcn.72a0e22c
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov word [ebp - 0x20], 9
jmp 0x72a19ba0