Function at 0x57f74c
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4ac
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x20], 0xffffffff
push esi
push edi
jne 0x57f772
mov eax, dword [ebp + 0xc]
mov dword [eax], 2
jmp 0x57fc67
fldz
xor edi, edi
cmp dword [ebx + 0x254], 0xffffffff
fstp qword [esp + 0x50]
lea eax, [esp + 0x34]
push 2
pop esi
mov dword [esp + 0x78], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x98], 1
mov dword [esp + 0x9c], eax
mov dword [esp + 0x94], edi
mov dword [esp + 0x68], edi
mov byte [esp + 0xf], 1
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
je 0x57fc49
cmp dword [ebx + 0x258], 0xffffffff
je 0x57fc49
cmp byte [esp + 0xf], 0
jne 0x57f819
push dword [esp + 0x30]
call sub.Secur32.dll_FreeContextBuffer
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], edi
cmp byte [ebp + 0x14], 0
je 0x57f82a
cmp byte [esp + 0xf], 0
je 0x57f82a
xor ecx, ecx
jmp 0x57f82d
lea ecx, [ebx + 0x24]
mov dl, byte [esp + 0xf]
push edi
neg dl
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x9c]
push eax
lea eax, [ebx + 0x24]
sbb edx, edx
and edx, eax
mov al, byte [esp + 0x1b]
neg al
push edx
push edi
lea edx, [esp + 0x84]
sbb eax, eax
not eax
and eax, edx
push eax
push edi
push edi
push 0xc11c
lea eax, [ebx + 0x48]
push eax
push ecx
lea eax, [ebx + 0x254]
push eax
call dword [sym.imp.Secur32.dll_InitializeSecurityContextW]
cmp eax, 0x90317
mov dword [esp + 0x4c], eax
mov byte [esp + 0xf], 0
je 0x57fbba
cmp eax, 0x90320
je 0x57f801
cmp eax, 0x80090328
je 0x57fbc0
cmp eax, 0x80090322
je 0x57fbc0
cmp eax, 0x80090325
je 0x57fbc0
cmp eax, 0x90312
jne 0x57f954
cmp dword [esp + 0x44], 5
jne 0x57f9be
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x40]
je 0x57f92f
push dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
add ecx, eax
push ecx
lea esi, [esp + 0x60]
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
call fcn.0059d2f7
push dword [esp + 0x14]
call fcn.005f858a
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x60]
pop ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x60]
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
call fcn.005f858a
pop ecx
push 2
pop esi
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x48], edi
jmp 0x57f801
cmp eax, edi
jne 0x57fac5
cmp dword [esp + 0x44], 5
jne 0x57f9b4
mov edx, dword [esp + 0x40]
cmp edx, edi
mov dword [esp + 0x10], edx
jbe 0x57f9b4
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0xc]
sub eax, ecx
cmp eax, edx
jae 0x57f98a
lea edi, [ecx + edx]
mov eax, ebx
call fcn.0058d054
push 2
xor edi, edi
pop esi
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push dword [esp + 0x10]
mov ecx, dword [ebx]
add edx, eax
mov eax, dword [ebx + 0xc]
push edx
add eax, ecx
push eax
call fcn.005fbd60
mov eax, dword [esp + 0x1c]
add esp, 0xc
add dword [ebx + 0xc], eax
cmp dword [esp + 0x28], edi
je 0x57fbf7
mov eax, dword [esp + 0x28]
push dword [esp + 0x20]
mov dword [esp + 0x14], eax
call fcn.005f858a
pop ecx
push dword [esp + 0x10]
call fcn.005f833c
pop ecx
mov ecx, dword [esp + 0x28]
cmp ecx, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
je 0x57f9f8
push ecx
push dword [esp + 0x34]
push eax
call fcn.005fbd60
add esp, 0xc
cmp dword [esp + 0x18], edi
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x48], edi
je 0x57fa22
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
fld qword [esp + 0x50]
push dword [ebp + 0x18]
fstp qword [esp + 0x88]
fld qword [0x694368]
mov dword [esp + 0x14], eax
push dword [esp + 0x28]
fstp qword [esp + 0x94]
mov eax, dword [ebp + 0x10]
push dword [esp + 0x28]
mov dword [esp + 0x8c], eax
push ecx
mov ecx, dword [ebx + 0x20]
mov eax, esp
mov dword [esp + 0x8c], 0x646570
mov dword [eax], ecx
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.0057dc0b
mov eax, dword [esp + 0x6c]
cmp eax, edi
jne 0x57fc1d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x10]
mov dword [esp + 0x7c], 0x6920c4
cmp dword [ebp + 0x18], eax
jbe 0x57fbd1
fld qword [esp + 0x50]
sub dword [ebp + 0x18], eax
fadd qword [0x694368]
mov eax, dword [esp + 0x4c]
cmp eax, edi
fstp qword [esp + 0x50]
je 0x57fbf7
cmp eax, 0x90312
je 0x57fae0
cmp eax, 0x80090318
je 0x57fae0
cmp eax, edi
jge 0x57f801
jmp 0x57fbc0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
fld qword [esp + 0x50]
push dword [ebp + 0x18]
fstp qword [esp + 0xac]
fld qword [0x694368]
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x10]
fstp qword [esp + 0xb4]
mov dword [esp + 0xa8], eax
lea eax, [esp + 0x14]
push eax
push 0x400
lea eax, [esp + 0xc4]
push eax
push ecx
mov ecx, dword [ebx + 0x20]
mov eax, esp
mov dword [esp + 0xb4], 0x646570
mov dword [eax], ecx
lea eax, [esp + 0xb4]
push eax
lea esi, [esp + 0x7c]
mov dword [esp + 0x28], edi
call fcn.0057dd60
mov eax, dword [esp + 0x64]
cmp eax, edi
jne 0x57fc2c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x4c]
cmp dword [ebp + 0x18], eax
jbe 0x57fc3e
fld qword [esp + 0x50]
sub dword [ebp + 0x18], eax
push dword [esp + 0x10]
fadd qword [0x694368]
lea eax, [esp + 0xbc]
push eax
lea esi, [esp + 0x1c]
fstp qword [esp + 0x58]
call fcn.0059d2f7
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
push 2
mov dword [esp + 0x3c], 2
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], edi
pop esi
jmp 0x57f801
cmp byte [ebp + 0x14], 0
je 0x57fbf7
lea edi, [ebx + 0x24]
push edi
call dword [sym.imp.Secur32.dll_DeleteSecurityContext]
or dword [edi], 0xffffffff
or dword [ebx + 0x28], 0xffffffff
mov edi, dword [ebp + 0xc]
push dword [esp + 0x14]
mov dword [edi], esi
call fcn.005f858a
pop ecx
push dword [esp + 0x20]
call fcn.005f858a
pop ecx
push dword [esp + 0x30]
call sub.Secur32.dll_FreeContextBuffer
mov eax, edi
jmp 0x57fc67
mov esi, dword [ebp + 0xc]
mov dword [esi], edi
push dword [esp + 0x14]
call fcn.005f858a
pop ecx
push dword [esp + 0x20]
call fcn.005f858a
pop ecx
push dword [esp + 0x30]
call sub.Secur32.dll_FreeContextBuffer
mov eax, esi
jmp 0x57fc67
mov esi, dword [ebp + 0xc]
mov dword [esi], eax
mov dword [esp + 0x7c], 0x6920c4
jmp 0x57fbfc
mov esi, dword [ebp + 0xc]
mov dword [esi], eax
mov dword [esp + 0xa0], 0x6920c4
jmp 0x57fbfc
mov esi, dword [ebp + 0xc]
mov dword [esi], 2
jmp 0x57fc31
mov ebx, dword [ebp + 0xc]
push edi
mov dword [ebx], esi
call fcn.005f858a
pop ecx
push edi
call fcn.005f858a
pop ecx
push dword [esp + 0x30]
call sub.Secur32.dll_FreeContextBuffer
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14