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

Disassembly:
sub esp, 0xa0
push ebx
lea eax, [esp + 0x24]
push eax
mov eax, dword [0x1009ad70]
xor ebx, ebx
push 0x1009740c
mov dword [esp + 0x10], ebx
call dword [eax + 0x44]
test eax, eax
je 0x1004fcab
push 4
pop eax
jmp 0x10050199
mov eax, dword [esp + 0x24]
push ebp
mov ebp, dword [eax + 8]
push edi
push eax
mov eax, dword [0x1009ad70]
mov dword [esp + 0x20], ebp
call dword [eax + 0x40]
push ebp
call dword [0x1008d098]
mov edi, eax
pop ecx
test edi, edi
jne 0x1004fcd7
push 0x1b
pop eax
jmp 0x10050197
mov ebp, dword [esp + 0xb4]
push esi
mov esi, dword [esp + 0xc8]
mov eax, dword [esi + 0xc]
test ebp, ebp
je 0x1004fcf7
test eax, eax
je 0x1004fda0
jmp 0x1004fcff
test eax, eax
jne 0x1004fda0
mov ecx, dword [esi + 0x10]
cmp dword [esp + 0xbc], ebx
je 0x1004fd15
test ecx, ecx
je 0x1004fda0
jmp 0x1004fd1d
test ecx, ecx
jne 0x1004fda0
test ebp, ebp
je 0x1004fd62
test eax, eax
je 0x1004fd62
mov edx, ebp
mov bl, byte [edx]
cmp bl, byte [eax]
push 0
mov byte [esp + 0x17], bl
pop ebx
jne 0x1004fd59
cmp byte [esp + 0x13], bl
je 0x1004fd55
mov bl, byte [edx + 1]
cmp bl, byte [eax + 1]
push 0
mov byte [esp + 0x17], bl
pop ebx
jne 0x1004fd59
add edx, 2
add eax, 2
cmp byte [esp + 0x13], bl
jne 0x1004fd27
mov eax, ebx
jmp 0x1004fd5e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1004fda0
cmp dword [esp + 0xbc], 0
je 0x1004fdd8
test ecx, ecx
je 0x1004fdd8
mov eax, dword [esp + 0xbc]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1004fd97
test dl, dl
je 0x1004fd93
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1004fd97
add eax, 2
add ecx, 2
test dl, dl
jne 0x1004fd77
mov eax, ebx
jmp 0x1004fd9c
sbb eax, eax
or eax, 1
test eax, eax
je 0x1004fdd8
cmp dword [esi + 8], 0
je 0x1004fdbe
push dword [esi + 8]
mov eax, dword [0x1009ad70]
call dword [eax + 0x24]
push dword [esi + 8]
call dword [0x1008d09c]
pop ecx
mov dword [esi + 8], ebx
push dword [esi + 0xc]
call dword [0x1008d09c]
push dword [esi + 0x10]
mov dword [esi + 0xc], ebx
call dword [0x1008d09c]
pop ecx
pop ecx
mov dword [esi + 0x10], ebx
cmp dword [esi + 8], ebx
je 0x1004fedd
lea eax, [esp + 0x34]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xc0]
mov ecx, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 5
mov dword [esp + 0x38], 2
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x44], 3
mov dword [esp + 0x48], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004fe1d
sub ecx, edx
push ecx
call fcn.1000cad8
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xc8]
pop ecx
mov ecx, eax
mov dword [esp + 0x50], 3
mov dword [esp + 0x54], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004fe49
sub ecx, edx
push ecx
call fcn.1000cad8
push dword [esp + 0x24]
mov dword [esp + 0x54], eax
mov dword [esp + 0x64], 3
mov dword [esp + 0x68], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x70], 9
mov dword [esp + 0x74], edi
call fcn.1000cad8
pop ecx
pop ecx
mov dword [esp + 0x64], eax
push ebx
lea eax, [esp + 0x28]
push eax
mov eax, dword [0x1009ad70]
push ebx
push dword [esi + 8]
call dword [eax + 0x38]
test eax, eax
jne 0x1004fea7
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
jmp 0x1004fed4
push eax
push str.digest_sspi:_MakeSignature_failed__error_0x_08lx_n
push dword [esp + 0xbc]
call fcn.10029490
mov eax, dword [0x1009ad70]
add esp, 0xc
push dword [esi + 8]
call dword [eax + 0x24]
push dword [esi + 8]
call dword [0x1008d09c]
pop ecx
mov dword [esi + 8], ebx
cmp dword [esi + 8], ebx
jne 0x10050152
push dword [esi + 0xc]
call dword [0x1008d09c]
push dword [esi + 0x10]
mov dword [esi + 0xc], ebx
call dword [0x1008d09c]
pop ecx
pop ecx
mov dword [esi + 0x10], ebx
test ebp, ebp
je 0x1004ff3b
cmp byte [ebp], 0
je 0x1004ff3b
lea eax, [esp + 0x94]
push eax
push dword [esp + 0xc0]
push ebp
call fcn.10050695
add esp, 0xc
test eax, eax
jne 0x1004ff57
lea eax, [esp + 0x94]
push eax
push dword [esi]
call fcn.100505ad
pop ecx
pop ecx
test eax, eax
jne 0x1004ff57
lea ebp, [esp + 0x94]
jmp 0x1004ff3d
mov ebp, ebx
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x1004ff64
push eax
call dword [0x1008d0a4]
pop ecx
mov dword [esi + 0xc], eax
test eax, eax
jne 0x1004ff64
push edi
call dword [0x1008d09c]
pop ecx
jmp 0x1005011f
cmp dword [esp + 0xbc], 0
je 0x1004ff9d
push dword [esp + 0xbc]
call dword [0x1008d0a4]
pop ecx
mov dword [esi + 0x10], eax
test eax, eax
jne 0x1004ff9d
push edi
call dword [0x1008d09c]
push dword [esi + 0xc]
call dword [0x1008d09c]
pop ecx
pop ecx
mov dword [esi + 0xc], ebx
jmp 0x1005011f
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x1009ad70]
push ebx
push ebx
push ebp
push ebx
push 2
push 0x10097448
push ebx
call dword [eax + 0xc]
test eax, eax
je 0x1004ffc9
push 0x43
jmp 0x10050085
push dword [esi + 4]
lea eax, [esp + 0x38]
mov dword [esp + 0x30], eax
mov eax, dword [esi]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 3
mov dword [esp + 0x3c], 2
mov dword [esp + 0x40], eax
call fcn.1000cad8
pop ecx
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], 3
mov dword [esp + 0x48], ecx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005000e
sub ecx, edx
push ecx
call fcn.1000cad8
push dword [esp + 0x24]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x84]
mov dword [esp + 0x58], 3
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], 1
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], 2
mov dword [esp + 0x8c], edi
call fcn.1000cad8
cmp dword [esp + 0xcc], 0
pop ecx
pop ecx
mov dword [esp + 0x7c], eax
jne 0x10050092
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x1009ad70]
call dword [eax + 0x10]
push 0x1b
pop ebx
push ebp
call fcn.10050774
pop ecx
jmp 0x1005018c
push 8
push 1
call dword [0x1008d0a8]
pop ecx
pop ecx
mov dword [esi + 8], eax
test eax, eax
je 0x1005011f
lea ecx, [esp + 0x88]
push ecx
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x78]
push ecx
push eax
push ebx
lea eax, [esp + 0x38]
push eax
push ebx
push ebx
push 0x1000000
push dword [esp + 0xe8]
lea eax, [esp + 0x40]
push ebx
push eax
mov eax, dword [0x1009ad70]
call dword [eax + 0x18]
cmp eax, 0x90313
je 0x10050124
cmp eax, 0x90314
je 0x10050124
test eax, eax
je 0x10050136
cmp eax, 0x90312
je 0x10050136
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x1009ad70]
call dword [eax + 0x10]
push ebp
call fcn.10050774
push edi
call dword [0x1008d09c]
push dword [esi + 8]
call dword [0x1008d09c]
add esp, 0xc
mov dword [esi + 8], ebx
push 0x1b
pop eax
jmp 0x10050196
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x1009ad70]
call dword [eax + 0x20]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x1009ad70]
call dword [eax + 0x10]
push ebp
call fcn.10050774
pop ecx
mov ebp, dword [esp + 0x14]
lea eax, [ebp + 1]
push eax
call dword [0x1008d098]
mov esi, eax
pop ecx
test esi, esi
jne 0x1005016c
push 0x1b
pop ebx
jmp 0x1005018c
push ebp
push edi
push esi
call fcn.1005b1c0
mov ecx, dword [esp + 0xd8]
mov byte [esi + ebp], bl
mov dword [ecx], esi
mov ecx, dword [esp + 0xdc]
add esp, 0xc
mov dword [ecx], ebp
push edi
call dword [0x1008d09c]
pop ecx
mov eax, ebx
pop esi
pop edi
pop ebp
pop ebx
add esp, 0xa0
ret