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

Disassembly:
sub esp, 0xa4
mov ecx, dword [0x4d4cf0]
mov edx, dword [ecx + 0x44]
push ebx
lea eax, [esp + 0x28]
push eax
xor ebx, ebx
push str.WDigest
mov dword [esp + 0x14], ebx
call edx
test eax, eax
je 0x4a8611
lea eax, [ebx + 4]
pop ebx
add esp, 0xa4
ret
mov eax, dword [esp + 0x28]
push esi
mov esi, dword [eax + 8]
push eax
mov eax, dword [0x4d4cf0]
mov ecx, dword [eax + 0x40]
mov dword [esp + 0x20], esi
call ecx
push esi
call dword [0x4d2020]
add esp, 4
mov dword [esp + 8], eax
cmp eax, ebx
jne 0x4a8648
pop esi
mov eax, 0x1b
pop ebx
add esp, 0xa4
ret
mov esi, dword [esp + 0xc4]
mov edx, dword [esi + 0xc]
push ebp
push edi
mov edi, dword [esp + 0xbc]
cmp edi, ebx
je 0x4a8669
cmp edx, ebx
je 0x4a86fd
jmp 0x4a8671
cmp edx, ebx
jne 0x4a86fd
mov ebp, dword [esi + 0x10]
cmp dword [esp + 0xc0], ebx
je 0x4a8687
cmp ebp, ebx
je 0x4a86fd
jmp 0x4a868b
cmp ebp, ebx
jne 0x4a86fd
cmp edi, ebx
je 0x4a86be
cmp edx, ebx
je 0x4a86be
mov eax, edi
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x4a86b5
cmp cl, bl
je 0x4a86b1
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x4a86b5
add eax, 2
add edx, 2
cmp cl, bl
jne 0x4a8695
xor eax, eax
jmp 0x4a86ba
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4a86fd
cmp dword [esp + 0xc0], ebx
je 0x4a873d
cmp ebp, ebx
je 0x4a873d
mov eax, dword [esp + 0xc0]
mov ecx, ebp
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4a86f4
cmp dl, bl
je 0x4a86f0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4a86f4
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4a86d4
xor eax, eax
jmp 0x4a86f9
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4a873d
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x4a8720
mov edx, dword [0x4d4cf0]
push eax
mov eax, dword [edx + 0x24]
call eax
mov ecx, dword [esi + 8]
push ecx
call dword [0x4d2024]
add esp, 4
mov dword [esi + 8], ebx
mov edx, dword [esi + 0xc]
push edx
call dword [0x4d2024]
mov eax, dword [esi + 0x10]
push eax
mov dword [esi + 0xc], ebx
call dword [0x4d2024]
add esp, 8
mov dword [esi + 0x10], ebx
mov ebp, 3
cmp dword [esi + 8], ebx
je 0x4a8858
mov eax, dword [esp + 0xc4]
lea ecx, [esp + 0x38]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 5
mov dword [esp + 0x30], ecx
mov dword [esp + 0x3c], 2
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], eax
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4a8781
sub eax, edx
push eax
call fcn.00491470
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xcc]
add esp, 4
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], eax
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4a87b0
sub eax, edi
push eax
call fcn.00491470
mov edx, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x28]
push eax
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x74], 9
mov dword [esp + 0x78], edx
call fcn.00491470
mov edx, dword [esi + 8]
add esp, 8
push ebx
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x70], eax
mov eax, dword [0x4d4cf0]
mov ecx, dword [eax + 0x38]
push ebx
push edx
call ecx
cmp eax, ebx
jne 0x4a8813
mov edx, dword [esp + 0x68]
mov dword [esp + 0x18], edx
jmp 0x4a8848
push eax
mov eax, dword [esp + 0xbc]
push str.digest_sspi:_MakeSignature_failed__error_0x_08lx_n
push eax
call fcn.0048e8b0
mov ecx, dword [esi + 8]
mov edx, dword [0x4d4cf0]
mov eax, dword [edx + 0x24]
add esp, 0xc
push ecx
call eax
mov ecx, dword [esi + 8]
push ecx
call dword [0x4d2024]
add esp, 4
mov dword [esi + 8], ebx
mov edi, dword [esp + 0xbc]
cmp dword [esi + 8], ebx
jne 0x4a8b60
mov edx, dword [esi + 0xc]
push edx
call dword [0x4d2024]
mov eax, dword [esi + 0x10]
push eax
mov dword [esi + 0xc], ebx
call dword [0x4d2024]
add esp, 8
mov dword [esi + 0x10], ebx
cmp edi, ebx
je 0x4a88c6
cmp byte [edi], bl
je 0x4a88c6
mov edx, dword [esp + 0xc0]
lea ecx, [esp + 0x98]
push ecx
push edx
push edi
call fcn.00482d70
add esp, 0xc
test eax, eax
jne 0x4a8b77
mov edx, dword [esi]
lea ecx, [esp + 0x98]
push ecx
push edx
call fcn.004a8490
add esp, 8
test eax, eax
jne 0x4a8b77
lea edi, [esp + 0x98]
mov dword [esp + 0x14], edi
jmp 0x4a88cc
mov dword [esp + 0x14], ebx
mov edi, ebx
mov eax, dword [esp + 0xbc]
cmp eax, ebx
je 0x4a8906
push eax
call dword [0x4d202c]
add esp, 4
mov dword [esi + 0xc], eax
cmp eax, ebx
jne 0x4a8906
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x4d2024]
add esp, 4
pop edi
pop ebp
pop esi
mov eax, 0x1b
pop ebx
add esp, 0xa4
ret
mov eax, dword [esp + 0xc0]
cmp eax, ebx
je 0x4a894d
push eax
call dword [0x4d202c]
add esp, 4
mov dword [esi + 0x10], eax
cmp eax, ebx
jne 0x4a894d
mov edx, dword [esp + 0x10]
push edx
call dword [0x4d2024]
mov eax, dword [esi + 0xc]
push eax
call dword [0x4d2024]
add esp, 8
pop edi
pop ebp
mov dword [esi + 0xc], ebx
pop esi
mov eax, 0x1b
pop ebx
add esp, 0xa4
ret
mov eax, dword [0x4d4cf0]
lea ecx, [esp + 0x8c]
push ecx
mov ecx, dword [eax + 0xc]
lea edx, [esp + 0x20]
push edx
push ebx
push ebx
push edi
push ebx
push 2
push str.WDigest
push ebx
call ecx
test eax, eax
je 0x4a8998
push edi
call fcn.00482e70
mov edx, dword [esp + 0x14]
push edx
call dword [0x4d2024]
add esp, 8
pop edi
pop ebp
pop esi
mov eax, 0x43
pop ebx
add esp, 0xa4
ret
mov edx, dword [esi + 4]
mov ecx, dword [esi]
lea eax, [esp + 0x38]
push edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], 2
mov dword [esp + 0x44], ecx
call fcn.00491470
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xc8]
add esp, 4
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], eax
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4a89d8
sub eax, edi
push eax
call fcn.00491470
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x48], eax
mov dword [esp + 0x58], ebp
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x84]
push ecx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], 1
mov dword [esp + 0x84], eax
mov dword [esp + 0x8c], 2
mov dword [esp + 0x90], ebp
call fcn.00491470
mov edi, dword [esp + 0xd0]
add esp, 8
mov dword [esp + 0x80], eax
cmp edi, ebx
jne 0x4a8a7c
mov eax, dword [0x4d4cf0]
mov ecx, dword [eax + 0x10]
lea edx, [esp + 0x1c]
push edx
call ecx
mov edx, dword [esp + 0x14]
push edx
call fcn.00482e70
push ebp
call dword [0x4d2024]
add esp, 8
pop edi
pop ebp
pop esi
mov eax, 0x1b
pop ebx
add esp, 0xa4
ret
push 8
push 1
call dword [0x4d2030]
add esp, 8
mov dword [esi + 8], eax
cmp eax, ebx
je 0x4a8b85
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x98]
push edx
lea ecx, [esp + 0x7c]
push ecx
mov ecx, dword [0x4d4cf0]
push eax
push ebx
lea edx, [esp + 0x3c]
push edx
mov edx, dword [ecx + 0x18]
push ebx
push ebx
push 0x1000000
push edi
push ebx
lea eax, [esp + 0x48]
push eax
call edx
cmp eax, 0x90313
je 0x4a8b23
cmp eax, 0x90314
je 0x4a8b23
cmp eax, ebx
je 0x4a8b38
cmp eax, 0x90312
je 0x4a8b38
mov ecx, dword [0x4d4cf0]
mov edx, dword [ecx + 0x10]
lea eax, [esp + 0x1c]
push eax
call edx
mov eax, dword [esp + 0x14]
push eax
call fcn.00482e70
push ebp
call dword [0x4d2024]
mov ecx, dword [esi + 8]
push ecx
call dword [0x4d2024]
add esp, 0xc
pop edi
pop ebp
mov dword [esi + 8], ebx
pop esi
mov eax, 0x1b
pop ebx
add esp, 0xa4
ret
mov ecx, dword [0x4d4cf0]
lea edx, [esp + 0x74]
push edx
mov edx, dword [ecx + 0x20]
lea eax, [esp + 0x20]
push eax
call edx
mov eax, dword [esp + 0x80]
mov edx, dword [0x4d4cf0]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x10]
push ecx
call eax
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00482e70
add esp, 4
mov edi, dword [esp + 0x18]
lea edx, [edi + 1]
push edx
call dword [0x4d2020]
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x4a8b95
mov eax, dword [esp + 0x10]
push eax
call dword [0x4d2024]
add esp, 4
pop edi
pop ebp
pop esi
mov eax, 0x1b
pop ebx
add esp, 0xa4
ret
mov ebp, dword [esp + 0x10]
push edi
push ebp
push esi
call fcn.00450960
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0xe0]
mov byte [esi + edi], bl
mov dword [ecx], esi
push ebp
mov dword [edx], edi
call dword [0x4d2024]
add esp, 0x10
pop edi
pop ebp
pop esi
xor eax, eax
pop ebx
add esp, 0xa4
ret