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

Disassembly:
sub esp, 0x5a4
lea eax, [esp + 0x24]
push ebp
push eax
mov eax, dword [0x521b7c]
xor ebp, ebp
push str.WDigest
mov eax, dword [eax + 0x44]
call eax
test eax, eax
je 0x4927bc
lea eax, [ebp + 4]
pop ebp
add esp, 0x5a4
ret
mov eax, dword [esp + 0x28]
push ebx
push esi
push edi
mov ebx, dword [eax + 8]
push eax
mov eax, dword [0x521b7c]
mov dword [esp + 0x20], ebx
mov eax, dword [eax + 0x40]
call eax
push ebx
call dword [0x4e81d0]
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x492b9c
mov ebx, dword [esp + 0x5cc]
mov edx, dword [esp + 0x5bc]
mov ecx, dword [ebx + 0xc]
test edx, edx
je 0x49280a
test ecx, ecx
je 0x4928ad
jmp 0x492812
test ecx, ecx
jne 0x4928ad
lea esi, [ebx + 0x10]
mov eax, dword [esi]
cmp dword [esp + 0x5c0], ebp
je 0x49282a
test eax, eax
je 0x4928ad
jmp 0x49282e
test eax, eax
jne 0x4928ad
test edx, edx
je 0x492866
test ecx, ecx
je 0x492866
mov bl, byte [edx]
cmp bl, byte [ecx]
jne 0x492856
test bl, bl
je 0x492852
mov bl, byte [edx + 1]
cmp bl, byte [ecx + 1]
jne 0x492856
add edx, 2
add ecx, 2
test bl, bl
jne 0x492836
xor ecx, ecx
jmp 0x49285b
sbb ecx, ecx
or ecx, 1
mov ebx, dword [esp + 0x5cc]
test ecx, ecx
jne 0x4928ad
mov ecx, dword [esp + 0x5c0]
mov edi, esi
mov dword [esp + 0x18], edi
test ecx, ecx
je 0x4928ef
mov dword [esp + 0x18], edi
test eax, eax
je 0x4928ef
nop
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4928a0
test dl, dl
je 0x49289c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4928a0
add ecx, 2
add eax, 2
test dl, dl
jne 0x492880
xor eax, eax
jmp 0x4928a5
sbb eax, eax
or eax, 1
mov dword [esp + 0x18], edi
test eax, eax
je 0x4928ef
mov eax, dword [ebx + 8]
test eax, eax
je 0x4928ce
push eax
mov eax, dword [0x521b7c]
mov eax, dword [eax + 0x24]
call eax
push dword [ebx + 8]
call dword [0x4e81d4]
add esp, 4
mov dword [ebx + 8], ebp
push dword [ebx + 0xc]
call dword [0x4e81d4]
push dword [ebx + 0x10]
lea edi, [ebx + 0x10]
mov dword [ebx + 0xc], ebp
mov dword [esp + 0x20], edi
call dword [0x4e81d4]
add esp, 8
mov dword [edi], ebp
mov esi, dword [esp + 0x5c4]
cmp dword [ebx + 8], ebp
je 0x4929f6
mov ecx, esi
mov dword [esp + 0x28], ebp
lea eax, [esp + 0x38]
mov dword [esp + 0x2c], 5
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], 2
mov dword [esp + 0x40], ebp
lea edx, [ecx + 1]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x48], 3
mov dword [esp + 0x4c], esi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x492934
sub ecx, edx
push ecx
call fcn.00460b60
mov dword [esp + 0x48], eax
add esp, 4
mov eax, dword [esp + 0x5c8]
mov ecx, eax
mov dword [esp + 0x54], 3
mov dword [esp + 0x58], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x492962
sub ecx, edx
push ecx
call fcn.00460b60
push dword [esp + 0x20]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x68], 3
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x74], 9
mov dword [esp + 0x78], eax
call fcn.00460b60
add esp, 8
mov dword [esp + 0x68], eax
lea eax, [esp + 0x28]
push 0
push eax
mov eax, dword [0x521b7c]
push 0
push dword [ebx + 8]
mov eax, dword [eax + 0x38]
call eax
test eax, eax
jne 0x4929c5
mov ebp, dword [esp + 0x68]
jmp 0x4929f6
push eax
push str.digest_sspi:_MakeSignature_failed__error_0x_08lx_n
push dword [esp + 0x5c0]
call fcn.0045e540
mov eax, dword [0x521b7c]
add esp, 0xc
push dword [ebx + 8]
mov eax, dword [eax + 0x24]
call eax
push dword [ebx + 8]
call dword [0x4e81d4]
add esp, 4
mov dword [ebx + 8], ebp
cmp dword [ebx + 8], 0
jne 0x492e28
push dword [ebx + 0xc]
call dword [0x4e81d4]
push dword [edi]
mov dword [ebx + 0xc], 0
call dword [0x4e81d4]
mov ebp, dword [esp + 0x5c4]
add esp, 8
mov dword [edi], 0
test ebp, ebp
je 0x492b78
cmp byte [ebp], 0
je 0x492b78
lea eax, [esp + 0x98]
push eax
push dword [esp + 0x5c4]
push ebp
call fcn.00492fd0
add esp, 0xc
test eax, eax
jne 0x492b8f
cmp dword [esp + 0xa0], 0
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
je 0x492a78
cmp dword [esp + 0xa4], 0
jne 0x492b6f
mov cl, byte [eax]
test cl, cl
je 0x492a9f
mov edi, edi
movzx eax, cl
push eax
call fcn.00476690
add esp, 4
test eax, eax
mov eax, dword [esp + 0x10]
je 0x492a9f
inc eax
mov dword [esp + 0x10], eax
mov cl, byte [eax]
test cl, cl
jne 0x492a80
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1b8]
push ecx
lea ecx, [esp + 0xbc]
push ecx
push eax
call fcn.004a8ca0
add esp, 0x10
test al, al
je 0x492b68
lea eax, [esp + 0xb4]
push str.realm
push eax
call fcn.00461f20
add esp, 8
test eax, eax
je 0x492b2c
lea eax, [esp + 0x1b4]
push eax
call dword [0x4e81dc]
mov esi, eax
add esp, 4
test esi, esi
je 0x492b8f
push dword [esp + 0xa0]
call dword [0x4e81d4]
add esp, 4
mov dword [esp + 0xa0], esi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x492b13
sub esi, ecx
push esi
call fcn.00460b60
add esp, 4
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x10]
mov cl, byte [eax]
test cl, cl
je 0x492b55
movzx eax, cl
push eax
call fcn.00476690
add esp, 4
test eax, eax
mov eax, dword [esp + 0x10]
je 0x492b55
inc eax
mov dword [esp + 0x10], eax
mov cl, byte [eax]
test cl, cl
jne 0x492b36
cmp byte [eax], 0x2c
jne 0x492a78
inc eax
mov dword [esp + 0x10], eax
jmp 0x492a78
mov esi, dword [esp + 0x5c4]
lea edi, [esp + 0x98]
jmp 0x492b7e
xor edi, edi
test ebp, ebp
je 0x492bac
push ebp
call dword [0x4e81dc]
add esp, 4
mov dword [ebx + 0xc], eax
test eax, eax
jne 0x492bac
push dword [esp + 0x14]
call dword [0x4e81d4]
add esp, 4
pop edi
pop esi
pop ebx
mov eax, 0x1b
pop ebp
add esp, 0x5a4
ret
mov eax, dword [esp + 0x5c0]
test eax, eax
je 0x492bf8
push eax
call dword [0x4e81dc]
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x492bf8
push dword [esp + 0x14]
call dword [0x4e81d4]
push dword [ebx + 0xc]
call dword [0x4e81d4]
add esp, 8
mov dword [ebx + 0xc], 0
mov eax, 0x1b
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x5a4
ret
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x24]
push eax
mov eax, dword [0x521b7c]
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 0x492c46
push edi
call fcn.004930d0
push dword [esp + 0x18]
call dword [0x4e81d4]
add esp, 8
mov eax, 0x43
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x5a4
ret
push dword [ebx + 4]
lea eax, [esp + 0x3c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], eax
mov eax, dword [ebx]
mov dword [esp + 0x30], 3
mov dword [esp + 0x40], 2
mov dword [esp + 0x44], eax
call fcn.00460b60
add esp, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], 3
lea ecx, [esi + 1]
mov dword [esp + 0x4c], esi
lea ebx, [ebx]
mov al, byte [esi]
inc esi
test al, al
jne 0x492c90
sub esi, ecx
push esi
call fcn.00460b60
push dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x88]
mov dword [esp + 0x5c], 3
mov dword [esp + 0x60], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 1
mov dword [esp + 0x84], eax
mov dword [esp + 0x8c], 2
mov dword [esp + 0x90], ebp
call fcn.00460b60
mov esi, dword [esp + 0x5d0]
add esp, 8
mov dword [esp + 0x80], eax
test esi, esi
jne 0x492d3d
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x521b7c]
mov eax, dword [eax + 0x10]
call eax
push edi
call fcn.004930d0
push ebp
call dword [0x4e81d4]
add esp, 8
lea eax, [esi + 0x1b]
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x5a4
ret
push 8
push 1
call dword [0x4e81e0]
add esp, 8
mov dword [ebx + 8], eax
test eax, eax
je 0x492b9c
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x7c]
push ecx
push eax
push 0
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0x1000000
push esi
push 0
lea eax, [esp + 0x4c]
push eax
mov eax, dword [0x521b7c]
mov eax, dword [eax + 0x18]
call eax
mov esi, eax
cmp esi, 0x90313
je 0x492df5
cmp esi, 0x90314
je 0x492df5
test esi, esi
je 0x492e09
cmp esi, 0x90312
je 0x492e09
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x521b7c]
mov eax, dword [eax + 0x10]
call eax
push edi
call fcn.004930d0
push ebp
call dword [0x4e81d4]
push dword [ebx + 8]
call dword [0x4e81d4]
add esp, 0xc
mov dword [ebx + 8], 0
sub esi, 0x80090300
neg esi
sbb esi, esi
and esi, 0x43
pop edi
lea eax, [esi + 0x1b]
pop esi
pop ebx
pop ebp
add esp, 0x5a4
ret
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x24]
push eax
mov eax, dword [0x521b7c]
mov eax, dword [eax + 0x20]
call eax
mov ebp, dword [esp + 0x80]
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x521b7c]
mov eax, dword [eax + 0x10]
call eax
push edi
call fcn.004930d0
add esp, 4
lea eax, [ebp + 1]
push eax
call dword [0x4e81d0]
mov esi, eax
add esp, 4
test esi, esi
je 0x492b8f
mov ebx, dword [esp + 0x14]
push ebp
push ebx
push esi
call fcn.00418f20
mov eax, dword [esp + 0x5dc]
mov byte [esi + ebp], 0
push ebx
mov dword [eax], esi
mov eax, dword [esp + 0x5e4]
mov dword [eax], ebp
call dword [0x4e81d4]
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x5a4
ret