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

Disassembly:
sub esp, 0x1a4
mov ecx, dword [0x54f0c0]
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 0x4c8ed6
mov eax, dword [esp + 0x1ac]
push str.SSPI:_couldnt_get_auth_info
push eax
call fcn.00499e30
add esp, 8
lea eax, [ebx + 0x5e]
pop ebx
add esp, 0x1a4
ret
mov eax, dword [esp + 0x28]
mov ecx, dword [0x54f0c0]
mov edx, dword [ecx + 0x40]
push esi
mov esi, dword [eax + 8]
push eax
mov dword [esp + 0x20], esi
call edx
push esi
call dword [0x54ae68]
add esp, 4
mov dword [esp + 8], eax
cmp eax, ebx
jne 0x4c8f0e
pop esi
mov eax, 0x1b
pop ebx
add esp, 0x1a4
ret
mov esi, dword [esp + 0x1c4]
mov edx, dword [esi + 0xc]
push ebp
push edi
mov edi, dword [esp + 0x1bc]
cmp edi, ebx
je 0x4c8f2f
cmp edx, ebx
je 0x4c8fbf
jmp 0x4c8f37
cmp edx, ebx
jne 0x4c8fbf
mov ebp, dword [esi + 0x10]
cmp dword [esp + 0x1c0], ebx
je 0x4c8f49
cmp ebp, ebx
je 0x4c8fbf
jmp 0x4c8f4d
cmp ebp, ebx
jne 0x4c8fbf
cmp edi, ebx
je 0x4c8f80
cmp edx, ebx
je 0x4c8f80
mov eax, edi
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x4c8f77
cmp cl, bl
je 0x4c8f73
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x4c8f77
add eax, 2
add edx, 2
cmp cl, bl
jne 0x4c8f57
xor eax, eax
jmp 0x4c8f7c
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4c8fbf
cmp dword [esp + 0x1c0], ebx
je 0x4c8ffe
cmp ebp, ebx
je 0x4c8ffe
mov eax, dword [esp + 0x1c0]
mov ecx, ebp
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4c8fb6
cmp dl, bl
je 0x4c8fb2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4c8fb6
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4c8f96
xor eax, eax
jmp 0x4c8fbb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4c8ffe
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x4c8fe1
push eax
mov eax, dword [0x54f0c0]
mov ecx, dword [eax + 0x24]
call ecx
mov edx, dword [esi + 8]
push edx
call dword [0x54ae6c]
add esp, 4
mov dword [esi + 8], ebx
mov eax, dword [esi + 0xc]
push eax
call dword [0x54ae6c]
mov ecx, dword [esi + 0x10]
push ecx
mov dword [esi + 0xc], ebx
call dword [0x54ae6c]
add esp, 8
mov dword [esi + 0x10], ebx
mov ebp, 3
cmp dword [esi + 8], ebx
je 0x4c9118
mov eax, dword [esp + 0x1c4]
lea edx, [esp + 0x38]
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 5
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 0x4c9042
sub eax, edx
push eax
call fcn.0049cf70
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x1cc]
add esp, 4
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], eax
lea edi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4c9070
sub eax, edi
push eax
call fcn.0049cf70
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x14]
push ecx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x74], 9
mov dword [esp + 0x78], eax
call fcn.0049cf70
mov ecx, dword [0x54f0c0]
add esp, 8
push ebx
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x70], eax
mov eax, dword [esi + 8]
mov edx, dword [ecx + 0x38]
push ebx
push eax
call edx
cmp eax, ebx
jne 0x4c90d4
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18], eax
jmp 0x4c9108
mov ecx, dword [esp + 0x1b8]
push eax
push str.digest_sspi:_MakeSignature_failed__error_0x_08lx_n
push ecx
call fcn.00499d60
mov edx, dword [esi + 8]
mov eax, dword [0x54f0c0]
mov ecx, dword [eax + 0x24]
add esp, 0xc
push edx
call ecx
mov edx, dword [esi + 8]
push edx
call dword [0x54ae6c]
add esp, 4
mov dword [esi + 8], ebx
mov edi, dword [esp + 0x1bc]
cmp dword [esi + 8], ebx
jne 0x4c9467
mov eax, dword [esi + 0xc]
push eax
call dword [0x54ae6c]
mov ecx, dword [esi + 0x10]
push ecx
mov dword [esi + 0xc], ebx
call dword [0x54ae6c]
add esp, 8
mov dword [esi + 0x10], ebx
cmp edi, ebx
je 0x4c919c
cmp byte [edi], bl
je 0x4c919c
mov eax, dword [esp + 0x1c0]
lea edx, [esp + 0x98]
push edx
push eax
push edi
call fcn.004a4e00
add esp, 0xc
test eax, eax
jne 0x4c9171
mov eax, dword [esi]
lea edx, [esp + 0x98]
push edx
push eax
call fcn.004c8d50
add esp, 8
test eax, eax
je 0x4c918f
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x54ae6c]
add esp, 4
pop edi
pop ebp
pop esi
mov eax, 0x1b
pop ebx
add esp, 0x1a4
ret
lea edi, [esp + 0x98]
mov dword [esp + 0x14], edi
jmp 0x4c91a2
mov dword [esp + 0x14], ebx
mov edi, ebx
mov eax, dword [esp + 0x1bc]
cmp eax, ebx
je 0x4c91c2
push eax
call dword [0x54ae74]
add esp, 4
mov dword [esi + 0xc], eax
cmp eax, ebx
je 0x4c947e
mov eax, dword [esp + 0x1c0]
cmp eax, ebx
je 0x4c9209
push eax
call dword [0x54ae74]
add esp, 4
mov dword [esi + 0x10], eax
cmp eax, ebx
jne 0x4c9209
mov eax, dword [esp + 0x10]
push eax
call dword [0x54ae6c]
mov ecx, dword [esi + 0xc]
push ecx
call dword [0x54ae6c]
add esp, 8
pop edi
pop ebp
mov dword [esi + 0xc], ebx
pop esi
mov eax, 0x1b
pop ebx
add esp, 0x1a4
ret
mov ecx, dword [0x54f0c0]
lea edx, [esp + 0x8c]
push edx
mov edx, dword [ecx + 0xc]
lea eax, [esp + 0x20]
push eax
push ebx
push ebx
push edi
push ebx
push 2
push str.WDigest
push ebx
call edx
test eax, eax
je 0x4c9255
push edi
call fcn.004a4f00
mov eax, dword [esp + 0x14]
push eax
call dword [0x54ae6c]
add esp, 8
pop edi
pop ebp
pop esi
mov eax, 0x43
pop ebx
add esp, 0x1a4
ret
mov eax, dword [esi + 4]
mov edx, dword [esi]
lea ecx, [esp + 0x38]
push eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], 2
mov dword [esp + 0x44], edx
call fcn.0049cf70
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1c8]
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 0x4c9295
sub eax, edi
push eax
call fcn.0049cf70
mov edx, dword [esp + 0x28]
mov dword [esp + 0x58], ebp
mov ebp, dword [esp + 0x14]
lea ecx, [esp + 0x84]
push edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], 1
mov dword [esp + 0x84], ecx
mov dword [esp + 0x8c], 2
mov dword [esp + 0x90], ebp
call fcn.0049cf70
mov edi, dword [esp + 0x1d0]
add esp, 8
mov dword [esp + 0x80], eax
cmp edi, ebx
jne 0x4c933a
mov ecx, dword [0x54f0c0]
mov edx, dword [ecx + 0x10]
lea eax, [esp + 0x1c]
push eax
call edx
mov eax, dword [esp + 0x14]
push eax
call fcn.004a4f00
push ebp
call dword [0x54ae6c]
add esp, 8
pop edi
pop ebp
pop esi
mov eax, 0x1b
pop ebx
add esp, 0x1a4
ret
push 8
push 1
call dword [0x54ae78]
add esp, 8
mov dword [esi + 8], eax
cmp eax, ebx
je 0x4c948c
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x98]
push edx
lea ecx, [esp + 0x7c]
push ecx
mov ecx, dword [0x54f0c0]
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
mov edi, eax
cmp edi, 0x90313
je 0x4c942b
cmp edi, 0x90314
je 0x4c942b
cmp edi, ebx
je 0x4c943f
cmp edi, 0x90312
je 0x4c943f
mov ecx, dword [0x54f0c0]
mov edx, dword [ecx + 0x10]
lea eax, [esp + 0x1c]
push eax
call edx
mov eax, dword [esp + 0x14]
push eax
call fcn.004a4f00
push ebp
call dword [0x54ae6c]
mov ecx, dword [esi + 8]
push ecx
call dword [0x54ae6c]
add esp, 0xc
mov dword [esi + 8], ebx
cmp edi, 0x80090300
je 0x4c948c
push 0x100
lea edx, [esp + 0xb8]
push edx
push edi
call fcn.0048f650
push eax
mov eax, dword [esp + 0x1c8]
push str.schannel:_InitializeSecurityContext_failed:__s_n
push eax
call fcn.00499d60
add esp, 0x18
pop edi
pop ebp
pop esi
mov eax, 0x5e
pop ebx
add esp, 0x1a4
ret
mov eax, dword [0x54f0c0]
lea ecx, [esp + 0x74]
push ecx
mov ecx, dword [eax + 0x20]
lea edx, [esp + 0x20]
push edx
call ecx
mov edx, dword [esp + 0x80]
mov ecx, dword [0x54f0c0]
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], edx
mov edx, dword [ecx + 0x10]
push eax
call edx
mov eax, dword [esp + 0x14]
push eax
call fcn.004a4f00
add esp, 4
mov edi, dword [esp + 0x18]
lea ecx, [edi + 1]
push ecx
call dword [0x54ae68]
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x4c949c
mov edx, dword [esp + 0x10]
push edx
call dword [0x54ae6c]
add esp, 4
pop edi
pop ebp
pop esi
mov eax, 0x1b
pop ebx
add esp, 0x1a4
ret
mov ebp, dword [esp + 0x10]
push edi
push ebp
push esi
call fcn.004d9410
mov eax, dword [esp + 0x1dc]
mov ecx, dword [esp + 0x1e0]
mov byte [esi + edi], bl
mov dword [eax], esi
push ebp
mov dword [ecx], edi
call dword [0x54ae6c]
add esp, 0x10
pop edi
pop ebp
pop esi
xor eax, eax
pop ebx
add esp, 0x1a4
ret