Function at 0x10094970
Capabilities:
Get hostname

Disassembly:
push 0xffffffffffffffff
push 0x1009b902
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x100cba70]
xor eax, esp
mov dword [esp + 0x1b4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100cba70]
xor eax, esp
push eax
lea eax, [esp + 0x1cc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1dc]
xor ebp, ebp
cmp esi, ebp
je 0x10094adf
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100949c1
sub eax, edx
je 0x10094adf
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0xb4]
push ecx
mov dword [esp + 0x20], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
mov edi, 0xf
je 0x10094b19
cmp byte [esi], 0x5c
je 0x10094a27
cmp byte [esi + 1], 0x5c
je 0x10094a1e
lea edx, [esp + 0xb0]
push esi
push edx
call fcn.1007e914
add esp, 8
test eax, eax
je 0x10094adf
cmp byte [esi], 0x5c
jne 0x10094b19
cmp byte [esi + 1], 0x5c
jne 0x10094b19
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebp
mov byte [esp + 0x7c], 0
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x98]
mov dword [esp + 0x1d8], ebp
call fcn.10002aa0
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0x44]
push 0x100b5bac
mov bl, 1
push edx
mov byte [esp + 0x1e0], bl
call fcn.1000a020
add esp, 0xc
push 0xffffffffffffffff
push ebp
push eax
lea ecx, [esp + 0x84]
mov byte [esp + 0x1e0], 2
call fcn.100023e0
lea ecx, [esp + 0x40]
mov byte [esp + 0x1d4], bl
call fcn.10002a70
cmp dword [esp + 0x90], 0x10
mov eax, dword [esp + 0x7c]
jae 0x10094abc
lea eax, [esp + 0x7c]
push esi
push eax
call fcn.1007e914
add esp, 8
test eax, eax
lea ecx, [esp + 0x94]
jne 0x10094b0b
call fcn.10002a70
lea ecx, [esp + 0x78]
call fcn.10002a70
xor eax, eax
mov ecx, dword [esp + 0x1cc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1b4]
xor ecx, esp
call fcn.10079ea5
add esp, 0x1c4
ret 4
call fcn.10002a70
lea ecx, [esp + 0x78]
call fcn.10002a70
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebp
mov byte [esp + 0x60], 0
cmp byte [esi], 0x5c
mov ebx, 3
mov dword [esp + 0x1d4], ebx
je 0x10094b9f
cmp byte [esi + 1], 0x5c
je 0x10094b9f
push esi
lea ecx, [esp + 0x98]
call fcn.10002aa0
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x44]
push 0x100b5bac
push ecx
mov byte [esp + 0x1e0], 4
call fcn.1000a020
add esp, 0xc
push 0xffffffffffffffff
push ebp
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x1e0], 5
call fcn.100023e0
lea ecx, [esp + 0x40]
call fcn.10002a70
lea ecx, [esp + 0x94]
mov byte [esp + 0x1d4], bl
call fcn.10002a70
jmp 0x10094bba
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10094ba4
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x64]
call fcn.10002b10
xor eax, eax
mov ebx, 0x10
cmp dword [esp + 0x74], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
jb 0x10094bed
mov edx, dword [esp + 0x60]
mov dword [esp + 0x34], edx
jmp 0x10094bf5
lea eax, [esp + 0x60]
mov dword [esp + 0x34], eax
push 0x104
lea ecx, [esp + 0xc5]
push ebp
push ecx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], 2
mov byte [esp + 0xcc], 0
call fcn.1007a340
add esp, 0xc
push str.mpr.dll
mov dword [esp + 0x18], 0x105
mov dword [esp + 0x20], ebp
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
cmp esi, ebp
jne 0x10094c4a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x10094c84
push str.WNetGetResourceInformationA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
jne 0x10094c62
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10094c7b
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0xc8]
push edx
lea ecx, [esp + 0x2c]
push ecx
call eax
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [esp + 0x74], ebx
jb 0x10094c97
mov edx, dword [esp + 0x60]
push edx
call fcn.10080518
add esp, 4
mov eax, edi
jmp 0x10094ae1