Function at 0x75935a83
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x9d0], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x18], esi
je 0x75935abd
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.75935341
test eax, eax
je 0x75935abd
push dword [ebp + 0x20]
call fcn.7593546b
push ebx
push dword [edi + 0x4ac]
mov ebx, dword [sym.imp.msvcrt.dll__wcsicmp]
push dword [ebp + 0x18]
call ebx
test eax, eax
pop ecx
pop ecx
jne 0x75935aea
push dword [edi + 0x4a0]
push dword [ebp + 0x14]
call ebx
test eax, eax
pop ecx
pop ecx
je 0x75935b79
mov eax, dword [edi + 0x4bc]
cmp eax, esi
je 0x75935b11
push eax
push dword [ebp + 0x18]
call ebx
test eax, eax
pop ecx
pop ecx
jne 0x75935b11
push dword [edi + 0x4b4]
push dword [ebp + 0x14]
call ebx
test eax, eax
pop ecx
pop ecx
je 0x75935b79
push 0x5c
push dword [edi + 0x4a0]
call dword [sym.imp.msvcrt.dll_wcschr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x75935d69
sub eax, dword [edi + 0x4a0]
push dword [ebp + 0x18]
sar eax, 1
mov dword [ebp - 4], eax
call dword [sym.imp.msvcrt.dll_wcslen]
cmp dword [ebp - 4], eax
pop ecx
jne 0x75935d69
push dword [ebp - 4]
push dword [edi + 0x4a0]
push dword [ebp + 0x18]
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x75935d69
add esi, 2
push esi
push dword [ebp + 0x14]
call ebx
test eax, eax
pop ecx
pop ecx
jne 0x75935d69
push dword [ebp + 0x20]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
cmp dword [ebp + 0x10], 0
mov ebx, dword [sym.imp.msvcrt.dll_wcscpy]
je 0x75935ba4
lea eax, [edi + 0x504]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.75929779
jmp 0x75935bd5
push dword [ebp + 0x20]
lea esi, [edi + 0x4f4]
push dword [esi]
call ebx
pop ecx
pop ecx
push dword [esi]
lea eax, [edi + 0x4ec]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea eax, [edi + 0x4ec]
push eax
lea eax, [edi + 0x4c4]
push eax
call fcn.759296e4
mov eax, dword [edi + 0x4e0]
test eax, eax
je 0x75935c4e
mov ecx, dword [ebp + 0x24]
test ecx, ecx
je 0x75935bf4
mov edx, dword [ecx + 0x30]
mov dword [eax + 0x30], edx
mov ecx, dword [ecx + 0x34]
mov dword [eax + 0x34], ecx
jmp 0x75935c4e
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x18]
call fcn.759384d6
test eax, eax
jne 0x75935c1a
mov eax, dword [ebp - 0x14]
mov ecx, 0x989680
mul ecx
jmp 0x75935c2c
mov ecx, dword [edi + 0x4e0]
mov eax, dword [ecx + 0x30]
sub eax, dword [ecx + 0x20]
mov edx, dword [ecx + 0x34]
sbb edx, dword [ecx + 0x24]
add eax, dword [ebp - 0x20]
mov ecx, dword [edi + 0x4e0]
adc edx, dword [ebp - 0x1c]
mov esi, dword [ecx + 0x34]
cmp esi, edx
jg 0x75935c4e
jl 0x75935c48
mov esi, dword [ecx + 0x30]
cmp esi, eax
jae 0x75935c4e
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], edx
push 0x7593446c
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.ntdll.dll_RtlInitString]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [edi + 0x40]
call sub.Secur32.dll_LsaLookupAuthenticationPackage
test eax, eax
mov dword [ebp + 0x10], eax
jl 0x75935d69
push dword [ebp + 0x14]
mov esi, dword [sym.imp.msvcrt.dll_wcslen]
call esi
push dword [ebp + 0x18]
mov dword [ebp + 8], eax
call esi
mov ecx, dword [ebp + 8]
push dword [ebp + 0x20]
add ecx, eax
mov dword [ebp + 8], ecx
call esi
mov ecx, dword [ebp + 8]
add ecx, eax
add esp, 0xc
lea eax, [ecx + ecx + 0x2e]
push eax
push 0x40
mov dword [ebp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x75935d69
push dword [ebp + 0x18]
lea eax, [esi + 0x28]
push eax
mov dword [ebp + 8], eax
mov dword [esi], 6
call ebx
pop ecx
pop ecx
push dword [ebp + 8]
lea eax, [esi + 4]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
movzx eax, word [esi + 6]
add dword [ebp + 8], eax
push dword [ebp + 0x14]
push dword [ebp + 8]
call ebx
pop ecx
pop ecx
push dword [ebp + 8]
lea eax, [esi + 0xc]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
movzx eax, word [esi + 0xe]
add dword [ebp + 8], eax
push dword [ebp + 0x20]
push dword [ebp + 8]
call ebx
pop ecx
pop ecx
push dword [ebp + 8]
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
push 0
lea eax, [edi + 0x58]
push eax
call fcn.75923884
mov ebx, eax
test ebx, ebx
je 0x75935d50
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x24]
mov byte [esi + 0x24], 1
push esi
push dword [ebp - 8]
push dword [edi + 0x40]
call sub.Secur32.dll_LsaCallAuthenticationPackage
push ebx
mov dword [ebp + 0x10], eax
call fcn.759237a6
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp + 0x10], 0
jl 0x75935d69
test ebx, ebx
je 0x75935d69
push dword [ebp - 0xc]
call sub.Secur32.dll_LsaFreeReturnBuffer
lea esi, [edi + 0x570]
cmp dword [esi], 0
pop ebx
je 0x75935d9e
push dword [ebp + 0x18]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea eax, [ebp - 0x28]
push eax
push dword [esi]
call fcn.75928931
test eax, eax
je 0x75935d9e
cmp dword [eax + 8], 7
je 0x75935d9e
mov dword [ebp - 0x10], 1
push 0
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetParent]
push dword [ebp + 0x14]
call fcn.75929b3b
push dword [ebp + 0x18]
mov dword [ebp - 0x40], eax
call fcn.75929b3b
push dword [ebp + 0x20]
mov dword [ebp - 0x3c], eax
call fcn.75929b3b
push dword [ebp + 0x1c]
mov dword [ebp - 0x38], eax
call fcn.75929b3b
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x10]
or eax, 2
push eax
lea eax, [ebp - 0x40]
push eax
push dword [edi + 4]
mov eax, dword [0x7594d0fc]
call dword [eax + 0x30]
pop edi
pop esi
leave
ret 0x20