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

Disassembly:
sub esp, 0x5b8
mov eax, dword [0x58d224]
xor eax, esp
mov dword [esp + 0x5b4], eax
mov eax, dword [esp + 0x5bc]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x5c0]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x5c4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x5c8]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x5cc]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x5d4]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x5d8]
push ebx
mov ebx, dword [esp + 0x5d4]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x34]
push edi
push eax
mov eax, dword [0x59242c]
xor edi, edi
push 0x554360
mov dword [esp + 0x10], ebx
mov eax, dword [eax + 0x44]
call eax
test eax, eax
je 0x474c32
lea eax, [edi + 4]
pop edi
pop ebx
mov ecx, dword [esp + 0x5b4]
xor ecx, esp
call fcn.004d4e68
add esp, 0x5b8
ret
mov eax, dword [esp + 0x38]
push ebp
push esi
push eax
mov ebp, dword [eax + 8]
mov eax, dword [0x59242c]
mov dword [esp + 0x2c], ebp
mov eax, dword [eax + 0x40]
call eax
push ebp
call dword [0x58d0b0]
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x475027
mov eax, dword [esp + 0x24]
mov esi, dword [ebx + 0xc]
test eax, eax
je 0x474c75
test esi, esi
je 0x474d09
jmp 0x474c7d
test esi, esi
jne 0x474d09
mov ecx, dword [esp + 0x18]
lea ebp, [ebx + 0x10]
mov edx, dword [ebp]
test ecx, ecx
je 0x474c91
test edx, edx
je 0x474d09
jmp 0x474c95
test edx, edx
jne 0x474d09
test eax, eax
je 0x474cd1
test esi, esi
je 0x474cd1
mov ecx, esi
nop
mov bl, byte [eax]
cmp bl, byte [ecx]
jne 0x474cc0
test bl, bl
je 0x474cbc
mov bl, byte [eax + 1]
cmp bl, byte [ecx + 1]
jne 0x474cc0
add eax, 2
add ecx, 2
test bl, bl
jne 0x474ca0
xor eax, eax
jmp 0x474cc5
sbb eax, eax
or eax, 1
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x474d09
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x474d49
test edx, edx
je 0x474d49
mov eax, ecx
nop dword [eax + eax]
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x474d00
test cl, cl
je 0x474cfc
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x474d00
add eax, 2
add edx, 2
test cl, cl
jne 0x474ce0
xor eax, eax
jmp 0x474d05
sbb eax, eax
or eax, 1
test eax, eax
je 0x474d49
mov eax, dword [ebx + 8]
test eax, eax
je 0x474d2d
push eax
mov eax, dword [0x59242c]
mov eax, dword [eax + 0x24]
call eax
push dword [ebx + 8]
call dword [0x58d0b4]
mov esi, dword [ebx + 0xc]
add esp, 4
mov dword [ebx + 8], edi
push esi
call dword [0x58d0b4]
push dword [ebx + 0x10]
lea ebp, [ebx + 0x10]
mov dword [ebx + 0xc], edi
call dword [0x58d0b4]
add esp, 8
mov dword [ebp], edi
mov eax, dword [ebx + 8]
test eax, eax
je 0x474e64
mov dword [esp + 0x34], edi
lea eax, [esp + 0x88]
mov dword [esp + 0x90], edi
mov dword [esp + 0x88], edi
mov edi, dword [esp + 0x1c]
mov ecx, edi
mov dword [esp + 0x38], 5
mov dword [esp + 0x3c], eax
mov dword [esp + 0x8c], 2
mov dword [esp + 0x98], 3
lea edx, [ecx + 1]
mov dword [esp + 0x9c], edi
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x474da0
sub ecx, edx
push ecx
call fcn.0045e130
mov dword [esp + 0x98], eax
add esp, 4
mov eax, dword [esp + 0x2c]
mov ecx, eax
mov dword [esp + 0xa4], 3
mov dword [esp + 0xa8], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x474dd4
sub ecx, edx
push ecx
call fcn.0045e130
push dword [esp + 0x2c]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xb8], 3
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xc4], 9
mov dword [esp + 0xc8], eax
call fcn.0045e130
add esp, 8
mov dword [esp + 0xb8], eax
lea eax, [esp + 0x34]
push 0
push eax
mov eax, dword [0x59242c]
push 0
push dword [ebx + 8]
mov eax, dword [eax + 0x38]
call eax
test eax, eax
jne 0x474fc2
mov eax, dword [ebx + 8]
mov edi, dword [esp + 0xb8]
test eax, eax
jne 0x47527c
mov edi, dword [esp + 0x1c]
push dword [ebx + 0xc]
call dword [0x58d0b4]
push dword [ebp]
mov dword [ebx + 0xc], 0
call dword [0x58d0b4]
mov eax, dword [esp + 0x2c]
add esp, 8
mov dword [ebp], 0
test eax, eax
je 0x475003
cmp byte [eax], 0
je 0x475003
lea ecx, [esp + 0x6c]
push ecx
push dword [esp + 0x1c]
push eax
call fcn.004465a0
add esp, 0xc
test eax, eax
jne 0x47501a
cmp dword [esp + 0x74], 0
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
je 0x474ed2
cmp dword [esp + 0x78], 0
jne 0x474ff9
mov cl, byte [eax]
test cl, cl
je 0x474eff
nop dword [eax + eax]
movzx eax, cl
push eax
call fcn.0051fffc
add esp, 4
test eax, eax
mov eax, dword [esp + 0x10]
je 0x474eff
inc eax
mov dword [esp + 0x10], eax
mov cl, byte [eax]
test cl, cl
jne 0x474ee0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c8]
push ecx
lea ecx, [esp + 0xcc]
push ecx
push eax
call fcn.0047e090
add esp, 0x10
test al, al
je 0x474ff9
lea eax, [esp + 0xc4]
push str.realm
push eax
call fcn.0045e7d0
add esp, 8
test eax, eax
je 0x474f86
lea eax, [esp + 0x1c4]
push eax
call dword [0x58d0bc]
mov esi, eax
add esp, 4
test esi, esi
je 0x47501a
push dword [esp + 0x74]
call dword [0x58d0b4]
add esp, 4
mov dword [esp + 0x74], esi
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x474f70
sub esi, ecx
push esi
call fcn.0045e130
add esp, 4
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x10]
mov cl, byte [eax]
test cl, cl
je 0x474faf
movzx eax, cl
push eax
call fcn.0051fffc
add esp, 4
test eax, eax
mov eax, dword [esp + 0x10]
je 0x474faf
inc eax
mov dword [esp + 0x10], eax
mov cl, byte [eax]
test cl, cl
jne 0x474f90
cmp byte [eax], 0x2c
jne 0x474ed2
inc eax
mov dword [esp + 0x10], eax
jmp 0x474ed2
push eax
push str.digest_sspi:_MakeSignature_failed__error_0x_08lx_n
push dword [esp + 0x38]
call fcn.004518f0
mov eax, dword [0x59242c]
add esp, 0xc
push dword [ebx + 8]
mov eax, dword [eax + 0x24]
call eax
push dword [ebx + 8]
call dword [0x58d0b4]
add esp, 4
mov dword [ebx + 8], 0
jmp 0x474e68
mov eax, dword [esp + 0x24]
lea esi, [esp + 0x6c]
jmp 0x475005
xor esi, esi
test eax, eax
je 0x475045
push eax
call dword [0x58d0bc]
add esp, 4
mov dword [ebx + 0xc], eax
test eax, eax
jne 0x475045
push dword [esp + 0x14]
call dword [0x58d0b4]
add esp, 4
mov eax, 0x1b
mov ecx, dword [esp + 0x5c4]
pop esi
pop ebp
pop edi
pop ebx
xor ecx, esp
call fcn.004d4e68
add esp, 0x5b8
ret
mov eax, dword [esp + 0x18]
test eax, eax
je 0x47507d
push eax
call dword [0x58d0bc]
add esp, 4
mov dword [ebp], eax
test eax, eax
jne 0x47507d
push dword [esp + 0x14]
call dword [0x58d0b4]
push dword [ebx + 0xc]
call dword [0x58d0b4]
add esp, 8
mov dword [ebx + 0xc], 0
jmp 0x475027
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x59242c]
push 0
push 0
push esi
mov eax, dword [eax + 0xc]
push 0
push 2
push 0x554360
push 0
call eax
test eax, eax
je 0x4750c2
push esi
call fcn.004466a0
push dword [esp + 0x18]
call dword [0x58d0b4]
add esp, 8
mov eax, 0x43
jmp 0x47502c
push dword [ebx + 4]
lea eax, [esp + 0x8c]
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], eax
mov eax, dword [ebx]
mov dword [esp + 0x3c], 3
mov dword [esp + 0x90], 2
mov dword [esp + 0x94], eax
call fcn.0045e130
add esp, 4
mov dword [esp + 0x88], eax
mov dword [esp + 0x98], 3
lea ecx, [edi + 1]
mov dword [esp + 0x9c], edi
mov al, byte [edi]
inc edi
test al, al
jne 0x475118
sub edi, ecx
push edi
call fcn.0045e130
push dword [esp + 0x2c]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x60]
mov dword [esp + 0xac], 3
mov dword [esp + 0xb0], 0
mov dword [esp + 0xa8], 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.0045e130
mov edi, dword [esp + 0x34]
add esp, 8
mov dword [esp + 0x58], eax
test edi, edi
jne 0x4751b3
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x59242c]
mov eax, dword [eax + 0x10]
call eax
push esi
call fcn.004466a0
push ebp
call dword [0x58d0b4]
add esp, 8
jmp 0x475027
push 8
push 1
call dword [0x58d0c0]
add esp, 8
mov dword [ebx + 8], eax
test eax, eax
je 0x475027
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x34]
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 edi
push 0
lea eax, [esp + 0x48]
push eax
mov eax, dword [0x59242c]
mov eax, dword [eax + 0x18]
call eax
cmp eax, 0x90313
je 0x47524a
cmp eax, 0x90314
je 0x47524a
test eax, eax
je 0x47525e
cmp eax, 0x90312
je 0x47525e
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x59242c]
mov eax, dword [eax + 0x10]
call eax
push esi
call fcn.004466a0
push ebp
call dword [0x58d0b4]
push dword [ebx + 8]
call dword [0x58d0b4]
add esp, 0xc
mov dword [ebx + 8], 0
jmp 0x475027
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x59242c]
mov eax, dword [eax + 0x20]
call eax
mov edi, dword [esp + 0x58]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x59242c]
mov eax, dword [eax + 0x10]
call eax
push esi
call fcn.004466a0
add esp, 4
jmp 0x475280
mov ebp, dword [esp + 0x14]
lea eax, [edi + 1]
push eax
call dword [0x58d0b0]
mov esi, eax
add esp, 4
test esi, esi
jne 0x475299
push ebp
jmp 0x47501e
push edi
push ebp
push esi
call fcn.0050e070
mov eax, dword [esp + 0x50]
mov byte [esi + edi], 0
push ebp
mov dword [eax], esi
mov eax, dword [esp + 0x58]
mov dword [eax], edi
call dword [0x58d0b4]
add esp, 0x10
xor eax, eax
jmp 0x47502c