Function at 0x61085b90
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xd7c
mov eax, dword [ebp + 8]
mov ecx, dword [0x611093c4]
mov dword [ebp - 0xd10], eax
mov eax, dword [ebp + 0xc]
test ecx, ecx
sete dl
test eax, eax
sete al
or dl, al
je 0x61085c49
cmp ecx, dword [ebp + 0xc]
jne 0x61085c70
mov eax, dword [ebp - 0xd10]
mov edx, dword [0x611093c0]
mov ebx, dword [eax + 4]
mov dword [ebp - 0xd14], edx
mov edx, eax
mov eax, dword [eax]
cmp ebx, eax
jge 0x61085fe8
lea eax, [ebx + ebx*4]
mov ecx, dword [edx + 8]
lea eax, [ebx + eax*2]
shl eax, 2
inc ebx
add eax, ecx
mov dword [edx + 4], ebx
mov esi, dword [ebp - 0xd14]
test esi, esi
je 0x61085f57
mov ebx, dword [ebp - 0xd14]
lea edx, [eax + 4]
mov dword [eax], edx
mov dword [esp + 8], ebx
mov eax, dword [eax]
mov dword [esp], 0x28
mov dword [esp + 4], eax
call fcn.610ff0f0
sub esp, 0xc
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0xd10]
call sym.get_unix_group_sidlist_passwd__cygsidlist_
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.610ff240
sub esp, 8
test eax, eax
jne 0x61085bc9
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebp - 0xd10]
mov edx, dword [0x611093ec]
mov ebx, dword [eax + 4]
mov dword [ebp - 0xd20], edx
mov edx, eax
mov eax, dword [eax]
cmp ebx, eax
jge 0x610860a7
lea eax, [ebx + ebx*4]
mov edi, dword [edx + 8]
mov esi, dword [ebp - 0xd20]
lea eax, [ebx + eax*2]
shl eax, 2
inc ebx
mov dword [edx + 4], ebx
add eax, edi
test esi, esi
je 0x61085fae
mov ebx, dword [ebp - 0xd20]
lea edx, [eax + 4]
mov dword [eax], edx
mov dword [esp + 8], ebx
mov eax, dword [eax]
mov dword [esp], 0x28
mov dword [esp + 4], eax
call fcn.610ff0f0
mov eax, dword [ebp - 0xd10]
sub esp, 0xc
mov edx, dword [0x611093c8]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 0xd2c], edx
cmp ebx, eax
jge 0x61085e85
lea eax, [ebx + ebx*4]
lea eax, [ebx + eax*2]
lea edx, [eax*4]
mov eax, dword [ebp - 0xd10]
inc ebx
mov ecx, dword [eax + 8]
add edx, ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0xd2c]
test eax, eax
je 0x61085f62
mov ebx, dword [ebp - 0xd2c]
lea eax, [edx + 4]
mov dword [edx], eax
mov dword [esp + 8], ebx
mov eax, dword [edx]
mov dword [esp], 0x28
mov dword [esp + 4], eax
call fcn.610ff0f0
sub esp, 0xc
lea esi, [ebp - 0x238]
lea edi, [ebp - 0x128]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym.extract_nt_dom_user_passwd_const__char__char_
mov dword [esp], esi
lea edx, [ebp - 0x448]
lea eax, [ebp - 0x558]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call sym.get_logon_server_char_const__char__wchar_t_
test al, al
jne 0x61086167
mov edx, dword [ebp - 0xd10]
mov eax, dword [ebp + 0x10]
call sym.get_unix_group_sidlist_passwd__cygsidlist_
mov dword [esp], 0
xor eax, eax
mov dword [esp + 0x18], eax
lea eax, [ebp - 0xce4]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0xce8]
mov dword [esp + 0x10], eax
mov eax, 0xffffffff
mov dword [esp + 0xc], eax
lea eax, [ebp - 0xcec]
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
call fcn.610ffbc8
sub esp, 0x1c
test eax, eax
jne 0x61085f3c
mov eax, 0x101
lea ebx, [ebp - 0xcf0]
mov edi, 0x101
mov dword [ebp - 0xcf8], eax
lea eax, [ebp - 0xcf4]
lea edx, [ebp - 0xcc8]
mov dword [ebp - 0xcf4], edi
mov dword [esp + 0x18], ebx
lea ebx, [ebp - 0xcf8]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x768]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edx
mov eax, dword [0x611093c0]
mov dword [esp], 0
mov dword [esp + 4], eax
call fcn.610ff630
sub esp, 0x1c
test eax, eax
je 0x61085e69
mov esi, 0x101
mov dword [ebp - 0xcf8], esi
mov dword [esp + 4], ebx
lea ebx, [ebp - 0xcc8]
mov dword [esp], ebx
call sub.KERNEL32.dll_GetComputerNameA
sub esp, 8
test eax, eax
jne 0x61086482
mov eax, str._ext_build_netrel_src_cygwin_1.5.25_7_winsup_cygwin_security.cc
mov edx, 0x166
call sym.__Z8seterrnoPKci_8
xor eax, eax
movzx eax, al
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea ebx, [eax + eax]
lea eax, [ebx + eax*8]
lea eax, [ebx + eax*2]
shl eax, 2
mov dword [esp], eax
call sym.operator_new___unsigned_int_
mov dword [ebp - 0xd30], eax
mov edx, eax
lea ecx, [ebx - 1]
jmp 0x61085eaf
lea eax, [edx + 4]
dec ecx
mov dword [edx], eax
add edx, 0x2c
cmp ecx, 0xffffffff
jne 0x61085ea6
mov eax, dword [ebp - 0xd30]
test eax, eax
je 0x61085d42
mov edx, dword [ebp - 0xd10]
xor eax, eax
mov dword [ebp - 0xd34], eax
mov ebx, dword [edx + 4]
shl dword [edx], 1
cmp ebx, 0
jle 0x61086242
mov esi, dword [edx + 8]
xor edi, edi
jmp 0x61085f24
lea eax, [edx + 4]
mov dword [edx], eax
mov dword [esp + 8], ecx
mov eax, dword [edx]
mov dword [esp], 0x28
mov dword [esp + 4], eax
call fcn.610ff0f0
mov edx, dword [ebp - 0xd10]
sub esp, 0xc
mov ebx, dword [edx + 4]
mov esi, dword [edx + 8]
inc dword [ebp - 0xd34]
add edi, 0x2c
cmp ebx, dword [ebp - 0xd34]
jle 0x6108624b
mov ecx, dword [esi + edi]
mov eax, dword [ebp - 0xd30]
test ecx, ecx
lea edx, [edi + eax]
jne 0x61085ee5
mov dword [edx], 0
jmp 0x61085f0f
mov ecx, eax
mov edx, 0x159
mov eax, str._ext_build_netrel_src_cygwin_1.5.25_7_winsup_cygwin_security.cc
call sym.__Z23seterrno_from_win_errorPKcim_12
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [eax], 0
jmp 0x61085c2e
mov dword [edx], 0
jmp 0x61085d42
mov eax, dword [ebp - 0xd10]
mov esi, dword [eax + 8]
test esi, esi
jne 0x61086a8f
mov esi, dword [ebp - 0xd24]
mov eax, dword [ebp - 0xd10]
mov edx, dword [ebp - 0xd10]
mov dword [eax + 8], esi
lea eax, [ebx + ebx*4]
lea eax, [ebx + eax*2]
inc ebx
lea eax, [esi + eax*4]
mov dword [edx + 4], ebx
mov edx, dword [ebp - 0xd20]
test edx, edx
jne 0x610861db
mov dword [eax], 0
mov edx, dword [0x611093c8]
mov dword [ebp - 0xd2c], edx
mov edx, dword [ebp - 0xd10]
mov eax, dword [edx]
cmp ebx, eax
jge 0x61085e85
mov esi, dword [edx + 8]
lea eax, [ebx + ebx*4]
lea eax, [ebx + eax*2]
lea edx, [esi + eax*4]
mov eax, dword [ebp - 0xd10]
inc ebx
jmp 0x61085d0d
lea ebx, [eax + eax]
lea eax, [ebx + eax*8]
lea eax, [ebx + eax*2]
shl eax, 2
mov dword [esp], eax
call sym.operator_new___unsigned_int_
mov dword [ebp - 0xd18], eax
mov edx, eax
lea ecx, [ebx - 1]
jmp 0x61086019
lea eax, [edx + 4]
dec ecx
mov dword [edx], eax
add edx, 0x2c
cmp ecx, 0xffffffff
jne 0x61086010
mov eax, dword [ebp - 0xd18]
test eax, eax
je 0x61085c2e
mov eax, dword [ebp - 0xd10]
xor edi, edi
mov dword [ebp - 0xd1c], edi
mov ebx, dword [eax + 4]
shl dword [eax], 1
cmp ebx, 0
jle 0x6108620d
mov esi, dword [eax + 8]
xor edi, edi
jmp 0x6108608f
lea eax, [edx + 4]
mov dword [edx], eax
mov dword [esp + 8], ecx
mov eax, dword [edx]
mov dword [esp], 0x28
mov dword [esp + 4], eax
call fcn.610ff0f0
mov edx, dword [ebp - 0xd10]
sub esp, 0xc
mov ebx, dword [edx + 4]
mov esi, dword [edx + 8]
inc dword [ebp - 0xd1c]
add edi, 0x2c
cmp ebx, dword [ebp - 0xd1c]
jle 0x61086216
mov ecx, dword [esi + edi]
mov eax, dword [ebp - 0xd18]
test ecx, ecx
lea edx, [edi + eax]
jne 0x61086050
mov dword [edx], 0
jmp 0x6108607a
lea ebx, [eax + eax]
lea eax, [ebx + eax*8]
lea eax, [ebx + eax*2]
shl eax, 2
mov dword [esp], eax
call sym.operator_new___unsigned_int_
mov dword [ebp - 0xd24], eax
mov edx, eax
lea ecx, [ebx - 1]
jmp 0x610860d1
lea eax, [edx + 4]
dec ecx
mov dword [edx], eax
add edx, 0x2c
cmp ecx, 0xffffffff
jne 0x610860c8
mov ebx, dword [ebp - 0xd24]
test ebx, ebx
je 0x610861ff
mov ebx, dword [ebp - 0xd10]
xor ecx, ecx
mov dword [ebp - 0xd28], ecx
mov eax, ebx
shl dword [ebx], 1
mov ebx, dword [ebx + 4]
cmp ebx, 0
jle 0x61085f6d
mov esi, dword [eax + 8]
xor edi, edi
jmp 0x6108614f
lea eax, [edx + 4]
mov dword [edx], eax
mov dword [esp + 8], ecx
mov eax, dword [edx]
mov dword [esp], 0x28
mov dword [esp + 4], eax
call fcn.610ff0f0
mov edx, dword [ebp - 0xd10]
sub esp, 0xc
mov ebx, dword [edx + 4]
mov esi, dword [edx + 8]
inc dword [ebp - 0xd28]
add edi, 0x2c
cmp ebx, dword [ebp - 0xd28]
jle 0x61085f76
mov ecx, dword [esi + edi]
mov eax, dword [ebp - 0xd24]
test ecx, ecx
lea edx, [edi + eax]
jne 0x61086110
mov dword [edx], 0
jmp 0x6108613a
lea ebx, [ebp - 0x978]
mov edx, edi
mov ecx, 0x101
mov eax, ebx
xor edi, edi
call sym.__Z12sys_mbstowcsPwPKci_12
mov dword [esp + 8], edi
lea eax, [ebp - 0xccc]
lea edx, [ebp - 0x448]
mov dword [esp + 0x18], eax
lea eax, [ebp - 0xcd0]
mov dword [esp + 0x14], eax
mov eax, 0xffffffff
mov dword [esp + 0x10], eax
lea eax, [ebp - 0xcd4]
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebx
mov dword [esp], edx
call fcn.610ffc20
sub esp, 0x1c
test eax, eax
je 0x61086267
mov ecx, eax
mov edx, 0x104
mov eax, str._ext_build_netrel_src_cygwin_1.5.25_7_winsup_cygwin_security.cc
call sym.__Z23seterrno_from_win_errorPKcim_12
jmp 0x61085d85
mov ebx, dword [ebp - 0xd20]
lea edx, [eax + 4]
mov dword [eax], edx
mov dword [esp + 8], ebx
mov eax, dword [eax]
mov dword [esp], 0x28
mov dword [esp + 4], eax
call fcn.610ff0f0
sub esp, 0xc
mov eax, dword [ebp - 0xd10]
mov ebx, dword [eax + 4]
jmp 0x61085fb4
mov eax, dword [ebp - 0xd10]
mov esi, dword [eax + 8]
test esi, esi
jne 0x61086abb
mov esi, dword [ebp - 0xd18]
mov eax, dword [ebp - 0xd10]
mov edx, dword [ebp - 0xd10]
mov dword [eax + 8], esi
lea eax, [ebx + ebx*4]
lea eax, [ebx + eax*2]
lea eax, [esi + eax*4]
inc ebx
jmp 0x61085bf9
mov edx, dword [ebp - 0xd10]
mov esi, dword [edx + 8]
test esi, esi
jne 0x61086aa5
mov esi, dword [ebp - 0xd30]
mov eax, dword [ebp - 0xd10]
mov dword [eax + 8], esi
jmp 0x61085fd3
mov dword [esp], esi
lea ebx, [ebp - 0x768]
call sym.cygwin1.dll__strlen
mov dword [ebp - 0xd38], eax
mov dword [esp], ebx
mov bl, 0x5c
mov dword [esp + 4], esi
call sym.cygwin1.dll__strcpy
mov eax, dword [ebp - 0xd38]
xor ecx, ecx
xor edx, edx
mov byte [eax + ebp - 0x768], bl
inc eax
mov dword [ebp - 0xd38], eax
mov dword [ebp - 0xd3c], ecx
mov esi, esi
lea edi, [edi]
cmp edx, dword [ebp - 0xcd0]
jae 0x6108638d
mov eax, 0x101
mov edx, 0x28
lea ebx, [ebp - 0x9a4]
mov dword [ebp - 0xcdc], eax
mov eax, 7
mov dword [ebp - 0xce0], edx
mov edx, dword [ebp - 0xd3c]
mov dword [ebp - 0xcd8], eax
mov eax, dword [ebp - 0xcd4]
mov dword [ebp - 0x9a8], ebx
mov ecx, dword [eax + edx*4]
mov edx, 0x101
mov dword [esp], 0xffffffff
mov ebx, dword [ebp - 0xd38]
lea eax, [ebp + ebx - 0x768]
call sym.__Z12sys_wcstombsPciPKwi_16
sub esp, 4
lea eax, [ebp - 0xcd8]
lea edx, [ebp - 0xcdc]
mov dword [esp + 0x18], eax
lea ebx, [ebp - 0xab8]
lea eax, [ebp - 0xce0]
mov dword [esp + 0x14], edx
lea edx, [ebp - 0x768]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x9a8]
mov dword [esp + 4], edx
mov dword [esp], 0
mov dword [esp + 8], eax
call fcn.610ff5e0
sub esp, 0x1c
test eax, eax
jne 0x610863a3
test byte [0x6110c854], 1
jne 0x6108644c
inc dword [ebp - 0xd3c]
mov ebx, dword [ebp - 0xd3c]
cmp ebx, dword [ebp - 0xcd0]
jb 0x610862bc
mov eax, dword [ebp - 0xcd4]
mov dword [esp], eax
call fcn.610ffb78
sub esp, 4
jmp 0x61085d85
mov ecx, dword [ebp - 0xcd8]
lea eax, [ecx - 1]
cmp eax, 1
setbe dl
cmp ecx, 4
sete al
or eax, edx
test al, 1
jne 0x610863e1
cmp ecx, 5
je 0x610863e1
test byte [0x6110c854], 1
jne 0x61086a4b
inc dword [ebp - 0xd3c]
mov edx, dword [ebp - 0xd3c]
jmp 0x610862b0
mov eax, dword [ebp - 0xd10]
mov edx, dword [ebp - 0x9a8]
mov ebx, dword [eax + 4]
mov dword [ebp - 0xd40], edx
mov edx, eax
mov eax, dword [eax]
cmp ebx, eax
jge 0x610868c3
mov esi, dword [edx + 8]
lea eax, [ebx + ebx*4]
lea eax, [ebx + eax*2]
lea edx, [esi + eax*4]
mov eax, dword [ebp - 0xd10]
inc ebx
mov dword [eax + 4], ebx
mov ebx, dword [ebp - 0xd40]
test ebx, ebx
je 0x610868b8
mov ebx, dword [ebp - 0xd40]
lea eax, [edx + 4]
mov dword [edx], eax
mov dword [esp + 8], ebx
mov eax, dword [edx]
mov dword [esp], 0x28
mov dword [esp + 4], eax
call fcn.610ff0f0
sub esp, 0xc
jmp 0x610863d0
mov dword [esp], 0x6110c854
lea eax, [ebp - 0x768]
mov dword [esp + 0x10], eax
mov eax, str.LookupAccountName__s____E
mov dword [esp + 0xc], eax
mov eax, str.bool_get_user_groups_WCHAR__cygsidlist__char__char_
mov dword [esp + 8], eax
mov eax, 0x40
mov dword [esp + 4], eax
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x610863d0
mov eax, dword [ebp - 0xcf4]
lea edx, [ebp - 0x18]
xor esi, esi
mov edi, dword [ebp - 0xcf8]
add edx, eax
lea eax, [ebp - 0x18]
add eax, edi
mov byte [eax - 0xcb0], 0x5c
inc dword [ebp - 0xcf8]
mov byte [edx - 0x750], 0x5c
xor edx, edx
inc dword [ebp - 0xcf4]
cmp edx, dword [ebp - 0xce8]
mov dword [ebp - 0xd4c], esi
jmp 0x610864e0
xor eax, eax
test al, al
jne 0x61086644
inc dword [ebp - 0xd4c]
mov ebx, dword [ebp - 0xd4c]
cmp ebx, dword [ebp - 0xce8]
jae 0x61086817
mov ebx, dword [ebp - 0xd4c]
lea edx, [ebp - 0xcfc]
mov ecx, 0xffffffff
mov eax, dword [ebp - 0xcec]
mov eax, dword [eax + ebx*4]
xor ebx, ebx
mov dword [esp + 0x18], edx
lea edx, [ebp - 0xd04]
mov dword [esp + 0x1c], ebx
lea ebx, [ebp - 0xd00]
mov dword [esp + 0xc], edx
mov edx, 1
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.610ffbf0
sub esp, 0x20
test eax, eax
jne 0x610864c4
mov byte [ebp - 0xd4d], 1
xor eax, eax
mov dword [ebp - 0xd54], eax
xor eax, eax
cmp eax, dword [ebp - 0xd00]
jae 0x610867e8
mov ecx, dword [ebp - 0xd04]
xor eax, eax
mov dword [ebp - 0xd68], eax
lea esi, [esi]
mov edx, dword [ebp - 0xd68]
mov eax, dword [edx + ecx]
mov dword [esp + 4], eax
mov ebx, dword [ebp + 0xc]
mov dword [esp], ebx
call fcn.610ff240
sub esp, 8
test eax, eax
jne 0x61086835
mov eax, dword [ebp - 0xd10]
xor esi, esi
mov ebx, dword [eax + 4]
cmp ebx, 0
jle 0x6108680c
mov ecx, dword [ebp - 0xd04]
xor edi, edi
jmp 0x610865b9
inc esi
add edi, 0x2c
cmp ebx, esi
jle 0x61086620
mov edx, dword [ebp - 0xd68]
mov eax, dword [edx + ecx + 4]
cmp eax, 2
sete dl
cmp eax, 5
sete al
or dl, al
je 0x610865b1
mov edx, dword [ebp - 0xd10]
mov ebx, dword [ebp - 0xd68]
mov eax, dword [edx + 8]
add eax, edi
mov edx, dword [eax]
mov eax, dword [ebx + ecx]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.610ff240
sub esp, 8
test eax, eax
jne 0x61086835
mov eax, dword [ebp - 0xd10]
inc esi
add edi, 0x2c
mov ecx, dword [ebp - 0xd04]
mov ebx, dword [eax + 4]
cmp ebx, esi
jg 0x610865b9
mov esi, esi
lea edi, [edi]
inc dword [ebp - 0xd54]
add dword [ebp - 0xd68], 0xc
mov ebx, dword [ebp - 0xd54]
cmp ebx, dword [ebp - 0xd00]
jb 0x61086570
jmp 0x610867ee
lea eax, [ebp - 0x9a4]
mov edx, dword [ebp - 0xd4c]
mov edi, 0x101
mov dword [ebp - 0x9a8], eax
mov eax, 0x28
mov ebx, dword [ebp - 0xcf4]
mov dword [ebp - 0xd0c], eax
mov eax, dword [ebp - 0xcec]
mov esi, 7
mov dword [ebp - 0xd08], edi
mov ecx, dword [eax + edx*4]
lea eax, [ebp - 0x768]
mov dword [ebp - 0xcf0], esi
add eax, ebx
mov edx, 0x101
mov dword [esp], 0xffffffff
lea ebx, [ebp - 0xcf0]
call sym.__Z12sys_wcstombsPciPKwi_16
sub esp, 4
lea eax, [ebp - 0xd08]
lea edx, [ebp - 0xab8]
mov dword [esp + 0x18], ebx
lea ebx, [ebp - 0xd0c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ebx
mov eax, dword [ebp - 0x9a8]
mov dword [esp], 0
mov dword [esp + 8], eax
lea eax, [ebp - 0x768]
mov dword [esp + 4], eax
call fcn.610ff5e0
sub esp, 0x1c
test eax, eax
je 0x6108697a
mov ecx, dword [ebp - 0xcf0]
lea eax, [ecx - 1]
cmp eax, 1
setbe dl
cmp ecx, 4
sete al
or eax, edx
test al, 1
jne 0x61086764
cmp ecx, 5
je 0x61086764
test byte [0x6110c854], 1
je 0x610864ce
mov dword [esp + 0x14], ecx
lea eax, [ebp - 0x768]
mov edx, dword [ebp - 0xcf4]
mov dword [esp], 0x6110c854
add eax, edx
mov dword [esp + 0x10], eax
mov eax, str.Rejecting_local__s._use:__d
mov dword [esp + 0xc], eax
mov eax, str.bool_get_user_local_groups_cygsidlist__void_
mov dword [esp + 8], eax
mov eax, 0x40
mov dword [esp + 4], eax
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x610864ce
xor eax, eax
mov esi, dword [ebp - 0x9a8]
mov dword [ebp - 0xd58], eax
mov eax, dword [ebp - 0xd10]
mov eax, dword [eax + 4]
test eax, eax
jle 0x6108683d
xor edi, edi
jmp 0x610867b5
cmp ecx, esi
sete al
movzx eax, al
test al, al
jne 0x61086af6
inc dword [ebp - 0xd58]
add edi, 0x2c
mov ebx, dword [ebp - 0xd10]
mov eax, dword [ebp - 0xd58]
cmp dword [ebx + 4], eax
jle 0x6108683d
mov edx, dword [ebp - 0xd10]
mov ebx, dword [edx + 8]
add ebx, edi
mov ecx, dword [ebx]
test ecx, ecx
sete dl
test esi, esi
sete al
or dl, al
jne 0x61086787
mov dword [esp + 4], esi
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.610ff240
sub esp, 8
test eax, eax
setne al
jmp 0x6108678c
mov ecx, dword [ebp - 0xd04]
mov byte [ebp - 0xd4d], 0
mov dword [esp], ecx
call fcn.610ffb78
movzx eax, byte [ebp - 0xd4d]
sub esp, 4
jmp 0x610864c6
mov ecx, dword [ebp - 0xd04]
jmp 0x61086620
mov eax, dword [ebp - 0xcec]
mov dword [esp], eax
call fcn.610ffb78
mov eax, 1
sub esp, 4
movzx eax, al
jmp 0x61085e7d
mov ecx, dword [ebp - 0xd04]
jmp 0x610867f5
mov eax, 0xffffffff
test eax, eax
jns 0x610864ce
mov eax, dword [ebp - 0xd10]
mov ebx, dword [ebp - 0x9a8]
mov edx, eax
mov dword [ebp - 0xd5c], ebx
mov ebx, dword [eax + 4]
mov eax, dword [eax]
cmp ebx, eax
jge 0x61086b0c
mov esi, dword [edx + 8]
lea eax, [ebx + ebx*4]
lea eax, [ebx + eax*2]
lea edx, [esi + eax*4]
mov eax, dword [ebp - 0xd10]
inc ebx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0xd5c]
test eax, eax
je 0x61086b01
mov ebx, dword [ebp - 0xd5c]
lea eax, [edx + 4]
mov dword [edx], eax
mov dword [esp + 8], ebx
mov eax, dword [edx]
mov dword [esp], 0x28
mov dword [esp + 4], eax
call fcn.610ff0f0
sub esp, 0xc
jmp 0x610864ce
mov dword [edx], 0
jmp 0x610863d0
lea ebx, [eax + eax]
lea eax, [ebx + eax*8]
lea eax, [ebx + eax*2]
shl eax, 2
mov dword [esp], eax
call sym.operator_new___unsigned_int_
mov dword [ebp - 0xd44], eax
mov edx, eax
lea ecx, [ebx - 1]
jmp 0x610868ed
lea eax, [edx + 4]
dec ecx
mov dword [edx], eax
add edx, 0x2c
cmp ecx, 0xffffffff
jne 0x610868e4
mov ecx, dword [ebp - 0xd44]
test ecx, ecx
je 0x610863d0
mov eax, dword [ebp - 0xd10]
xor edx, edx
mov dword [ebp - 0xd48], edx
mov ebx, dword [eax + 4]
shl dword [eax], 1
cmp ebx, 0
jle 0x61086ad1
mov esi, dword [eax + 8]
xor edi, edi
jmp 0x61086962
lea eax, [edx + 4]
mov dword [edx], eax
mov dword [esp + 8], ecx
mov eax, dword [edx]
mov dword [esp], 0x28
mov dword [esp + 4], eax
call fcn.610ff0f0
mov edx, dword [ebp - 0xd10]
sub esp, 0xc
mov ebx, dword [edx + 4]
mov esi, dword [edx + 8]
inc dword [ebp - 0xd48]
add edi, 0x2c
cmp ebx, dword [ebp - 0xd48]
jle 0x61086ada
mov ecx, dword [esi + edi]
mov eax, dword [ebp - 0xd44]
test ecx, ecx
lea edx, [edi + eax]
jne 0x61086923
mov dword [edx], 0
jmp 0x6108694d
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x534
je 0x61086993
test byte [0x6110c854], 1
jne 0x61086bbf
mov edi, dword [ebp - 0xcf4]
lea eax, [ebp - 0x768]
lea ebx, [ebp - 0xd08]
add eax, edi
mov dword [esp + 4], eax
mov esi, dword [ebp - 0xcf8]
lea eax, [ebp - 0xcc8]
add eax, esi
mov dword [esp], eax
call sym.cygwin1.dll__strcpy
mov dword [esp + 0x14], ebx
lea edx, [ebp - 0xcf0]
lea eax, [ebp - 0xab8]
mov dword [esp + 0x18], edx
lea edx, [ebp - 0xd0c]
lea ebx, [ebp - 0xcc8]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov eax, dword [ebp - 0x9a8]
mov dword [esp + 4], ebx
mov dword [esp], 0
mov dword [esp + 8], eax
call fcn.610ff5e0
sub esp, 0x1c
test eax, eax
jne 0x610866f5
test byte [0x6110c854], 1
je 0x610866f5
mov dword [esp + 0x10], ebx
mov ecx, str.bool_get_user_local_groups_cygsidlist__void_
mov ebx, str.LookupAccountName__s____E
mov dword [esp + 0xc], ebx
mov edx, 0x40
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], 0x6110c854
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x610866f5
mov dword [esp + 0x18], ecx
lea eax, [ebp - 0x768]
mov edi, str.bool_get_user_groups_WCHAR__cygsidlist__char__char_
mov dword [esp + 0x10], eax
lea ebx, [ebp - 0xab8]
mov eax, str.Global_group__s_invalid._Domain:__s_Use:__d
mov dword [esp + 0x14], ebx
mov esi, 0x40
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], 0x6110c854
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x610863d0
mov dword [esp], esi
call sym.operator_delete___void_
mov edx, dword [ebp - 0xd10]
mov ebx, dword [edx + 4]
jmp 0x61085f7e
mov dword [esp], esi
call sym.operator_delete___void_
mov eax, dword [ebp - 0xd10]
mov ebx, dword [eax + 4]
jmp 0x61086253
mov dword [esp], esi
call sym.operator_delete___void_
mov edx, dword [ebp - 0xd10]
mov ebx, dword [edx + 4]
jmp 0x6108621e
mov edx, dword [ebp - 0xd10]
mov esi, dword [edx + 8]
test esi, esi
jne 0x61086bf5
mov esi, dword [ebp - 0xd44]
mov eax, dword [ebp - 0xd10]
mov dword [eax + 8], esi
jmp 0x61086405
mov eax, dword [ebp - 0xd58]
jmp 0x61086842
mov dword [edx], 0
jmp 0x610864ce
lea ebx, [eax + eax]
lea eax, [ebx + eax*8]
lea eax, [ebx + eax*2]
shl eax, 2
mov dword [esp], eax
call sym.operator_new___unsigned_int_
mov dword [ebp - 0xd60], eax
mov edx, eax
lea ecx, [ebx - 1]
jmp 0x61086b36
lea eax, [edx + 4]
dec ecx
mov dword [edx], eax
add edx, 0x2c
cmp ecx, 0xffffffff
jne 0x61086b2d
mov edi, dword [ebp - 0xd60]
test edi, edi
je 0x610864ce
mov edx, dword [ebp - 0xd10]
xor esi, esi
mov dword [ebp - 0xd64], esi
mov ebx, dword [edx + 4]
shl dword [edx], 1
cmp ebx, 0
jle 0x61086c0b
mov esi, dword [edx + 8]
xor edi, edi
jmp 0x61086ba7
lea eax, [edx + 4]
mov dword [edx], eax
mov dword [esp + 8], ecx
mov eax, dword [edx]
mov dword [esp], 0x28
mov dword [esp + 4], eax
call fcn.610ff0f0
mov edx, dword [ebp - 0xd10]
sub esp, 0xc
mov ebx, dword [edx + 4]
mov esi, dword [edx + 8]
inc dword [ebp - 0xd64]
add edi, 0x2c
cmp ebx, dword [ebp - 0xd64]
jle 0x61086c14
mov ecx, dword [esi + edi]
mov eax, dword [ebp - 0xd60]
test ecx, ecx
lea edx, [edi + eax]
jne 0x61086b6c
mov dword [edx], 0
jmp 0x61086b96
mov dword [esp], 0x6110c854
mov eax, str.LookupAccountName__s____E
lea edx, [ebp - 0x768]
mov dword [esp + 0xc], eax
mov eax, str.bool_get_user_local_groups_cygsidlist__void_
mov dword [esp + 8], eax
mov eax, 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 4], eax
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x61086993
mov dword [esp], esi
call sym.operator_delete___void_
mov eax, dword [ebp - 0xd10]
mov ebx, dword [eax + 4]
jmp 0x61086ae2
mov edx, dword [ebp - 0xd10]
mov esi, dword [edx + 8]
test esi, esi
jne 0x61086c2c
mov esi, dword [ebp - 0xd60]
mov eax, dword [ebp - 0xd10]
mov dword [eax + 8], esi
jmp 0x6108686e
mov dword [esp], esi
call sym.operator_delete___void_
mov eax, dword [ebp - 0xd10]
mov ebx, dword [eax + 4]
jmp 0x61086c18