Function at 0x610856d0
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 [0x611073a8]
mov dword [ebp - 0xd10], eax
mov eax, dword [ebp + 0xc]
test ecx, ecx
sete dl
test eax, eax
sete al
or dl, al
je 0x61085789
cmp ecx, dword [ebp + 0xc]
jne 0x610857b0
mov eax, dword [ebp - 0xd10]
mov edx, dword [0x611073a4]
mov ebx, dword [eax + 4]
mov dword [ebp - 0xd14], edx
mov edx, eax
mov eax, dword [eax]
cmp ebx, eax
jge 0x61085b28
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 0x61085a97
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.610fd0f0
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.610fd240
sub esp, 8
test eax, eax
jne 0x61085709
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebp - 0xd10]
mov edx, dword [0x611073d0]
mov ebx, dword [eax + 4]
mov dword [ebp - 0xd20], edx
mov edx, eax
mov eax, dword [eax]
cmp ebx, eax
jge 0x61085be7
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 0x61085aee
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.610fd0f0
mov eax, dword [ebp - 0xd10]
sub esp, 0xc
mov edx, dword [0x611073ac]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 0xd2c], edx
cmp ebx, eax
jge 0x610859c5
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 0x61085aa2
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.610fd0f0
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 0x61085ca7
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.610fdbc8
sub esp, 0x1c
test eax, eax
jne 0x61085a7c
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 [0x611073a4]
mov dword [esp], 0
mov dword [esp + 4], eax
call fcn.610fd630
sub esp, 0x1c
test eax, eax
je 0x610859a9
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 0x61085fc2
mov eax, str._ext_build_netrel_src_cygwin_1.5.24_2_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 0x610859ef
lea eax, [edx + 4]
dec ecx
mov dword [edx], eax
add edx, 0x2c
cmp ecx, 0xffffffff
jne 0x610859e6
mov eax, dword [ebp - 0xd30]
test eax, eax
je 0x61085882
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 0x61085d82
mov esi, dword [edx + 8]
xor edi, edi
jmp 0x61085a64
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.610fd0f0
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 0x61085d8b
mov ecx, dword [esi + edi]
mov eax, dword [ebp - 0xd30]
test ecx, ecx
lea edx, [edi + eax]
jne 0x61085a25
mov dword [edx], 0
jmp 0x61085a4f
mov ecx, eax
mov edx, 0x159
mov eax, str._ext_build_netrel_src_cygwin_1.5.24_2_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 0x6108576e
mov dword [edx], 0
jmp 0x61085882
mov eax, dword [ebp - 0xd10]
mov esi, dword [eax + 8]
test esi, esi
jne 0x610865cf
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 0x61085d1b
mov dword [eax], 0
mov edx, dword [0x611073ac]
mov dword [ebp - 0xd2c], edx
mov edx, dword [ebp - 0xd10]
mov eax, dword [edx]
cmp ebx, eax
jge 0x610859c5
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 0x6108584d
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 0x61085b59
lea eax, [edx + 4]
dec ecx
mov dword [edx], eax
add edx, 0x2c
cmp ecx, 0xffffffff
jne 0x61085b50
mov eax, dword [ebp - 0xd18]
test eax, eax
je 0x6108576e
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 0x61085d4d
mov esi, dword [eax + 8]
xor edi, edi
jmp 0x61085bcf
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.610fd0f0
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 0x61085d56
mov ecx, dword [esi + edi]
mov eax, dword [ebp - 0xd18]
test ecx, ecx
lea edx, [edi + eax]
jne 0x61085b90
mov dword [edx], 0
jmp 0x61085bba
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 0x61085c11
lea eax, [edx + 4]
dec ecx
mov dword [edx], eax
add edx, 0x2c
cmp ecx, 0xffffffff
jne 0x61085c08
mov ebx, dword [ebp - 0xd24]
test ebx, ebx
je 0x61085d3f
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 0x61085aad
mov esi, dword [eax + 8]
xor edi, edi
jmp 0x61085c8f
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.610fd0f0
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 0x61085ab6
mov ecx, dword [esi + edi]
mov eax, dword [ebp - 0xd24]
test ecx, ecx
lea edx, [edi + eax]
jne 0x61085c50
mov dword [edx], 0
jmp 0x61085c7a
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.610fdc20
sub esp, 0x1c
test eax, eax
je 0x61085da7
mov ecx, eax
mov edx, 0x104
mov eax, str._ext_build_netrel_src_cygwin_1.5.24_2_winsup_cygwin_security.cc
call sym.__Z23seterrno_from_win_errorPKcim_12
jmp 0x610858c5
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.610fd0f0
sub esp, 0xc
mov eax, dword [ebp - 0xd10]
mov ebx, dword [eax + 4]
jmp 0x61085af4
mov eax, dword [ebp - 0xd10]
mov esi, dword [eax + 8]
test esi, esi
jne 0x610865fb
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 0x61085739
mov edx, dword [ebp - 0xd10]
mov esi, dword [edx + 8]
test esi, esi
jne 0x610865e5
mov esi, dword [ebp - 0xd30]
mov eax, dword [ebp - 0xd10]
mov dword [eax + 8], esi
jmp 0x61085b13
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 0x61085ecd
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.610fd5e0
sub esp, 0x1c
test eax, eax
jne 0x61085ee3
test byte [0x6110a820], 1
jne 0x61085f8c
inc dword [ebp - 0xd3c]
mov ebx, dword [ebp - 0xd3c]
cmp ebx, dword [ebp - 0xcd0]
jb 0x61085dfc
mov eax, dword [ebp - 0xcd4]
mov dword [esp], eax
call fcn.610fdb78
sub esp, 4
jmp 0x610858c5
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 0x61085f21
cmp ecx, 5
je 0x61085f21
test byte [0x6110a820], 1
jne 0x6108658b
inc dword [ebp - 0xd3c]
mov edx, dword [ebp - 0xd3c]
jmp 0x61085df0
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 0x61086403
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 0x610863f8
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.610fd0f0
sub esp, 0xc
jmp 0x61085f10
mov dword [esp], 0x6110a820
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 0x61085f10
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 0x61086020
xor eax, eax
test al, al
jne 0x61086184
inc dword [ebp - 0xd4c]
mov ebx, dword [ebp - 0xd4c]
cmp ebx, dword [ebp - 0xce8]
jae 0x61086357
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.610fdbf0
sub esp, 0x20
test eax, eax
jne 0x61086004
mov byte [ebp - 0xd4d], 1
xor eax, eax
mov dword [ebp - 0xd54], eax
xor eax, eax
cmp eax, dword [ebp - 0xd00]
jae 0x61086328
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.610fd240
sub esp, 8
test eax, eax
jne 0x61086375
mov eax, dword [ebp - 0xd10]
xor esi, esi
mov ebx, dword [eax + 4]
cmp ebx, 0
jle 0x6108634c
mov ecx, dword [ebp - 0xd04]
xor edi, edi
jmp 0x610860f9
inc esi
add edi, 0x2c
cmp ebx, esi
jle 0x61086160
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 0x610860f1
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.610fd240
sub esp, 8
test eax, eax
jne 0x61086375
mov eax, dword [ebp - 0xd10]
inc esi
add edi, 0x2c
mov ecx, dword [ebp - 0xd04]
mov ebx, dword [eax + 4]
cmp ebx, esi
jg 0x610860f9
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 0x610860b0
jmp 0x6108632e
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.610fd5e0
sub esp, 0x1c
test eax, eax
je 0x610864ba
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 0x610862a4
cmp ecx, 5
je 0x610862a4
test byte [0x6110a820], 1
je 0x6108600e
mov dword [esp + 0x14], ecx
lea eax, [ebp - 0x768]
mov edi, str.Rejecting_local__s._use:__d
mov edx, dword [ebp - 0xcf4]
mov esi, str.bool_get_user_local_groups_cygsidlist__void_
mov ebx, 0x40
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
add eax, edx
mov dword [esp + 0x10], eax
mov dword [esp + 4], ebx
mov dword [esp], 0x6110a820
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x6108600e
mov eax, dword [ebp - 0xd10]
xor ecx, ecx
mov esi, dword [ebp - 0x9a8]
mov dword [ebp - 0xd58], ecx
mov edx, dword [eax + 4]
test edx, edx
jle 0x6108637d
xor edi, edi
jmp 0x610862f5
cmp ecx, esi
sete al
movzx eax, al
test al, al
jne 0x61086636
inc dword [ebp - 0xd58]
add edi, 0x2c
mov ebx, dword [ebp - 0xd10]
mov eax, dword [ebp - 0xd58]
cmp dword [ebx + 4], eax
jle 0x6108637d
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 0x610862c7
mov dword [esp + 4], esi
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.610fd240
sub esp, 8
test eax, eax
setne al
jmp 0x610862cc
mov ecx, dword [ebp - 0xd04]
mov byte [ebp - 0xd4d], 0
mov dword [esp], ecx
call fcn.610fdb78
movzx eax, byte [ebp - 0xd4d]
sub esp, 4
jmp 0x61086006
mov ecx, dword [ebp - 0xd04]
jmp 0x61086160
mov eax, dword [ebp - 0xcec]
mov dword [esp], eax
call fcn.610fdb78
mov eax, 1
sub esp, 4
movzx eax, al
jmp 0x610859bd
mov ecx, dword [ebp - 0xd04]
jmp 0x61086335
mov eax, 0xffffffff
test eax, eax
jns 0x6108600e
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 0x6108664c
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 - 0xd5c]
test ebx, ebx
je 0x61086641
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.610fd0f0
sub esp, 0xc
jmp 0x6108600e
mov dword [edx], 0
jmp 0x61085f10
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 0x6108642d
lea eax, [edx + 4]
dec ecx
mov dword [edx], eax
add edx, 0x2c
cmp ecx, 0xffffffff
jne 0x61086424
mov ecx, dword [ebp - 0xd44]
test ecx, ecx
je 0x61085f10
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 0x61086611
mov esi, dword [eax + 8]
xor edi, edi
jmp 0x610864a2
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.610fd0f0
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 0x6108661a
mov ecx, dword [esi + edi]
mov eax, dword [ebp - 0xd44]
test ecx, ecx
lea edx, [edi + eax]
jne 0x61086463
mov dword [edx], 0
jmp 0x6108648d
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x534
je 0x610864d3
test byte [0x6110a820], 1
jne 0x610866ff
mov ecx, dword [ebp - 0xcf4]
lea eax, [ebp - 0x768]
lea ebx, [ebp - 0xd08]
add eax, ecx
mov dword [esp + 4], eax
mov edx, dword [ebp - 0xcf8]
lea eax, [ebp - 0xcc8]
add eax, edx
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.610fd5e0
sub esp, 0x1c
test eax, eax
jne 0x61086235
test byte [0x6110a820], 1
je 0x61086235
mov dword [esp + 0x10], ebx
mov eax, str.LookupAccountName__s____E
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
mov dword [esp], 0x6110a820
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x61086235
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], 0x6110a820
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x61085f10
mov dword [esp], esi
call sym.operator_delete___void_
mov edx, dword [ebp - 0xd10]
mov ebx, dword [edx + 4]
jmp 0x61085abe
mov dword [esp], esi
call sym.operator_delete___void_
mov eax, dword [ebp - 0xd10]
mov ebx, dword [eax + 4]
jmp 0x61085d93
mov dword [esp], esi
call sym.operator_delete___void_
mov edx, dword [ebp - 0xd10]
mov ebx, dword [edx + 4]
jmp 0x61085d5e
mov edx, dword [ebp - 0xd10]
mov esi, dword [edx + 8]
test esi, esi
jne 0x61086735
mov esi, dword [ebp - 0xd44]
mov eax, dword [ebp - 0xd10]
mov dword [eax + 8], esi
jmp 0x61085f45
mov eax, dword [ebp - 0xd58]
jmp 0x61086382
mov dword [edx], 0
jmp 0x6108600e
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 0x61086676
lea eax, [edx + 4]
dec ecx
mov dword [edx], eax
add edx, 0x2c
cmp ecx, 0xffffffff
jne 0x6108666d
mov eax, dword [ebp - 0xd60]
test eax, eax
je 0x6108600e
mov edx, dword [ebp - 0xd10]
xor eax, eax
mov dword [ebp - 0xd64], eax
mov ebx, dword [edx + 4]
shl dword [edx], 1
cmp ebx, 0
jle 0x6108674b
mov esi, dword [edx + 8]
xor edi, edi
jmp 0x610866e7
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.610fd0f0
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 0x61086754
mov ecx, dword [esi + edi]
mov eax, dword [ebp - 0xd60]
test ecx, ecx
lea edx, [edi + eax]
jne 0x610866ac
mov dword [edx], 0
jmp 0x610866d6
mov dword [esp], 0x6110a820
lea edx, [ebp - 0x768]
mov eax, str.LookupAccountName__s____E
mov dword [esp + 0x10], edx
mov edi, str.bool_get_user_local_groups_cygsidlist__void_
mov esi, 0x40
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov dword [esp + 4], esi
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x610864d3
mov dword [esp], esi
call sym.operator_delete___void_
mov eax, dword [ebp - 0xd10]
mov ebx, dword [eax + 4]
jmp 0x61086622
mov edx, dword [ebp - 0xd10]
mov esi, dword [edx + 8]
test esi, esi
jne 0x6108676c
mov esi, dword [ebp - 0xd60]
mov eax, dword [ebp - 0xd10]
mov dword [eax + 8], esi
jmp 0x610863ae
mov dword [esp], esi
call sym.operator_delete___void_
mov eax, dword [ebp - 0xd10]
mov ebx, dword [eax + 4]
jmp 0x61086758