Function at 0x4dfa8d
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], 0xffffffff
push esi
push edi
jne 0x4dfab2
mov eax, dword [ebp + 0xc]
mov dword [eax], 2
jmp 0x4dffb9
fldz
xor edi, edi
cmp dword [ebx + 0x234], 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 0x4dff9b
cmp dword [ebx + 0x238], 0xffffffff
je 0x4dff9b
cmp byte [esp + 0xf], 0
jne 0x4dfb59
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 0x4dfb6a
cmp byte [esp + 0xf], 0
je 0x4dfb6a
xor ecx, ecx
jmp 0x4dfb6d
lea ecx, [ebx + 4]
mov dl, byte [esp + 0xf]
push edi
neg dl
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x9c]
push eax
lea eax, [ebx + 4]
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 + 0x28]
push eax
push ecx
lea eax, [ebx + 0x234]
push eax
call dword [sym.imp.Secur32.dll_InitializeSecurityContextW]
cmp eax, 0x90317
mov dword [esp + 0x4c], eax
mov byte [esp + 0xf], 0
je 0x4dff0c
cmp eax, 0x90320
je 0x4dfb41
cmp eax, 0x80090328
je 0x4dff12
cmp eax, 0x80090322
je 0x4dff12
cmp eax, 0x80090325
je 0x4dff12
cmp eax, 0x90312
jne 0x4dfc94
cmp dword [esp + 0x44], 5
jne 0x4dfd12
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x40]
je 0x4dfc6f
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.004f90a1
push dword [esp + 0x14]
call fcn.00520947
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.00520947
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 0x4dfb41
cmp eax, edi
jne 0x4dfe18
cmp dword [esp + 0x44], 5
jne 0x4dfd08
mov edx, dword [esp + 0x40]
cmp edx, edi
mov dword [esp + 0x10], edx
jbe 0x4dfd08
mov eax, dword [ebx + 0x240]
mov ecx, dword [ebx + 0x248]
sub eax, ecx
cmp eax, edx
jae 0x4dfcd4
lea edi, [ecx + edx]
lea eax, [ebx + 0x23c]
call fcn.004e3bda
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 + 0x23c]
add edx, eax
mov eax, dword [ebx + 0x248]
push edx
add eax, ecx
push eax
call fcn.00526ea0
mov eax, dword [esp + 0x1c]
add esp, 0xc
add dword [ebx + 0x248], eax
cmp dword [esp + 0x28], edi
je 0x4dff49
mov eax, dword [esp + 0x28]
push dword [esp + 0x20]
mov dword [esp + 0x14], eax
call fcn.00520947
pop ecx
push dword [esp + 0x10]
call fcn.0051fd80
pop ecx
mov ecx, dword [esp + 0x28]
cmp ecx, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
je 0x4dfd4c
push ecx
push dword [esp + 0x34]
push eax
call fcn.00526ea0
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 0x4dfd76
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 [0x599a48]
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]
mov eax, esp
mov dword [esp + 0x8c], 0x5531d0
mov dword [eax], ecx
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.00489906
mov eax, dword [esp + 0x6c]
cmp eax, edi
jne 0x4dff6f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x10]
mov dword [esp + 0x7c], 0x594e70
cmp dword [ebp + 0x18], eax
jbe 0x4dff23
fld qword [esp + 0x50]
sub dword [ebp + 0x18], eax
fadd qword [0x599a48]
mov eax, dword [esp + 0x4c]
cmp eax, edi
fstp qword [esp + 0x50]
je 0x4dff49
cmp eax, 0x90312
je 0x4dfe33
cmp eax, 0x80090318
je 0x4dfe33
cmp eax, edi
jge 0x4dfb41
jmp 0x4dff12
call dword [sym.imp.KERNEL32.dll_GetTickCount]
fld qword [esp + 0x50]
push dword [ebp + 0x18]
fstp qword [esp + 0xac]
fld qword [0x599a48]
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]
mov eax, esp
mov dword [esp + 0xb4], 0x5531d0
mov dword [eax], ecx
lea eax, [esp + 0xb4]
push eax
lea esi, [esp + 0x7c]
mov dword [esp + 0x28], edi
call fcn.00489a5b
mov eax, dword [esp + 0x64]
cmp eax, edi
jne 0x4dff7e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x4c]
cmp dword [ebp + 0x18], eax
jbe 0x4dff90
fld qword [esp + 0x50]
sub dword [ebp + 0x18], eax
push dword [esp + 0x10]
fadd qword [0x599a48]
lea eax, [esp + 0xbc]
push eax
lea esi, [esp + 0x1c]
fstp qword [esp + 0x58]
call fcn.004f90a1
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 0x4dfb41
cmp byte [ebp + 0x14], 0
je 0x4dff49
lea edi, [ebx + 4]
push edi
call dword [sym.imp.Secur32.dll_DeleteSecurityContext]
or dword [edi], 0xffffffff
or dword [ebx + 8], 0xffffffff
mov edi, dword [ebp + 0xc]
push dword [esp + 0x14]
mov dword [edi], esi
call fcn.00520947
pop ecx
push dword [esp + 0x20]
call fcn.00520947
pop ecx
push dword [esp + 0x30]
invalid