Function at 0x4ca790
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x5a4
lea eax, [esp + 0x24]
push ebp
push eax
mov eax, dword [0x541660]
xor ebp, ebp
push str.WDigest
mov eax, dword [eax + 0x44]
call eax
test eax, eax
je 0x4ca7bc
lea eax, [ebp + 4]
pop ebp
add esp, 0x5a4
ret
mov eax, dword [esp + 0x28]
push ebx
push esi
push edi
mov ebx, dword [eax + 8]
push eax
mov eax, dword [0x541660]
mov dword [esp + 0x20], ebx
mov eax, dword [eax + 0x40]
call eax
push ebx
call dword [0x53c698]
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x4cab9c
mov ebx, dword [esp + 0x5cc]
mov edx, dword [esp + 0x5bc]
mov ecx, dword [ebx + 0xc]
test edx, edx
je 0x4ca80a
test ecx, ecx
je 0x4ca8ad
jmp 0x4ca812
test ecx, ecx
jne 0x4ca8ad
lea esi, [ebx + 0x10]
mov eax, dword [esi]
cmp dword [esp + 0x5c0], ebp
je 0x4ca82a
test eax, eax
je 0x4ca8ad
jmp 0x4ca82e
test eax, eax
jne 0x4ca8ad
test edx, edx
je 0x4ca866
test ecx, ecx
je 0x4ca866
mov bl, byte [edx]
cmp bl, byte [ecx]
jne 0x4ca856
test bl, bl
je 0x4ca852
mov bl, byte [edx + 1]
cmp bl, byte [ecx + 1]
jne 0x4ca856
add edx, 2
add ecx, 2
test bl, bl
jne 0x4ca836
xor ecx, ecx
jmp 0x4ca85b
sbb ecx, ecx
or ecx, 1
mov ebx, dword [esp + 0x5cc]
test ecx, ecx
jne 0x4ca8ad
mov ecx, dword [esp + 0x5c0]
mov edi, esi
mov dword [esp + 0x18], edi
test ecx, ecx
je 0x4ca8ef
mov dword [esp + 0x18], edi
test eax, eax
je 0x4ca8ef
nop
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4ca8a0
test dl, dl
je 0x4ca89c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4ca8a0
add ecx, 2
add eax, 2
test dl, dl
jne 0x4ca880
xor eax, eax
jmp 0x4ca8a5
sbb eax, eax
or eax, 1
mov dword [esp + 0x18], edi
test eax, eax
je 0x4ca8ef
mov eax, dword [ebx + 8]
test eax, eax
je 0x4ca8ce
push eax
mov eax, dword [0x541660]
mov eax, dword [eax + 0x24]
call eax
push dword [ebx + 8]
call dword [0x53c69c]
add esp, 4
mov dword [ebx + 8], ebp
push dword [ebx + 0xc]
call dword [0x53c69c]
push dword [ebx + 0x10]
lea edi, [ebx + 0x10]
mov dword [ebx + 0xc], ebp
mov dword [esp + 0x20], edi
call dword [0x53c69c]
add esp, 8
mov dword [edi], ebp
mov esi, dword [esp + 0x5c4]
cmp dword [ebx + 8], ebp
je 0x4ca9f6
mov ecx, esi
mov dword [esp + 0x28], ebp
lea eax, [esp + 0x38]
mov dword [esp + 0x2c], 5
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], 2
mov dword [esp + 0x40], ebp
lea edx, [ecx + 1]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x48], 3
mov dword [esp + 0x4c], esi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ca934
sub ecx, edx
push ecx
call fcn.0049e470
mov dword [esp + 0x48], eax
add esp, 4
mov eax, dword [esp + 0x5c8]
mov ecx, eax
mov dword [esp + 0x54], 3
mov dword [esp + 0x58], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ca962
sub ecx, edx
push ecx
call fcn.0049e470
push dword [esp + 0x20]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x68], 3
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x74], 9
mov dword [esp + 0x78], eax
call fcn.0049e470
add esp, 8
mov dword [esp + 0x68], eax
lea eax, [esp + 0x28]
push 0
push eax
mov eax, dword [0x541660]
push 0
push dword [ebx + 8]
mov eax, dword [eax + 0x38]
call eax
test eax, eax
jne 0x4ca9c5
mov ebp, dword [esp + 0x68]
jmp 0x4ca9f6
push eax
push str.digest_sspi:_MakeSignature_failed__error_0x_08lx_n
push dword [esp + 0x5c0]
call fcn.004a4480
mov eax, dword [0x541660]
add esp, 0xc
push dword [ebx + 8]
mov eax, dword [eax + 0x24]
call eax
push dword [ebx + 8]
call dword [0x53c69c]
add esp, 4
mov dword [ebx + 8], ebp
cmp dword [ebx + 8], 0
jne 0x4cae2b
push dword [ebx + 0xc]
call dword [0x53c69c]
push dword [edi]
mov dword [ebx + 0xc], 0
call dword [0x53c69c]
mov ebp, dword [esp + 0x5c4]
add esp, 8
mov dword [edi], 0
test ebp, ebp
je 0x4cab78
cmp byte [ebp], 0
je 0x4cab78
lea eax, [esp + 0x98]
push eax
push dword [esp + 0x5c4]
push ebp
call fcn.004c4c00
add esp, 0xc
test eax, eax
jne 0x4cab8f
cmp dword [esp + 0xa0], 0
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
je 0x4caa78
cmp dword [esp + 0xa4], 0
jne 0x4cab6f
mov cl, byte [eax]
test cl, cl
je 0x4caa9f
nop
movzx eax, cl
push eax
call fcn.004bf770
add esp, 4
test eax, eax
mov eax, dword [esp + 0x10]
je 0x4caa9f
inc eax
mov dword [esp + 0x10], eax
mov cl, byte [eax]
test cl, cl
jne 0x4caa80
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1b8]
push ecx
lea ecx, [esp + 0xbc]
push ecx
push eax
call fcn.004d6280
add esp, 0x10
test al, al
je 0x4cab68
lea eax, [esp + 0xb4]
push str.realm
push eax
call fcn.004ac370
add esp, 8
test eax, eax
je 0x4cab2c
lea eax, [esp + 0x1b4]
push eax
call dword [0x53c6a4]
mov esi, eax
add esp, 4
test esi, esi
je 0x4cab8f
push dword [esp + 0xa0]
call dword [0x53c69c]
add esp, 4
mov dword [esp + 0xa0], esi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4cab13
sub esi, ecx
push esi
call fcn.0049e470
add esp, 4
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x10]
mov cl, byte [eax]
test cl, cl
je 0x4cab55
movzx eax, cl
push eax
call fcn.004bf770
add esp, 4
test eax, eax
mov eax, dword [esp + 0x10]
je 0x4cab55
inc eax
mov dword [esp + 0x10], eax
mov cl, byte [eax]
test cl, cl
jne 0x4cab36
cmp byte [eax], 0x2c
jne 0x4caa78
inc eax
mov dword [esp + 0x10], eax
jmp 0x4caa78
mov esi, dword [esp + 0x5c4]
lea edi, [esp + 0x98]
jmp 0x4cab7e
xor edi, edi
test ebp, ebp
je 0x4cabac
push ebp
call dword [0x53c6a4]
add esp, 4
mov dword [ebx + 0xc], eax
test eax, eax
jne 0x4cabac
push dword [esp + 0x14]
call dword [0x53c69c]
add esp, 4
pop edi
pop esi
pop ebx
mov eax, 0x1b
pop ebp
add esp, 0x5a4
ret
mov eax, dword [esp + 0x5c0]
test eax, eax
je 0x4cabf8
push eax
call dword [0x53c6a4]
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x4cabf8
push dword [esp + 0x14]
call dword [0x53c69c]
push dword [ebx + 0xc]
call dword [0x53c69c]
add esp, 8
mov dword [ebx + 0xc], 0
mov eax, 0x1b
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x5a4
ret
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x24]
push eax
mov eax, dword [0x541660]
push 0
push 0
push edi
mov eax, dword [eax + 0xc]
push 0
push 2
push str.WDigest
push 0
call eax
test eax, eax
je 0x4cac46
push edi
call fcn.004c4d10
push dword [esp + 0x18]
call dword [0x53c69c]
add esp, 8
mov eax, 0x43
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x5a4
ret
push dword [ebx + 4]
lea eax, [esp + 0x3c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], eax
mov eax, dword [ebx]
mov dword [esp + 0x30], 3
mov dword [esp + 0x40], 2
mov dword [esp + 0x44], eax
call fcn.0049e470
add esp, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], 3
lea ecx, [esi + 1]
mov dword [esp + 0x4c], esi
nop word [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x4cac90
sub esi, ecx
push esi
call fcn.0049e470
push dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x88]
mov dword [esp + 0x5c], 3
mov dword [esp + 0x60], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 1
mov dword [esp + 0x84], eax
mov dword [esp + 0x8c], 2
mov dword [esp + 0x90], ebp
call fcn.0049e470
mov esi, dword [esp + 0x5d0]
add esp, 8
mov dword [esp + 0x80], eax
test esi, esi
jne 0x4cad3d
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x541660]
mov eax, dword [eax + 0x10]
call eax
push edi
call fcn.004c4d10
push ebp
call dword [0x53c69c]
add esp, 8
lea eax, [esi + 0x1b]
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x5a4
ret
push 8
push 1
call dword [0x53c6a8]
add esp, 8
mov dword [ebx + 8], eax
test eax, eax
je 0x4cab9c
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x7c]
push ecx
push eax
push 0
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0x1000000
push esi
push 0
lea eax, [esp + 0x4c]
push eax
mov eax, dword [0x541660]
mov eax, dword [eax + 0x18]
call eax
mov esi, eax
cmp esi, 0x90313
je 0x4cadf8
cmp esi, 0x90314
je 0x4cadf8
test esi, esi
je 0x4cae0c
cmp esi, 0x90312
je 0x4cae0c
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x541660]
mov eax, dword [eax + 0x10]
call eax
push edi
call fcn.004c4d10
push ebp
call dword [0x53c69c]
push dword [ebx + 8]
call dword [0x53c69c]
add esp, 0xc
mov dword [ebx + 8], 0
cmp esi, 0x80090300
mov eax, 0x5e
mov ecx, 0x1b
cmove eax, ecx
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x5a4
ret
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x24]
push eax
mov eax, dword [0x541660]
mov eax, dword [eax + 0x20]
call eax
mov ebp, dword [esp + 0x80]
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x541660]
mov eax, dword [eax + 0x10]
call eax
push edi
call fcn.004c4d10
add esp, 4
lea eax, [ebp + 1]
push eax
call dword [0x53c698]
mov esi, eax
add esp, 4
test esi, esi
je 0x4cab8f
mov ebx, dword [esp + 0x14]
push ebp
push ebx
push esi
call fcn.00420bb0
mov eax, dword [esp + 0x5dc]
mov byte [esi + ebp], 0
push ebx
mov dword [eax], esi
mov eax, dword [esp + 0x5e4]
mov dword [eax], ebp
call dword [0x53c69c]
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x5a4
ret