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

Disassembly:
sub esp, 0x5b8
mov eax, dword [0x58d214]
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 [0x59241c]
xor edi, edi
push 0x553f80
mov dword [esp + 0x10], ebx
mov eax, dword [eax + 0x44]
call eax
test eax, eax
je 0x4749e2
lea eax, [edi + 4]
pop edi
pop ebx
mov ecx, dword [esp + 0x5b4]
xor ecx, esp
call fcn.004d48f1
add esp, 0x5b8
ret
mov eax, dword [esp + 0x38]
push ebp
push esi
push eax
mov ebp, dword [eax + 8]
mov eax, dword [0x59241c]
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 0x474dd7
mov eax, dword [esp + 0x24]
mov esi, dword [ebx + 0xc]
test eax, eax
je 0x474a25
test esi, esi
je 0x474ab9
jmp 0x474a2d
test esi, esi
jne 0x474ab9
mov ecx, dword [esp + 0x18]
lea ebp, [ebx + 0x10]
mov edx, dword [ebp]
test ecx, ecx
je 0x474a41
test edx, edx
je 0x474ab9
jmp 0x474a45
test edx, edx
jne 0x474ab9
test eax, eax
je 0x474a81
test esi, esi
je 0x474a81
mov ecx, esi
nop
mov bl, byte [eax]
cmp bl, byte [ecx]
jne 0x474a70
test bl, bl
je 0x474a6c
mov bl, byte [eax + 1]
cmp bl, byte [ecx + 1]
jne 0x474a70
add eax, 2
add ecx, 2
test bl, bl
jne 0x474a50
xor eax, eax
jmp 0x474a75
sbb eax, eax
or eax, 1
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x474ab9
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x474af9
test edx, edx
je 0x474af9
mov eax, ecx
nop dword [eax + eax]
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x474ab0
test cl, cl
je 0x474aac
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x474ab0
add eax, 2
add edx, 2
test cl, cl
jne 0x474a90
xor eax, eax
jmp 0x474ab5
sbb eax, eax
or eax, 1
test eax, eax
je 0x474af9
mov eax, dword [ebx + 8]
test eax, eax
je 0x474add
push eax
mov eax, dword [0x59241c]
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 0x474c14
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 0x474b50
sub ecx, edx
push ecx
call fcn.0045ded0
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 0x474b84
sub ecx, edx
push ecx
call fcn.0045ded0
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.0045ded0
add esp, 8
mov dword [esp + 0xb8], eax
lea eax, [esp + 0x34]
push 0
push eax
mov eax, dword [0x59241c]
push 0
push dword [ebx + 8]
mov eax, dword [eax + 0x38]
call eax
test eax, eax
jne 0x474d72
mov eax, dword [ebx + 8]
mov edi, dword [esp + 0xb8]
test eax, eax
jne 0x47502c
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 0x474db3
cmp byte [eax], 0
je 0x474db3
lea ecx, [esp + 0x6c]
push ecx
push dword [esp + 0x1c]
push eax
call fcn.00446350
add esp, 0xc
test eax, eax
jne 0x474dca
cmp dword [esp + 0x74], 0
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
je 0x474c82
cmp dword [esp + 0x78], 0
jne 0x474da9
mov cl, byte [eax]
test cl, cl
je 0x474caf
nop dword [eax + eax]
movzx eax, cl
push eax
call fcn.0051fd7c
add esp, 4
test eax, eax
mov eax, dword [esp + 0x10]
je 0x474caf
inc eax
mov dword [esp + 0x10], eax
mov cl, byte [eax]
test cl, cl
jne 0x474c90
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c8]
push ecx
lea ecx, [esp + 0xcc]
push ecx
push eax
call fcn.0047de40
add esp, 0x10
test al, al
je 0x474da9
lea eax, [esp + 0xc4]
push str.realm
push eax
call fcn.0045e570
add esp, 8
test eax, eax
je 0x474d36
lea eax, [esp + 0x1c4]
push eax
call dword [0x58d0bc]
mov esi, eax
add esp, 4
test esi, esi
je 0x474dca
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 0x474d20
sub esi, ecx
push esi
call fcn.0045ded0
add esp, 4
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x10]
mov cl, byte [eax]
test cl, cl
je 0x474d5f
movzx eax, cl
push eax
call fcn.0051fd7c
add esp, 4
test eax, eax
mov eax, dword [esp + 0x10]
je 0x474d5f
inc eax
mov dword [esp + 0x10], eax
mov cl, byte [eax]
test cl, cl
jne 0x474d40
cmp byte [eax], 0x2c
jne 0x474c82
inc eax
mov dword [esp + 0x10], eax
jmp 0x474c82
push eax
push str.digest_sspi:_MakeSignature_failed__error_0x_08lx_n
push dword [esp + 0x38]
call fcn.004516a0
mov eax, dword [0x59241c]
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 0x474c18
mov eax, dword [esp + 0x24]
lea esi, [esp + 0x6c]
jmp 0x474db5
xor esi, esi
test eax, eax
je 0x474df5
push eax
call dword [0x58d0bc]
add esp, 4
mov dword [ebx + 0xc], eax
test eax, eax
jne 0x474df5
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.004d48f1
add esp, 0x5b8
ret
mov eax, dword [esp + 0x18]
test eax, eax
je 0x474e2d
push eax
call dword [0x58d0bc]
add esp, 4
mov dword [ebp], eax
test eax, eax
jne 0x474e2d
push dword [esp + 0x14]
call dword [0x58d0b4]
push dword [ebx + 0xc]
call dword [0x58d0b4]
add esp, 8
mov dword [ebx + 0xc], 0
jmp 0x474dd7
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x59241c]
push 0
push 0
push esi
mov eax, dword [eax + 0xc]
push 0
push 2
push 0x553f80
push 0
call eax
test eax, eax
je 0x474e72
push esi
call fcn.00446450
push dword [esp + 0x18]
call dword [0x58d0b4]
add esp, 8
mov eax, 0x43
jmp 0x474ddc
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.0045ded0
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 0x474ec8
sub edi, ecx
push edi
call fcn.0045ded0
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.0045ded0
mov edi, dword [esp + 0x34]
add esp, 8
mov dword [esp + 0x58], eax
test edi, edi
jne 0x474f63
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x59241c]
mov eax, dword [eax + 0x10]
call eax
push esi
call fcn.00446450
push ebp
call dword [0x58d0b4]
add esp, 8
jmp 0x474dd7
push 8
push 1
call dword [0x58d0c0]
add esp, 8
mov dword [ebx + 8], eax
test eax, eax
je 0x474dd7
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 [0x59241c]
mov eax, dword [eax + 0x18]
call eax
cmp eax, 0x90313
je 0x474ffa
cmp eax, 0x90314
je 0x474ffa
test eax, eax
je 0x47500e
cmp eax, 0x90312
je 0x47500e
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x59241c]
mov eax, dword [eax + 0x10]
call eax
push esi
call fcn.00446450
push ebp
call dword [0x58d0b4]
push dword [ebx + 8]
call dword [0x58d0b4]
add esp, 0xc
mov dword [ebx + 8], 0
jmp 0x474dd7
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x59241c]
mov eax, dword [eax + 0x20]
call eax
mov edi, dword [esp + 0x58]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x59241c]
mov eax, dword [eax + 0x10]
call eax
push esi
call fcn.00446450
add esp, 4
jmp 0x475030
mov ebp, dword [esp + 0x14]
lea eax, [edi + 1]
push eax
call dword [0x58d0b0]
mov esi, eax
add esp, 4
test esi, esi
jne 0x475049
push ebp
jmp 0x474dce
push edi
push ebp
push esi
call fcn.0050ce90
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 0x474ddc