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

Disassembly:
sub esp, 0x5bc
mov eax, dword [0x65ebc0]
xor eax, esp
mov dword [esp + 0x5b8], eax
mov eax, dword [esp + 0x5c4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x5c8]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x5cc]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x5d0]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x5d8]
push ebx
mov ebx, dword [esp + 0x5d8]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x5e0]
push ebp
mov dword [esp + 0x40], eax
xor ebp, ebp
push edi
mov edi, dword [esp + 0x5cc]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [0xcb3900]
push str.WDigest
mov dword [esp + 0x14], ebx
mov eax, dword [eax + 0x44]
call eax
test eax, eax
je 0x4c6b20
pop edi
lea eax, [ebp + 4]
pop ebp
pop ebx
mov ecx, dword [esp + 0x5b8]
xor ecx, esp
call fcn.005ca9f7
add esp, 0x5bc
ret
mov eax, dword [esp + 0x3c]
push esi
push eax
mov esi, dword [eax + 8]
mov eax, dword [0xcb3900]
mov dword [esp + 0x28], esi
mov eax, dword [eax + 0x40]
call eax
push esi
call dword [0x65b0d8]
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x4c6f14
mov edx, dword [esp + 0x20]
mov ecx, dword [ebx + 0xc]
test edx, edx
je 0x4c6b62
test ecx, ecx
je 0x4c6bfe
jmp 0x4c6b6a
test ecx, ecx
jne 0x4c6bfe
lea esi, [ebx + 0x10]
mov eax, dword [esi]
cmp dword [esp + 0x18], ebp
je 0x4c6b7f
test eax, eax
je 0x4c6bfe
jmp 0x4c6b83
test eax, eax
jne 0x4c6bfe
test edx, edx
je 0x4c6bbd
test ecx, ecx
je 0x4c6bbd
nop dword [eax + eax]
mov bl, byte [edx]
cmp bl, byte [ecx]
jne 0x4c6bb0
test bl, bl
je 0x4c6bac
mov bl, byte [edx + 1]
cmp bl, byte [ecx + 1]
jne 0x4c6bb0
add edx, 2
add ecx, 2
test bl, bl
jne 0x4c6b90
xor ecx, ecx
jmp 0x4c6bb5
sbb ecx, ecx
or ecx, 1
mov ebx, dword [esp + 0x10]
test ecx, ecx
jne 0x4c6bfe
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], esi
test ecx, ecx
je 0x4c6c40
mov dword [esp + 0x10], esi
test eax, eax
je 0x4c6c40
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4c6bf1
test dl, dl
je 0x4c6bed
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4c6bf1
add ecx, 2
add eax, 2
test dl, dl
jne 0x4c6bd1
xor eax, eax
jmp 0x4c6bf6
sbb eax, eax
or eax, 1
mov dword [esp + 0x10], esi
test eax, eax
je 0x4c6c40
mov eax, dword [ebx + 8]
test eax, eax
je 0x4c6c1f
push eax
mov eax, dword [0xcb3900]
mov eax, dword [eax + 0x24]
call eax
push dword [ebx + 8]
call dword [0x65b0dc]
add esp, 4
mov dword [ebx + 8], ebp
push dword [ebx + 0xc]
call dword [0x65b0dc]
push dword [ebx + 0x10]
lea esi, [ebx + 0x10]
mov dword [ebx + 0xc], ebp
mov dword [esp + 0x18], esi
call dword [0x65b0dc]
add esp, 8
mov dword [esi], ebp
mov eax, dword [ebx + 8]
mov esi, dword [esp + 0x1c]
test eax, eax
je 0x4c6d58
mov ecx, esi
mov dword [esp + 0x34], ebp
lea eax, [esp + 0x8c]
mov dword [esp + 0x38], 5
mov dword [esp + 0x3c], eax
mov dword [esp + 0x90], 2
mov dword [esp + 0x94], ebp
lea edx, [ecx + 1]
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x9c], 3
mov dword [esp + 0xa0], esi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c6c96
sub ecx, edx
push ecx
call fcn.004aaf80
mov dword [esp + 0x9c], eax
add esp, 4
mov eax, dword [esp + 0x28]
mov ecx, eax
mov dword [esp + 0xa8], 3
mov dword [esp + 0xac], eax
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c6cd0
sub ecx, edx
push ecx
call fcn.004aaf80
push dword [esp + 0x28]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xbc], 3
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xc8], 9
mov dword [esp + 0xcc], eax
call fcn.004aaf80
add esp, 8
mov dword [esp + 0xbc], eax
lea eax, [esp + 0x34]
push 0
push eax
mov eax, dword [0xcb3900]
push 0
push dword [ebx + 8]
mov eax, dword [eax + 0x38]
call eax
test eax, eax
jne 0x4c6eb2
mov eax, dword [ebx + 8]
mov ebp, dword [esp + 0xbc]
test eax, eax
jne 0x4c717d
push dword [ebx + 0xc]
call dword [0x65b0dc]
mov ebp, dword [esp + 0x14]
mov dword [ebx + 0xc], 0
push dword [ebp]
call dword [0x65b0dc]
mov eax, dword [esp + 0x28]
add esp, 8
mov dword [ebp], 0
test eax, eax
je 0x4c6ef0
cmp byte [eax], 0
je 0x4c6ef0
lea ecx, [esp + 0x70]
push ecx
push dword [esp + 0x1c]
push eax
call fcn.004c7450
add esp, 0xc
test eax, eax
jne 0x4c6f07
cmp dword [esp + 0x78], 0
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
je 0x4c6dc6
cmp dword [esp + 0x7c], 0
jne 0x4c6ee6
mov cl, byte [eax]
test cl, cl
je 0x4c6def
nop dword [eax]
movzx eax, cl
push eax
call fcn.004c4ae0
add esp, 4
test eax, eax
mov eax, dword [esp + 0x10]
je 0x4c6def
inc eax
mov dword [esp + 0x10], eax
mov cl, byte [eax]
test cl, cl
jne 0x4c6dd0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1cc]
push ecx
lea ecx, [esp + 0xd0]
push ecx
push eax
call fcn.004ce840
add esp, 0x10
test al, al
je 0x4c6ee2
lea eax, [esp + 0xc8]
push str.realm
push eax
call fcn.004ad500
add esp, 8
test eax, eax
je 0x4c6e76
lea eax, [esp + 0x1c8]
push eax
call dword [0x65b0e4]
mov esi, eax
add esp, 4
test esi, esi
je 0x4c6f07
push dword [esp + 0x78]
call dword [0x65b0dc]
add esp, 4
mov dword [esp + 0x78], esi
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x4c6e60
sub esi, ecx
push esi
call fcn.004aaf80
add esp, 4
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x10]
mov cl, byte [eax]
test cl, cl
je 0x4c6e9f
movzx eax, cl
push eax
call fcn.004c4ae0
add esp, 4
test eax, eax
mov eax, dword [esp + 0x10]
je 0x4c6e9f
inc eax
mov dword [esp + 0x10], eax
mov cl, byte [eax]
test cl, cl
jne 0x4c6e80
cmp byte [eax], 0x2c
jne 0x4c6dc6
inc eax
mov dword [esp + 0x10], eax
jmp 0x4c6dc6
push eax
push str.digest_sspi:_MakeSignature_failed__error_0x_08lx_n
push edi
call fcn.004a8cf0
mov eax, dword [0xcb3900]
add esp, 0xc
push dword [ebx + 8]
mov eax, dword [eax + 0x24]
call eax
push dword [ebx + 8]
call dword [0x65b0dc]
add esp, 4
mov dword [ebx + 8], ebp
jmp 0x4c6d58
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
lea edi, [esp + 0x70]
jmp 0x4c6ef6
xor edi, edi
test eax, eax
je 0x4c6f32
push eax
call dword [0x65b0e4]
add esp, 4
mov dword [ebx + 0xc], eax
test eax, eax
jne 0x4c6f32
push dword [esp + 0x14]
call dword [0x65b0dc]
add esp, 4
mov eax, 0x1b
mov ecx, dword [esp + 0x5c8]
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.005ca9f7
add esp, 0x5bc
ret
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4c6f6a
push eax
call dword [0x65b0e4]
add esp, 4
mov dword [ebp], eax
test eax, eax
jne 0x4c6f6a
push dword [esp + 0x14]
call dword [0x65b0dc]
push dword [ebx + 0xc]
call dword [0x65b0dc]
add esp, 8
mov dword [ebx + 0xc], 0
jmp 0x4c6f14
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x30]
push eax
mov eax, dword [0xcb3900]
push 0
push 0
push edi
mov eax, dword [eax + 0xc]
push 0
push 2
push str.WDigest
push 0
call eax
test eax, eax
je 0x4c6faf
push edi
call fcn.004c7560
push dword [esp + 0x18]
call dword [0x65b0dc]
add esp, 8
mov eax, 0x43
jmp 0x4c6f19
push dword [ebx + 4]
lea eax, [esp + 0x90]
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], eax
mov eax, dword [ebx]
mov dword [esp + 0x3c], 3
mov dword [esp + 0x94], 2
mov dword [esp + 0x98], eax
call fcn.004aaf80
add esp, 4
mov dword [esp + 0x8c], eax
mov dword [esp + 0x9c], 3
lea ecx, [esi + 1]
mov dword [esp + 0xa0], esi
mov al, byte [esi]
inc esi
test al, al
jne 0x4c7005
sub esi, ecx
push esi
call fcn.004aaf80
push dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x60]
mov dword [esp + 0xb0], 3
mov dword [esp + 0xb4], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 1
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], 2
mov dword [esp + 0x68], ebp
call fcn.004aaf80
mov esi, dword [esp + 0x30]
add esp, 8
mov dword [esp + 0x58], eax
test esi, esi
jne 0x4c70a0
lea eax, [esp + 0x2c]
push eax
mov eax, dword [0xcb3900]
mov eax, dword [eax + 0x10]
call eax
push edi
call fcn.004c7560
push ebp
call dword [0x65b0dc]
add esp, 8
jmp 0x4c6f14
push 8
push 1
call dword [0x65b0e8]
add esp, 8
mov dword [ebx + 8], eax
test eax, eax
je 0x4c6f14
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x54]
push ecx
push eax
push 0
lea eax, [esp + 0x48]
push eax
push 0
push 0
push 0x1000000
push esi
push 0
lea eax, [esp + 0x58]
push eax
mov eax, dword [0xcb3900]
mov eax, dword [eax + 0x18]
call eax
mov esi, eax
cmp esi, 0x90313
je 0x4c714d
cmp esi, 0x90314
je 0x4c714d
test esi, esi
je 0x4c7161
cmp esi, 0x90312
je 0x4c7161
lea eax, [esp + 0x2c]
push eax
mov eax, dword [0xcb3900]
mov eax, dword [eax + 0x10]
call eax
push edi
call fcn.004c7560
push ebp
call dword [0x65b0dc]
push dword [ebx + 8]
call dword [0x65b0dc]
add esp, 0xc
mov dword [ebx + 8], 0
cmp esi, 0x80090300
je 0x4c6f14
mov eax, 0x5e
jmp 0x4c6f19
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x30]
push eax
mov eax, dword [0xcb3900]
mov eax, dword [eax + 0x20]
call eax
mov ebp, dword [esp + 0x58]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [0xcb3900]
mov eax, dword [eax + 0x10]
call eax
push edi
call fcn.004c7560
add esp, 4
lea eax, [ebp + 1]
push eax
call dword [0x65b0d8]
mov esi, eax
add esp, 4
test esi, esi
je 0x4c6f07
mov ebx, dword [esp + 0x14]
push ebp
push ebx
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x50]
mov byte [esi + ebp], 0
push ebx
mov dword [eax], esi
mov eax, dword [esp + 0x58]
mov dword [eax], ebp
call dword [0x65b0dc]
add esp, 0x10
xor eax, eax
jmp 0x4c6f19