Function at 0x403dd0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push edi
mov al, 0x74
mov al, 0xfc
mov al, 0xf3
mov al, 0xf4
mov al, 0x37
mov al, 0x75
mov al, 0x88
mov al, 0x47
mov al, 0xc7
mov al, 0x86
mov al, 0x48
mov al, 0x9f
mov byte [ebp - 0x48], 0
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x47]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0xc8], 0
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0xc7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 8], 0x7f
mov al, 0x74
mov al, 0xfc
mov al, 0xf3
mov al, 0xf4
mov al, 0x37
mov al, 0x75
mov al, 0x88
mov al, 0x47
mov al, 0xc7
mov al, 0x86
mov al, 0x48
mov al, 0x9f
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov al, 0x74
mov al, 0xfc
mov al, 0xf3
mov al, 0xf4
mov al, 0x37
mov al, 0x75
mov al, 0x88
mov al, 0x47
mov al, 0xc7
mov al, 0x86
mov al, 0x48
mov al, 0x9f
lea edx, [ebp - 0xc8]
push edx
movzx eax, byte [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.00403ac0
add esp, 0xc
mov al, 0x74
mov al, 0xfc
mov al, 0xf3
mov al, 0xf4
mov al, 0x37
mov al, 0x75
mov al, 0x88
mov al, 0x47
mov al, 0xc7
mov al, 0x86
mov al, 0x48
mov al, 0x9f
mov al, 0x74
mov al, 0xfc
mov al, 0xf3
mov al, 0xf4
mov al, 0x37
mov al, 0x75
mov al, 0x88
mov al, 0x47
mov al, 0xc7
mov al, 0x86
mov al, 0x48
mov al, 0x9f
lea edx, [ebp - 0x48]
push edx
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov dword [ebp - 4], eax
mov al, 0x74
mov al, 0xfc
mov al, 0xf3
mov al, 0xf4
mov al, 0x37
mov al, 0x75
mov al, 0x88
mov al, 0x47
mov al, 0xc7
mov al, 0x86
mov al, 0x48
mov al, 0x9f
cmp dword [ebp - 4], 0
je 0x403efd
mov al, 0x74
mov al, 0xfc
mov al, 0xf3
mov al, 0xf4
mov al, 0x37
mov al, 0x75
mov al, 0x88
mov al, 0x47
mov al, 0xc7
mov al, 0x86
mov al, 0x48
mov al, 0x9f
jmp 0x403fcc
mov al, 0x74
mov al, 0xfc
mov al, 0xf3
mov al, 0xf4
mov al, 0x37
mov al, 0x75
mov al, 0x88
mov al, 0x47
mov al, 0xc7
mov al, 0x86
mov al, 0x48
mov al, 0x9f
lea eax, [ebp - 0x48]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 4], eax
mov al, 0x74
mov al, 0xfc
mov al, 0xf3
mov al, 0xf4
mov al, 0x37
mov al, 0x75
mov al, 0x88
mov al, 0x47
mov al, 0xc7
mov al, 0x86
mov al, 0x48
mov al, 0x9f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
je 0x403f61
cmp dword [ebp - 0x118], 0xb7
je 0x403f7b
jmp 0x403f95
mov al, 0x74
mov al, 0xfc
mov al, 0xf3
mov al, 0xf4
mov al, 0x37
mov al, 0x75
mov al, 0x88
mov al, 0x47
mov al, 0xc7
mov al, 0x86
mov al, 0x48
mov al, 0x9f
jmp 0x403faf
mov al, 0x74
mov al, 0xfc
mov al, 0xf3
mov al, 0xf4
mov al, 0x37
mov al, 0x75
mov al, 0x88
mov al, 0x47
mov al, 0xc7
mov al, 0x86
mov al, 0x48
mov al, 0x9f
jmp 0x403fcc
mov al, 0x74
mov al, 0xfc
mov al, 0xf3
mov al, 0xf4
mov al, 0x37
mov al, 0x75
mov al, 0x88
mov al, 0x47
mov al, 0xc7
mov al, 0x86
mov al, 0x48
mov al, 0x9f
jmp 0x403fcc
mov al, 0x74
mov al, 0xfc
mov al, 0xf3
mov al, 0xf4
mov al, 0x37
mov al, 0x75
mov al, 0x88
mov al, 0x47
mov al, 0xc7
mov al, 0x86
mov al, 0x48
mov al, 0x9f
mov eax, dword [ebp - 4]
jmp 0x404008
mov al, 0x74
mov al, 0xfc
mov al, 0xf3
mov al, 0xf4
mov al, 0x37
mov al, 0x75
mov al, 0x88
mov al, 0x47
mov al, 0xc7
mov al, 0x86
mov al, 0x48
mov al, 0x9f
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 0x74
mov al, 0xfc
mov al, 0xf3
mov al, 0xf4
mov al, 0x37
mov al, 0x75
mov al, 0x88
mov al, 0x47
mov al, 0xc7
mov al, 0x86
mov al, 0x48
mov al, 0x9f
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret