Function at 0x455b00
Capabilities:
Get hostname

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1fc
movzx eax, byte [0x522cc3]
mov dword [esp + 8], 0
mov dword [esp + 4], str.paramtab
mov dword [esp], 0x97
mov byte [esp + 0x2f], al
call sym.zsh.exe_newhashtable
mov dword [eax + 0x10], sym.zsh.exe_hasher
mov dword [eax + 0x14], sym.zsh.exe_emptyhashtable
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], sub.cygwin1.dll_strcmp
mov dword [eax + 0x20], sym.zsh.exe_addhashnode
mov dword [eax + 0x24], 0x44c3c0
mov dword [eax + 0x28], sym.zsh.exe_gethashnode2
mov dword [eax + 0x2c], sym.zsh.exe_removehashnode
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0x44c6c0
mov dword [eax + 0x3c], sym.zsh.exe_printparamnode
mov dword [sym.zsh.exe_realparamtab], eax
mov dword [sym.zsh.exe_paramtab], eax
mov eax, dword [0x4e9224]
test eax, eax
je 0x45630d
mov esi, sym.zsh.exe_addhashnode
mov ebx, 0x4e9220
jmp 0x455bb9
mov edx, dword [sym.zsh.exe_paramtab]
mov esi, dword [edx + 0x20]
mov dword [esp], eax
call sym.zsh.exe_ztrdup
mov dword [esp + 8], ebx
add ebx, 0x38
mov dword [esp + 4], eax
mov eax, dword [sym.zsh.exe_paramtab]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 4]
test eax, eax
jne 0x455bb0
test byte [sym.zsh.exe_emulation], 0xc
jne 0x456248
mov eax, dword [ebx + 0x3c]
lea esi, [ebx + 0x38]
test eax, eax
je 0x455c25
lea esi, [esi]
mov edx, dword [sym.zsh.exe_paramtab]
mov ebx, dword [edx + 0x20]
mov dword [esp], eax
call sym.zsh.exe_ztrdup
mov dword [esp + 8], esi
add esi, 0x38
mov dword [esp + 4], eax
mov eax, dword [sym.zsh.exe_paramtab]
mov dword [esp], eax
call ebx
mov eax, dword [esi + 4]
test eax, eax
jne 0x455bf8
mov eax, dword [esp + 0x74]
mov dword [esp + 0x70], 1
mov dword [esp + 0x68], 0x3c
mov dword [esp + 0x6c], 0
mov dword [esp + 0x14], 6
mov dword [esp + 4], 0x3c
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], eax
mov dword [esp], 0x4f6f51
mov dword [0x522efc], 0x4e8fa0
mov dword [sym.zsh.exe_noerrs], 2
mov byte [0x522cc3], 0
call sym.zsh.exe_assignnparam
mov eax, dword [esp + 0x74]
mov dword [esp + 0x70], 1
mov dword [esp + 0x68], 0x3c
mov dword [esp + 0x6c], 0
mov dword [esp + 0x14], 6
mov dword [esp + 4], 0x3c
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], eax
mov dword [esp], 0x4f6f5b
call sym.zsh.exe_assignnparam
mov eax, dword [esp + 0x74]
mov dword [esp + 0x70], 1
mov dword [esp + 0x68], 0x28
mov dword [esp + 0x6c], 0
mov dword [esp + 0x14], 6
mov dword [esp + 4], 0x28
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], eax
mov dword [esp], 0x4f6f64
call sym.zsh.exe_assignnparam
mov eax, dword [esp + 0x74]
mov dword [esp + 0x70], 1
mov dword [esp + 0x68], 0x64
mov dword [esp + 0x6c], 0
mov dword [esp + 0x14], 6
mov dword [esp + 4], 0x64
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], eax
mov dword [esp], 0x4f6f6f
call sym.zsh.exe_assignnparam
mov dword [esp], 0x4f6f77
call sym.zsh.exe_ztrdup_metafy
mov dword [esp + 8], 6
mov dword [esp + 4], eax
mov dword [esp], 0x4f6f80
call sym.zsh.exe_assignsparam
mov dword [esp], str._J___U_user__S_system__P_cpu__E_total
call sym.zsh.exe_ztrdup_metafy
mov dword [esp + 8], 6
mov dword [esp + 4], eax
mov dword [esp], str.TIMEFMT
call sym.zsh.exe_assignsparam
mov eax, dword [str._n_has__a__l_from__m.]
mov dword [esp], eax
call sym.zsh.exe_ztrdup_metafy
mov dword [esp + 8], 6
mov dword [esp + 4], eax
mov dword [esp], 0x4f6fbb
call sym.zsh.exe_assignsparam
mov dword [esp], 0x100
call sym.zsh.exe_zalloc
mov dword [esp + 4], 0x100
mov dword [esp], eax
mov ebx, eax
call sub.cygwin1.dll_gethostname
mov dword [esp], ebx
call sym.zsh.exe_ztrdup_metafy
mov dword [esp + 8], 6
mov dword [esp + 4], eax
mov dword [esp], 0x4f6fc4
call sym.zsh.exe_assignsparam
mov dword [esp + 4], 0x100
mov dword [esp], ebx
call sym.zsh.exe_zfree
call sub.cygwin1.dll_getlogin
test eax, eax
je 0x456120
cmp byte [eax], 0
je 0x456120
mov dword [esp], eax
lea esi, [esp + 0x34]
call sym.zsh.exe_ztrdup_metafy
mov dword [esp + 8], 6
mov dword [esp + 4], eax
mov dword [esp], str.LOGNAME
call sym.zsh.exe_assignsparam
call sym.zsh.exe_pushheap
mov ebx, dword [0x52a064]
mov ebp, dword [ebx]
test ebp, ebp
je 0x455ed7
lea esi, [esi]
lea esi, [esi]
mov dword [esp], ebp
call sub.cygwin1.dll_strlen
add eax, 1
mov dword [esp], eax
call sym.zsh.exe_zhalloc
mov dword [esp + 4], ebp
mov dword [esp], eax
call sub.cygwin1.dll_strcpy
mov ebp, eax
movzx eax, byte [eax]
test al, al
je 0x455ecd
mov edi, ebp
cmp al, 0x3d
jne 0x455ec9
jmp 0x455ecd
movzx eax, byte [edi + 1]
lea edx, [edi + 1]
test al, al
je 0x456130
cmp al, 0x3d
je 0x456130
mov edi, edx
test al, al
jns 0x455eb0
mov ebp, dword [ebx + 4]
add ebx, 4
test ebp, ebp
jne 0x455e80
call sym.zsh.exe_popheap
movzx eax, byte [esp + 0x2f]
mov dword [esp + 4], str.HOME
mov byte [0x522cc3], al
mov eax, dword [sym.zsh.exe_paramtab]
mov dword [esp], eax
call dword [eax + 0x24]
test byte [sym.zsh.exe_emulation], 0x10
je 0x4562c8
mov edx, dword [eax + 8]
mov ecx, edx
and ecx, 0xfeffffff
mov dword [eax + 8], ecx
and dh, 0x10
je 0x4562f6
mov eax, dword [sym.zsh.exe_paramtab]
mov dword [esp + 4], str.LOGNAME
mov dword [esp], eax
call dword [eax + 0x24]
test byte [eax + 9], 0x10
je 0x4562e2
mov eax, dword [sym.zsh.exe_paramtab]
mov dword [esp + 4], str.SHLVL
mov dword [esp], eax
call dword [eax + 0x24]
mov edx, dword [0x522dfc]
mov dword [esp + 4], 0x4f6639
mov ebx, eax
mov eax, dword [0x522df8]
mov dword [esp], esi
add eax, 1
mov dword [esp + 8], eax
adc edx, 0
mov dword [0x522dfc], edx
mov dword [0x522df8], eax
call sub.cygwin1.dll_sprintf
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.0044e260
call fcn.0040e520
lea eax, [esp + 0x68]
mov dword [esp], eax
call sub.cygwin1.dll_uname_x
test eax, eax
je 0x456298
mov dword [esp], str.unknown
call sym.zsh.exe_ztrdup
mov dword [esp + 8], 6
mov dword [esp + 4], eax
mov dword [esp], str.CPUTYPE
call sym.zsh.exe_assignsparam
mov dword [esp], str.i686
xor ebx, ebx
call sym.zsh.exe_ztrdup_metafy
mov dword [esp + 8], 6
mov dword [esp + 4], eax
mov dword [esp], str.MACHTYPE
call sym.zsh.exe_assignsparam
mov dword [esp], str.cygwin
call sym.zsh.exe_ztrdup_metafy
mov dword [esp + 8], 6
mov dword [esp + 4], eax
mov dword [esp], str.OSTYPE
call sym.zsh.exe_assignsparam
mov eax, dword [sym.zsh.exe_ttystrname]
mov dword [esp], eax
call sym.zsh.exe_ztrdup_metafy
mov dword [esp + 8], 6
mov dword [esp + 4], eax
mov dword [esp], 0x4f7008
call sym.zsh.exe_assignsparam
mov dword [esp], 0x4f700c
call sym.zsh.exe_ztrdup_metafy
mov dword [esp + 8], 6
mov dword [esp + 4], eax
mov dword [esp], str.VENDOR
call sym.zsh.exe_assignsparam
mov eax, dword [sym.zsh.exe_posixzero]
mov dword [esp], eax
call sym.zsh.exe_ztrdup
mov dword [esp + 8], 6
mov dword [esp + 4], eax
mov dword [esp], str.ZSH_ARGZERO
call sym.zsh.exe_assignsparam
mov dword [esp], 0x4f7022
call sym.zsh.exe_ztrdup_metafy
mov dword [esp + 8], 6
mov dword [esp + 4], eax
mov dword [esp], str.ZSH_VERSION
call sym.zsh.exe_assignsparam
mov dword [esp], str.zsh_5.8_0_g77d203f
call sym.zsh.exe_ztrdup_metafy
mov dword [esp + 8], 6
mov dword [esp + 4], eax
mov dword [esp], str.ZSH_PATCHLEVEL
call sym.zsh.exe_assignsparam
mov dword [esp], 0x90
call sym.zsh.exe_zalloc
mov dword [esp + 8], 6
mov dword [esp + 4], eax
mov esi, eax
mov dword [esp], str.signals
call sym.zsh.exe_assignaparam
nop
mov eax, dword [ebx + 0x4ea780]
mov dword [esp], eax
call sym.zsh.exe_ztrdup_metafy
mov dword [esi + ebx], eax
add ebx, 4
test eax, eax
jne 0x4560f0
mov dword [sym.zsh.exe_noerrs], 0
add esp, 0x1fc
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [0x523b84]
jmp 0x455e41
cmp edx, ebp
je 0x455ecd
cmp al, 0x3d
jne 0x455ecd
mov byte [edx], 0
movzx eax, byte [ebp]
test byte [eax + eax + sym.zsh.exe_typtab], 1
jne 0x455ecd
mov dword [esp], ebp
call sym.zsh.exe_isident
test eax, eax
je 0x455ecd
mov dword [esp + 4], 0x5b
mov dword [esp], ebp
call sub.cygwin1.dll_strchr
test eax, eax
jne 0x455ecd
mov eax, dword [sym.zsh.exe_paramtab]
mov dword [esp + 4], ebp
mov dword [esp], eax
call dword [eax + 0x24]
test eax, eax
je 0x4561a9
mov eax, dword [eax + 8]
test eax, entry0
jne 0x455ecd
test eax, 0x20000
jne 0x456329
add edi, 2
mov dword [esp + 8], 3
mov dword [esp], edi
mov dword [esp + 4], 0xffffffff
call sym.zsh.exe_metafy
mov dword [esp + 8], 8
mov dword [esp + 4], eax
mov dword [esp], ebp
call sym.zsh.exe_assignsparam
mov edi, eax
test eax, eax
je 0x455ecd
mov eax, dword [eax + 8]
mov ebp, eax
or ebp, 0x1000
mov dword [edi + 8], ebp
test eax, 0x100000
je 0x456317
mov eax, dword [edi + 4]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 0x34], eax
lea eax, [esp + 0x68]
mov dword [esp + 4], esi
mov dword [esp], eax
call sym.zsh.exe_fetchvalue
mov edx, eax
test eax, eax
je 0x456232
mov dword [esp], eax
call sym.zsh.exe_getstrvalue
mov edx, eax
mov eax, dword [edi + 4]
mov ecx, ebp
call fcn.0044d0f0
mov dword [edi + 0x24], eax
jmp 0x455ecd
mov eax, dword [str.CDPATH]
test eax, eax
je 0x455c25
mov ebx, 0x4e8fe0
lea esi, [esi]
mov edx, dword [sym.zsh.exe_paramtab]
mov esi, dword [edx + 0x20]
mov dword [esp], eax
call sym.zsh.exe_ztrdup
mov dword [esp + 8], ebx
add ebx, 0x38
mov dword [esp + 4], eax
mov eax, dword [sym.zsh.exe_paramtab]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 4]
test eax, eax
jne 0x456260
jmp 0x455c25
lea eax, [esp + 0x16c]
mov dword [esp], eax
call sym.zsh.exe_ztrdup_metafy
mov dword [esp + 8], 6
mov dword [esp + 4], eax
mov dword [esp], str.CPUTYPE
call sym.zsh.exe_assignsparam
jmp 0x455fc8
mov edx, dword [sym.zsh.exe_home]
test edx, edx
jne 0x455f1d
or dword [eax + 8], 0x1000000
jmp 0x455f1d
mov edx, dword [eax + 0x10]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0044e260
jmp 0x455f3a
mov edx, dword [sym.zsh.exe_home]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0044e260
jmp 0x455f1d
mov ebx, 0x4e9220
jmp 0x455bdd
mov eax, dword [ebx]
mov dword [esp], eax
call sym.zsh.exe_ztrdup
mov dword [edi + 0x24], eax
jmp 0x455ecd
cmp byte [0x522d4d], 0
je 0x4561a9
jmp 0x455ecd