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

Disassembly:
sub esp, 0xa4
mov ecx, dword [0x8cf654]
push ebx
push ebp
push esi
lea eax, [esp + 0x30]
push edi
xor ebx, ebx
push eax
push str.WDigest
mov dword [esp + 0x20], ebx
call dword [ecx + 0x44]
test eax, eax
je 0x87df97
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0xa4
ret
mov eax, dword [esp + 0x34]
mov edx, dword [0x8cf654]
push eax
mov esi, dword [eax + 8]
mov dword [esp + 0x28], esi
call dword [edx + 0x40]
push esi
call dword [0x8c1930]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x87e531
mov edi, dword [esp + 0xbc]
mov esi, dword [esp + 0xcc]
cmp edi, ebx
mov ebp, dword [esi + 0xc]
je 0x87dfe1
cmp ebp, ebx
je 0x87e080
jmp 0x87dfe9
cmp ebp, ebx
jne 0x87e080
mov eax, dword [esp + 0xc0]
mov ecx, dword [esi + 0x10]
cmp eax, ebx
je 0x87e001
cmp ecx, ebx
je 0x87e080
jmp 0x87e005
cmp ecx, ebx
jne 0x87e080
cmp edi, ebx
je 0x87e03b
cmp ebp, ebx
je 0x87e03b
mov dl, byte [edi]
mov al, dl
cmp dl, byte [ebp]
jne 0x87e032
cmp al, bl
je 0x87e02e
mov dl, byte [edi + 1]
mov al, dl
cmp dl, byte [ebp + 1]
jne 0x87e032
add edi, 2
add ebp, 2
cmp al, bl
jne 0x87e00d
xor eax, eax
jmp 0x87e037
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x87e080
mov eax, dword [esp + 0xc0]
cmp eax, ebx
je 0x87e0bd
cmp ecx, ebx
je 0x87e0bd
mov ebp, ecx
mov edi, eax
mov cl, byte [edi]
mov dl, byte [ebp]
mov al, cl
cmp cl, dl
jne 0x87e077
cmp al, bl
je 0x87e073
mov dl, byte [edi + 1]
mov cl, byte [ebp + 1]
mov al, dl
cmp dl, cl
jne 0x87e077
add edi, 2
add ebp, 2
cmp al, bl
jne 0x87e04e
xor eax, eax
jmp 0x87e07c
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x87e0bd
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x87e0a0
push eax
mov eax, dword [0x8cf654]
call dword [eax + 0x24]
mov ecx, dword [esi + 8]
push ecx
call dword [0x8c1934]
add esp, 4
mov dword [esi + 8], ebx
mov edx, dword [esi + 0xc]
push edx
call dword [0x8c1934]
mov eax, dword [esi + 0x10]
mov dword [esi + 0xc], ebx
push eax
call dword [0x8c1934]
add esp, 8
mov dword [esi + 0x10], ebx
mov eax, dword [esi + 8]
mov ebp, dword [esp + 0xc4]
cmp eax, ebx
je 0x87e1c1
lea ecx, [esp + 0x38]
mov edi, ebp
mov dword [esp + 0x30], ecx
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x28], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x2c], 5
push ecx
mov dword [esp + 0x40], 2
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x4c], 3
mov dword [esp + 0x50], ebp
call fcn.008540e0
mov edi, dword [esp + 0xcc]
mov dword [esp + 0x48], eax
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], 3
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
call fcn.008540e0
mov edx, dword [esp + 0x18]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x68], 3
push eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x78], 9
mov dword [esp + 0x7c], edx
call fcn.008540e0
mov edx, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x28]
mov dword [esp + 0x68], eax
mov eax, dword [0x8cf654]
push ebx
push ecx
push ebx
push edx
call dword [eax + 0x38]
cmp eax, ebx
jne 0x87e18e
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x18], ecx
jmp 0x87e1c1
mov edx, dword [esp + 0xb8]
push eax
push str.digest_sspi:_MakeSignature_failed__error_0x_08lx_n
push edx
call fcn.0084f980
mov eax, dword [esi + 8]
mov ecx, dword [0x8cf654]
add esp, 0xc
push eax
call dword [ecx + 0x24]
mov edx, dword [esi + 8]
push edx
call dword [0x8c1934]
add esp, 4
mov dword [esi + 8], ebx
cmp dword [esi + 8], ebx
jne 0x87e50e
mov eax, dword [esi + 0xc]
push eax
call dword [0x8c1934]
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc], ebx
push ecx
call dword [0x8c1934]
mov eax, dword [esp + 0xc4]
add esp, 8
cmp eax, ebx
mov dword [esi + 0x10], ebx
je 0x87e277
cmp byte [eax], bl
je 0x87e277
mov edi, dword [esp + 0xc0]
lea edx, [esp + 0x98]
push edx
push edi
push eax
call fcn.00859650
add esp, 0xc
test eax, eax
je 0x87e235
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x8c1934]
add esp, 4
mov eax, 0x1b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret
mov eax, dword [esi]
lea edx, [esp + 0x98]
push edx
push eax
call fcn.0087dce0
add esp, 8
test eax, eax
je 0x87e26a
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x8c1934]
add esp, 4
mov eax, 0x1b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret
lea edx, [esp + 0x98]
mov dword [esp + 0x14], edx
jmp 0x87e282
mov edi, dword [esp + 0xc0]
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0xbc]
cmp eax, ebx
je 0x87e2a2
push eax
call dword [0x8c193c]
add esp, 4
cmp eax, ebx
mov dword [esi + 0xc], eax
je 0x87e523
cmp edi, ebx
je 0x87e2e2
push edi
call dword [0x8c193c]
add esp, 4
cmp eax, ebx
mov dword [esi + 0x10], eax
jne 0x87e2e2
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x8c1934]
mov edx, dword [esi + 0xc]
push edx
call dword [0x8c1934]
add esp, 8
mov dword [esi + 0xc], ebx
mov eax, 0x1b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x8c]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [0x8cf654]
push ecx
push ebx
push ebx
push edx
push ebx
push 2
push str.WDigest
push ebx
call dword [eax + 0xc]
test eax, eax
je 0x87e333
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00859760
mov edx, dword [esp + 0x14]
push edx
call dword [0x8c1934]
add esp, 8
mov eax, 0x43
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov edi, 3
lea eax, [esp + 0x38]
push edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], 2
mov dword [esp + 0x44], ecx
call fcn.008540e0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x4c], edi
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x50], ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
call fcn.008540e0
mov ecx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x88]
push ecx
mov dword [esp + 0x60], 3
mov dword [esp + 0x64], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], 1
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], 2
mov dword [esp + 0x94], ebp
call fcn.008540e0
mov edi, dword [esp + 0xd4]
add esp, 0xc
cmp edi, ebx
mov dword [esp + 0x80], eax
jne 0x87e417
mov eax, dword [0x8cf654]
lea edx, [esp + 0x1c]
push edx
call dword [eax + 0x10]
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00859760
push ebp
call dword [0x8c1934]
add esp, 8
mov eax, 0x1b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret
push 8
push 1
call dword [0x8c1940]
add esp, 8
cmp eax, ebx
mov dword [esi + 8], eax
jne 0x87e43b
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0xa4
ret
lea edx, [esp + 0x8c]
lea ecx, [esp + 0x94]
push edx
lea edx, [esp + 0x78]
push ecx
push edx
push eax
mov edx, dword [0x8cf654]
lea eax, [esp + 0x38]
push ebx
push eax
push ebx
push ebx
push 0x1000000
push edi
lea ecx, [esp + 0x44]
push ebx
push ecx
call dword [edx + 0x18]
mov edi, eax
cmp edi, 0x90313
je 0x87e4d7
cmp edi, 0x90314
je 0x87e4d7
cmp edi, ebx
je 0x87e4e9
cmp edi, 0x90312
je 0x87e4e9
mov ecx, dword [0x8cf654]
lea eax, [esp + 0x1c]
push eax
call dword [ecx + 0x10]
mov edx, dword [esp + 0x14]
push edx
call fcn.00859760
push ebp
call dword [0x8c1934]
mov eax, dword [esi + 8]
push eax
call dword [0x8c1934]
mov eax, edi
add esp, 0xc
sub eax, 0x80090300
mov dword [esi + 8], ebx
neg eax
sbb eax, eax
pop edi
and eax, 0x43
pop esi
pop ebp
add eax, 0x1b
pop ebx
add esp, 0xa4
ret
mov eax, dword [0x8cf654]
lea ecx, [esp + 0x74]
lea edx, [esp + 0x1c]
push ecx
push edx
call dword [eax + 0x20]
mov ecx, dword [esp + 0x80]
mov eax, dword [0x8cf654]
lea edx, [esp + 0x1c]
mov dword [esp + 0x18], ecx
push edx
call dword [eax + 0x10]
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00859760
add esp, 4
mov esi, dword [esp + 0x18]
lea edx, [esi + 1]
push edx
call dword [0x8c1930]
add esp, 4
cmp eax, ebx
jne 0x87e541
mov eax, dword [esp + 0x10]
push eax
call dword [0x8c1934]
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0xa4
ret
mov ecx, esi
mov esi, dword [esp + 0x10]
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0xd0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], bl
mov dword [edx], eax
mov eax, dword [esp + 0xd4]
mov dword [eax], ecx
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x8c1934]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret