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

Disassembly:
sub esp, 0xa4
mov ecx, dword [0x8c6654]
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 0x874677
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0xa4
ret
mov eax, dword [esp + 0x34]
mov edx, dword [0x8c6654]
push eax
mov esi, dword [eax + 8]
mov dword [esp + 0x28], esi
call dword [edx + 0x40]
push esi
call dword [0x8b8930]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x874c11
mov edi, dword [esp + 0xbc]
mov esi, dword [esp + 0xcc]
cmp edi, ebx
mov ebp, dword [esi + 0xc]
je 0x8746c1
cmp ebp, ebx
je 0x874760
jmp 0x8746c9
cmp ebp, ebx
jne 0x874760
mov eax, dword [esp + 0xc0]
mov ecx, dword [esi + 0x10]
cmp eax, ebx
je 0x8746e1
cmp ecx, ebx
je 0x874760
jmp 0x8746e5
cmp ecx, ebx
jne 0x874760
cmp edi, ebx
je 0x87471b
cmp ebp, ebx
je 0x87471b
mov dl, byte [edi]
mov al, dl
cmp dl, byte [ebp]
jne 0x874712
cmp al, bl
je 0x87470e
mov dl, byte [edi + 1]
mov al, dl
cmp dl, byte [ebp + 1]
jne 0x874712
add edi, 2
add ebp, 2
cmp al, bl
jne 0x8746ed
xor eax, eax
jmp 0x874717
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x874760
mov eax, dword [esp + 0xc0]
cmp eax, ebx
je 0x87479d
cmp ecx, ebx
je 0x87479d
mov ebp, ecx
mov edi, eax
mov cl, byte [edi]
mov dl, byte [ebp]
mov al, cl
cmp cl, dl
jne 0x874757
cmp al, bl
je 0x874753
mov dl, byte [edi + 1]
mov cl, byte [ebp + 1]
mov al, dl
cmp dl, cl
jne 0x874757
add edi, 2
add ebp, 2
cmp al, bl
jne 0x87472e
xor eax, eax
jmp 0x87475c
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x87479d
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x874780
push eax
mov eax, dword [0x8c6654]
call dword [eax + 0x24]
mov ecx, dword [esi + 8]
push ecx
call dword [0x8b8934]
add esp, 4
mov dword [esi + 8], ebx
mov edx, dword [esi + 0xc]
push edx
call dword [0x8b8934]
mov eax, dword [esi + 0x10]
mov dword [esi + 0xc], ebx
push eax
call dword [0x8b8934]
add esp, 8
mov dword [esi + 0x10], ebx
mov eax, dword [esi + 8]
mov ebp, dword [esp + 0xc4]
cmp eax, ebx
je 0x8748a1
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.0084a7c0
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.0084a7c0
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.0084a7c0
mov edx, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x28]
mov dword [esp + 0x68], eax
mov eax, dword [0x8c6654]
push ebx
push ecx
push ebx
push edx
call dword [eax + 0x38]
cmp eax, ebx
jne 0x87486e
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x18], ecx
jmp 0x8748a1
mov edx, dword [esp + 0xb8]
push eax
push str.digest_sspi:_MakeSignature_failed__error_0x_08lx_n
push edx
call fcn.00846060
mov eax, dword [esi + 8]
mov ecx, dword [0x8c6654]
add esp, 0xc
push eax
call dword [ecx + 0x24]
mov edx, dword [esi + 8]
push edx
call dword [0x8b8934]
add esp, 4
mov dword [esi + 8], ebx
cmp dword [esi + 8], ebx
jne 0x874bee
mov eax, dword [esi + 0xc]
push eax
call dword [0x8b8934]
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc], ebx
push ecx
call dword [0x8b8934]
mov eax, dword [esp + 0xc4]
add esp, 8
cmp eax, ebx
mov dword [esi + 0x10], ebx
je 0x874957
cmp byte [eax], bl
je 0x874957
mov edi, dword [esp + 0xc0]
lea edx, [esp + 0x98]
push edx
push edi
push eax
call fcn.0084fd30
add esp, 0xc
test eax, eax
je 0x874915
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x8b8934]
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.008743c0
add esp, 8
test eax, eax
je 0x87494a
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x8b8934]
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 0x874962
mov edi, dword [esp + 0xc0]
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0xbc]
cmp eax, ebx
je 0x874982
push eax
call dword [0x8b893c]
add esp, 4
cmp eax, ebx
mov dword [esi + 0xc], eax
je 0x874c03
cmp edi, ebx
je 0x8749c2
push edi
call dword [0x8b893c]
add esp, 4
cmp eax, ebx
mov dword [esi + 0x10], eax
jne 0x8749c2
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x8b8934]
mov edx, dword [esi + 0xc]
push edx
call dword [0x8b8934]
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 [0x8c6654]
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 0x874a13
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0084fe40
mov edx, dword [esp + 0x14]
push edx
call dword [0x8b8934]
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.0084a7c0
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.0084a7c0
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.0084a7c0
mov edi, dword [esp + 0xd4]
add esp, 0xc
cmp edi, ebx
mov dword [esp + 0x80], eax
jne 0x874af7
mov eax, dword [0x8c6654]
lea edx, [esp + 0x1c]
push edx
call dword [eax + 0x10]
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0084fe40
push ebp
call dword [0x8b8934]
add esp, 8
mov eax, 0x1b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret
push 8
push 1
call dword [0x8b8940]
add esp, 8
cmp eax, ebx
mov dword [esi + 8], eax
jne 0x874b1b
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 [0x8c6654]
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 0x874bb7
cmp edi, 0x90314
je 0x874bb7
cmp edi, ebx
je 0x874bc9
cmp edi, 0x90312
je 0x874bc9
mov ecx, dword [0x8c6654]
lea eax, [esp + 0x1c]
push eax
call dword [ecx + 0x10]
mov edx, dword [esp + 0x14]
push edx
call fcn.0084fe40
push ebp
call dword [0x8b8934]
mov eax, dword [esi + 8]
push eax
call dword [0x8b8934]
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 [0x8c6654]
lea ecx, [esp + 0x74]
lea edx, [esp + 0x1c]
push ecx
push edx
call dword [eax + 0x20]
mov ecx, dword [esp + 0x80]
mov eax, dword [0x8c6654]
lea edx, [esp + 0x1c]
mov dword [esp + 0x18], ecx
push edx
call dword [eax + 0x10]
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0084fe40
add esp, 4
mov esi, dword [esp + 0x18]
lea edx, [esi + 1]
push edx
call dword [0x8b8930]
add esp, 4
cmp eax, ebx
jne 0x874c21
mov eax, dword [esp + 0x10]
push eax
call dword [0x8b8934]
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 [0x8b8934]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret