Function at 0x102df42
Capabilities:
Get hostname

Disassembly:
mov eax, 0x10363f8
call fcn.0102e9e0
sub esp, 0x9c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
lea eax, [ebp - 0x7c]
push dword [sym.imp.MSVCP60.dll____F__basic_string_GU__char_traits_G_std__V__allocator_G_2__std__QAEXXZ]
xor ebx, ebx
push 3
push 0x10
push eax
mov edi, ecx
mov esi, edx
mov dword [ebp - 0x14], ebx
call fcn.0102eb2c
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x4c], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x102dfa7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
jmp 0x102e30e
cmp dword [ebp + 0xc], ebx
lea eax, [ebp + 0xf]
lea ecx, [ebp - 0x24]
push eax
jne 0x102e13a
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_class_std::allocator_unsigned_short_int__const__]
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [esi + 0x158]
add eax, 0x108
push eax
mov byte [ebp - 4], 1
call fcn.0102d17a
test eax, eax
je 0x102e2e2
lea eax, [ebp - 0x6c]
push eax
lea eax, [esi + 0x388]
push eax
call fcn.0102d17a
test eax, eax
je 0x102e2e2
lea eax, [ebp - 0x5c]
push eax
lea eax, [esi + 0x390]
push eax
call fcn.0102d17a
test eax, eax
je 0x102e2e2
cmp dword [ebp + 8], ebx
je 0x102e06a
mov eax, dword [ebp - 0x78]
cmp eax, ebx
mov dword [ebp + 8], 0x4000100b
mov dword [ebp - 0x48], edi
jne 0x102e02e
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
mov dword [ebp - 0x44], eax
jmp 0x102e036
mov dword [ebp - 0x44], eax
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x68]
cmp ecx, ebx
mov dword [ebp - 0x3c], eax
je 0x102e04c
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x58]
cmp ecx, ebx
mov dword [ebp - 0x38], eax
je 0x102e059
mov dword [ebp - 0x38], ecx
mov eax, dword [esi + 0x15c]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x30], eax
jmp 0x102e0dd
lea eax, [ebp - 0x24]
push eax
mov dword [ebp + 8], 0x4000100c
call fcn.0102d27e
test eax, eax
je 0x102e2e2
mov eax, dword [ebp - 0x78]
cmp eax, ebx
mov dword [ebp - 0x48], edi
jne 0x102e096
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
mov dword [ebp - 0x44], eax
jmp 0x102e09e
mov dword [ebp - 0x44], eax
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x68]
cmp ecx, ebx
mov dword [ebp - 0x3c], eax
je 0x102e0b4
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x58]
cmp ecx, ebx
mov dword [ebp - 0x38], eax
je 0x102e0c1
mov dword [ebp - 0x38], ecx
mov ecx, dword [esi + 0x15c]
mov dword [ebp - 0x34], ecx
mov ecx, dword [esi + 0x30]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
mov dword [ebp - 0x2c], eax
je 0x102e0dd
mov dword [ebp - 0x2c], ecx
lea eax, [ebp - 0x48]
push eax
push ebx
push dword [ebp + 0x14]
push 0x800
push dword [ebp + 8]
push ebx
push 0x2900
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
cmp eax, ebx
je 0x102e2e2
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
xor ebx, ebx
inc ebx
push dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
or dword [ebp - 4], 0xffffffff
push 3
push 0x10
lea eax, [ebp - 0x7c]
push eax
call fcn.0102eacc
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_class_std::allocator_unsigned_short_int__const__]
lea eax, [ebp - 0x7c]
push eax
lea eax, [esi + 0x108]
push eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x28], ebx
call fcn.0102d17a
test eax, eax
je 0x102e2e2
cmp dword [ebp + 8], ebx
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x48], edi
mov eax, 0x4000100d
jne 0x102e170
inc eax
cmp ecx, ebx
jne 0x102e17a
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x40], ecx
mov ecx, dword [esi + 0x30]
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x48]
push ecx
push ebx
lea ecx, [ebp - 0x28]
push ecx
push 0x800
push eax
push ebx
push 0x2900
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
cmp eax, ebx
je 0x102e2e2
push dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::operator_unsigned_short_int_const__]
push dword [ebp - 0x28]
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [esi + 0xe0], ebx
je 0x102e230
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
call fcn.0102d61d
test eax, eax
je 0x102e2e2
lea eax, [esi + 0x90]
mov edi, dword [eax]
jmp 0x102e21e
mov eax, dword [edi + 8]
cmp dword [eax + 0x608], 0x100
jne 0x102e216
lea ecx, [ebp - 0x24]
push ecx
push ebx
push eax
call fcn.0102d61d
test eax, eax
je 0x102e2e2
mov edi, dword [edi]
lea eax, [esi + 0x90]
cmp edi, eax
jne 0x102e1f4
push 0x100494c
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_unsigned_short_int_const__]
cmp dword [esi + 0xe8], ebx
je 0x102e281
lea eax, [ebp - 0x24]
push eax
push 1
push ebx
call fcn.0102d61d
test eax, eax
je 0x102e2e2
lea eax, [esi + 0x90]
mov edi, dword [eax]
jmp 0x102e27d
mov eax, dword [edi + 8]
cmp dword [eax + 0x608], 0x80
jne 0x102e275
lea ecx, [ebp - 0x24]
push ecx
push 1
push eax
call fcn.0102d61d
test eax, eax
je 0x102e2e2
mov edi, dword [edi]
lea eax, [esi + 0x90]
cmp edi, eax
jne 0x102e256
cmp dword [ebp + 0x10], ebx
je 0x102e2ca
cmp dword [esi + 0x80], ebx
je 0x102e2ca
push 0x1004a98
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_unsigned_short_int_const__]
cmp dword [esi + 0x34], ebx
jne 0x102e2a8
push 0x29a
jmp 0x102e2ad
push 0x299
call fcn.010257d9
lea ecx, [ebp - 0x24]
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_unsigned_short_int_const__]
push 0x100494c
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_unsigned_short_int_const__]
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax + 2]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, ebx
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
jne 0x102e2ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
jmp 0x102e302
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
jne 0x102e2fa
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
cmp dword [ebp - 0x14], ebx
je 0x102e10d
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x102e110