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

Disassembly:
sub esp, 0x98
xor eax, eax
mov dword [esp], eax
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x1c55310]
push str.WDigest
mov eax, dword [eax + 0x44]
call eax
test eax, eax
je 0x51cb5f
mov eax, 4
add esp, 0x98
ret
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push eax
mov ebx, dword [eax + 8]
mov eax, dword [0x1c55310]
mov dword [esp + 0x18], ebx
mov eax, dword [eax + 0x40]
call eax
push ebx
call dword [0x1c4e5c8]
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x51cb93
lea eax, [ebp + 0x1b]
pop ebp
pop ebx
add esp, 0x98
ret
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0xac]
push esi
mov esi, dword [esp + 0xbc]
mov eax, dword [esi + 0xc]
test edx, edx
je 0x51cbba
test eax, eax
je 0x51cc3a
jmp 0x51cbbe
test eax, eax
jne 0x51cc3a
mov ecx, dword [esi + 0x10]
test ebx, ebx
je 0x51cbcb
test ecx, ecx
je 0x51cc3a
jmp 0x51cbcf
test ecx, ecx
jne 0x51cc3a
test edx, edx
je 0x51cc07
test eax, eax
je 0x51cc07
mov bl, byte [edx]
cmp bl, byte [eax]
jne 0x51cbf7
test bl, bl
je 0x51cbf3
mov bl, byte [edx + 1]
cmp bl, byte [eax + 1]
jne 0x51cbf7
add edx, 2
add eax, 2
test bl, bl
jne 0x51cbd7
xor eax, eax
jmp 0x51cbfc
sbb eax, eax
or eax, 1
mov ebx, dword [esp + 0xb0]
test eax, eax
jne 0x51cc3a
test ebx, ebx
je 0x51cc82
test ecx, ecx
je 0x51cc82
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x51cc31
test dl, dl
je 0x51cc2d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x51cc31
add eax, 2
add ecx, 2
test dl, dl
jne 0x51cc11
xor eax, eax
jmp 0x51cc36
sbb eax, eax
or eax, 1
test eax, eax
je 0x51cc82
mov eax, dword [esi + 8]
test eax, eax
je 0x51cc5f
push eax
mov eax, dword [0x1c55310]
mov eax, dword [eax + 0x24]
call eax
push dword [esi + 8]
call dword [0x1c4e5cc]
add esp, 4
mov dword [esi + 8], 0
push dword [esi + 0xc]
call dword [0x1c4e5cc]
push dword [esi + 0x10]
mov dword [esi + 0xc], 0
call dword [0x1c4e5cc]
add esp, 8
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
push edi
mov edi, dword [esp + 0xb8]
je 0x51cdad
mov ecx, edi
mov dword [esp + 0x20], 0
lea eax, [esp + 0x30]
mov dword [esp + 0x24], 5
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], 2
mov dword [esp + 0x38], 0
lea edx, [ecx + 1]
mov dword [esp + 0x30], 0
mov dword [esp + 0x40], 3
mov dword [esp + 0x44], edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x51ccd5
sub ecx, edx
push ecx
call fcn.005050d0
mov dword [esp + 0x40], eax
add esp, 4
mov eax, dword [esp + 0xbc]
mov ecx, eax
mov dword [esp + 0x4c], 3
mov dword [esp + 0x50], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x51cd03
sub ecx, edx
push ecx
call fcn.005050d0
push dword [esp + 0x20]
mov dword [esp + 0x50], eax
mov dword [esp + 0x60], 3
mov dword [esp + 0x64], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x6c], 9
mov dword [esp + 0x70], ebp
call fcn.005050d0
add esp, 8
mov dword [esp + 0x60], eax
lea eax, [esp + 0x20]
push 0
push eax
mov eax, dword [0x1c55310]
push 0
push dword [esi + 8]
mov eax, dword [eax + 0x38]
call eax
test eax, eax
jne 0x51cd6e
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
jmp 0x51cda3
push eax
push str.digest_sspi:_MakeSignature_failed__error_0x_08lx_n
push dword [esp + 0xb4]
call fcn.004fec10
mov eax, dword [0x1c55310]
add esp, 0xc
push dword [esi + 8]
mov eax, dword [eax + 0x24]
call eax
push dword [esi + 8]
call dword [0x1c4e5cc]
add esp, 4
mov dword [esi + 8], 0
cmp dword [esi + 8], 0
jne 0x51d09b
push dword [esi + 0xc]
call dword [0x1c4e5cc]
push dword [esi + 0x10]
mov dword [esi + 0xc], 0
call dword [0x1c4e5cc]
mov eax, dword [esp + 0xb8]
add esp, 8
mov dword [esi + 0x10], 0
test eax, eax
je 0x51ce24
cmp byte [eax], 0
je 0x51ce24
lea ecx, [esp + 0x8c]
push ecx
push ebx
push eax
call fcn.00517f30
add esp, 0xc
test eax, eax
jne 0x51d0b2
lea eax, [esp + 0x8c]
push eax
push dword [esi]
call fcn.0051d670
add esp, 8
test eax, eax
jne 0x51d0b2
mov eax, dword [esp + 0xb0]
lea ebx, [esp + 0x8c]
jmp 0x51ce26
xor ebx, ebx
test eax, eax
je 0x51ce3f
push eax
call dword [0x1c4e5d4]
add esp, 4
mov dword [esi + 0xc], eax
test eax, eax
je 0x51d0b2
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x51ce85
push eax
call dword [0x1c4e5d4]
add esp, 4
mov dword [esi + 0x10], eax
test eax, eax
jne 0x51ce85
push ebp
call dword [0x1c4e5cc]
push dword [esi + 0xc]
call dword [0x1c4e5cc]
add esp, 8
mov dword [esi + 0xc], 0
mov eax, 0x1b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x1c55310]
push 0
push 0
push ebx
mov eax, dword [eax + 0xc]
push 0
push 2
push str.WDigest
push 0
call eax
test eax, eax
je 0x51ced0
push ebx
call fcn.00518030
push ebp
call dword [0x1c4e5cc]
add esp, 8
mov eax, 0x43
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret
push dword [esi + 4]
lea eax, [esp + 0x34]
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], eax
mov eax, dword [esi]
mov dword [esp + 0x28], 3
mov dword [esp + 0x38], 2
mov dword [esp + 0x3c], eax
call fcn.005050d0
add esp, 4
mov dword [esp + 0x30], eax
mov dword [esp + 0x40], 3
lea ecx, [edi + 1]
mov dword [esp + 0x44], edi
mov al, byte [edi]
inc edi
test al, al
jne 0x51cf14
sub edi, ecx
push edi
call fcn.005050d0
push dword [esp + 0x20]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x54], 3
mov dword [esp + 0x58], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 1
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], 2
mov dword [esp + 0x88], ebp
call fcn.005050d0
mov edi, dword [esp + 0xc4]
add esp, 8
mov dword [esp + 0x78], eax
test edi, edi
jne 0x51cfb4
lea eax, [esp + 0x14]
push eax
mov eax, dword [0x1c55310]
mov eax, dword [eax + 0x10]
call eax
push ebx
call fcn.00518030
push ebp
call dword [0x1c4e5cc]
add esp, 8
lea eax, [edi + 0x1b]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret
push 8
push 1
call dword [0x1c4e5d8]
add esp, 8
mov dword [esi + 8], eax
test eax, eax
je 0x51d0bc
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x74]
push ecx
push eax
push 0
lea eax, [esp + 0x34]
push eax
push 0
push 0
push 0x1000000
push edi
push 0
lea eax, [esp + 0x40]
push eax
mov eax, dword [0x1c55310]
mov eax, dword [eax + 0x18]
call eax
mov edi, eax
cmp edi, 0x90313
je 0x51d069
cmp edi, 0x90314
je 0x51d069
test edi, edi
je 0x51d07d
cmp edi, 0x90312
je 0x51d07d
lea eax, [esp + 0x14]
push eax
mov eax, dword [0x1c55310]
mov eax, dword [eax + 0x10]
call eax
push ebx
call fcn.00518030
push ebp
call dword [0x1c4e5cc]
push dword [esi + 8]
call dword [0x1c4e5cc]
add esp, 0xc
mov dword [esi + 8], 0
sub edi, 0x80090300
neg edi
sbb edi, edi
and edi, 0x43
lea eax, [edi + 0x1b]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x1c55310]
mov eax, dword [eax + 0x20]
call eax
mov edi, dword [esp + 0x78]
lea eax, [esp + 0x14]
push eax
mov eax, dword [0x1c55310]
mov eax, dword [eax + 0x10]
call eax
push ebx
call fcn.00518030
add esp, 4
jmp 0x51d09f
mov edi, dword [esp + 0x10]
lea eax, [edi + 1]
push eax
call dword [0x1c4e5c8]
mov esi, eax
add esp, 4
test esi, esi
jne 0x51d0cc
push ebp
call dword [0x1c4e5cc]
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x98
ret
push edi
push ebp
push esi
call sub.MSVCRT.dll_memcpy
mov eax, dword [esp + 0xd0]
mov byte [esi + edi], 0
push ebp
mov dword [eax], esi
mov eax, dword [esp + 0xd8]
mov dword [eax], edi
call dword [0x1c4e5cc]
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret