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

Disassembly:
sub esp, 0x5b8
mov eax, dword [0x60940c]
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 [0x611058]
xor edi, edi
push str.WDigest
mov dword [esp + 0x10], ebx
mov eax, dword [eax + 0x44]
call eax
test eax, eax
je 0x4d8de2
lea eax, [edi + 4]
pop edi
pop ebx
mov ecx, dword [esp + 0x5b4]
xor ecx, esp
call fcn.0052b33d
add esp, 0x5b8
ret
mov eax, dword [esp + 0x38]
push ebp
push esi
push eax
mov ebp, dword [eax + 8]
mov eax, dword [0x611058]
mov dword [esp + 0x2c], ebp
mov eax, dword [eax + 0x40]
call eax
push ebp
call dword [0x6091e8]
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x4d91d7
mov eax, dword [esp + 0x24]
mov esi, dword [ebx + 0xc]
test eax, eax
je 0x4d8e25
test esi, esi
je 0x4d8eb9
jmp 0x4d8e2d
test esi, esi
jne 0x4d8eb9
mov ecx, dword [esp + 0x18]
lea ebp, [ebx + 0x10]
mov edx, dword [ebp]
test ecx, ecx
je 0x4d8e41
test edx, edx
je 0x4d8eb9
jmp 0x4d8e45
test edx, edx
jne 0x4d8eb9
test eax, eax
je 0x4d8e81
test esi, esi
je 0x4d8e81
mov ecx, esi
nop
mov bl, byte [eax]
cmp bl, byte [ecx]
jne 0x4d8e70
test bl, bl
je 0x4d8e6c
mov bl, byte [eax + 1]
cmp bl, byte [ecx + 1]
jne 0x4d8e70
add eax, 2
add ecx, 2
test bl, bl
jne 0x4d8e50
xor eax, eax
jmp 0x4d8e75
sbb eax, eax
or eax, 1
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x4d8eb9
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4d8ef9
test edx, edx
je 0x4d8ef9
mov eax, ecx
nop dword [eax + eax]
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x4d8eb0
test cl, cl
je 0x4d8eac
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x4d8eb0
add eax, 2
add edx, 2
test cl, cl
jne 0x4d8e90
xor eax, eax
jmp 0x4d8eb5
sbb eax, eax
or eax, 1
test eax, eax
je 0x4d8ef9
mov eax, dword [ebx + 8]
test eax, eax
je 0x4d8edd
push eax
mov eax, dword [0x611058]
mov eax, dword [eax + 0x24]
call eax
push dword [ebx + 8]
call dword [0x6091ec]
mov esi, dword [ebx + 0xc]
add esp, 4
mov dword [ebx + 8], edi
push esi
call dword [0x6091ec]
push dword [ebx + 0x10]
lea ebp, [ebx + 0x10]
mov dword [ebx + 0xc], edi
call dword [0x6091ec]
add esp, 8
mov dword [ebp], edi
mov eax, dword [ebx + 8]
test eax, eax
je 0x4d9014
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 0x4d8f50
sub ecx, edx
push ecx
call fcn.004b56b0
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 0x4d8f84
sub ecx, edx
push ecx
call fcn.004b56b0
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.004b56b0
add esp, 8
mov dword [esp + 0xb8], eax
lea eax, [esp + 0x34]
push 0
push eax
mov eax, dword [0x611058]
push 0
push dword [ebx + 8]
mov eax, dword [eax + 0x38]
call eax
test eax, eax
jne 0x4d9172
mov eax, dword [ebx + 8]
mov edi, dword [esp + 0xb8]
test eax, eax
jne 0x4d942c
mov edi, dword [esp + 0x1c]
push dword [ebx + 0xc]
call dword [0x6091ec]
push dword [ebp]
mov dword [ebx + 0xc], 0
call dword [0x6091ec]
mov eax, dword [esp + 0x2c]
add esp, 8
mov dword [ebp], 0
test eax, eax
je 0x4d91b3
cmp byte [eax], 0
je 0x4d91b3
lea ecx, [esp + 0x6c]
push ecx
push dword [esp + 0x1c]
push eax
call fcn.004ab380
add esp, 0xc
test eax, eax
jne 0x4d91ca
cmp dword [esp + 0x74], 0
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
je 0x4d9082
cmp dword [esp + 0x78], 0
jne 0x4d91a9
mov cl, byte [eax]
test cl, cl
je 0x4d90af
nop dword [eax + eax]
movzx eax, cl
push eax
call fcn.004d6650
add esp, 4
test eax, eax
mov eax, dword [esp + 0x10]
je 0x4d90af
inc eax
mov dword [esp + 0x10], eax
mov cl, byte [eax]
test cl, cl
jne 0x4d9090
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c8]
push ecx
lea ecx, [esp + 0xcc]
push ecx
push eax
call fcn.004e14a0
add esp, 0x10
test al, al
je 0x4d91a9
lea eax, [esp + 0xc4]
push str.realm
push eax
call fcn.004b5a40
add esp, 8
test eax, eax
je 0x4d9136
lea eax, [esp + 0x1c4]
push eax
call dword [0x6091f4]
mov esi, eax
add esp, 4
test esi, esi
je 0x4d91ca
push dword [esp + 0x74]
call dword [0x6091ec]
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 0x4d9120
sub esi, ecx
push esi
call fcn.004b56b0
add esp, 4
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x10]
mov cl, byte [eax]
test cl, cl
je 0x4d915f
movzx eax, cl
push eax
call fcn.004d6650
add esp, 4
test eax, eax
mov eax, dword [esp + 0x10]
je 0x4d915f
inc eax
mov dword [esp + 0x10], eax
mov cl, byte [eax]
test cl, cl
jne 0x4d9140
cmp byte [eax], 0x2c
jne 0x4d9082
inc eax
mov dword [esp + 0x10], eax
jmp 0x4d9082
push eax
push str.digest_sspi:_MakeSignature_failed__error_0x_08lx_n
push dword [esp + 0x38]
call fcn.004b32d0
mov eax, dword [0x611058]
add esp, 0xc
push dword [ebx + 8]
mov eax, dword [eax + 0x24]
call eax
push dword [ebx + 8]
call dword [0x6091ec]
add esp, 4
mov dword [ebx + 8], 0
jmp 0x4d9018
mov eax, dword [esp + 0x24]
lea esi, [esp + 0x6c]
jmp 0x4d91b5
xor esi, esi
test eax, eax
je 0x4d91f5
push eax
call dword [0x6091f4]
add esp, 4
mov dword [ebx + 0xc], eax
test eax, eax
jne 0x4d91f5
push dword [esp + 0x14]
call dword [0x6091ec]
add esp, 4
mov eax, 0x1b
mov ecx, dword [esp + 0x5c4]
pop esi
pop ebp
pop edi
pop ebx
xor ecx, esp
call fcn.0052b33d
add esp, 0x5b8
ret
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4d922d
push eax
call dword [0x6091f4]
add esp, 4
mov dword [ebp], eax
test eax, eax
jne 0x4d922d
push dword [esp + 0x14]
call dword [0x6091ec]
push dword [ebx + 0xc]
call dword [0x6091ec]
add esp, 8
mov dword [ebx + 0xc], 0
jmp 0x4d91d7
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x611058]
push 0
push 0
push esi
mov eax, dword [eax + 0xc]
push 0
push 2
push str.WDigest
push 0
call eax
test eax, eax
je 0x4d9272
push esi
call fcn.004ab480
push dword [esp + 0x18]
call dword [0x6091ec]
add esp, 8
mov eax, 0x43
jmp 0x4d91dc
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.004b56b0
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 0x4d92c8
sub edi, ecx
push edi
call fcn.004b56b0
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.004b56b0
mov edi, dword [esp + 0x34]
add esp, 8
mov dword [esp + 0x58], eax
test edi, edi
jne 0x4d9363
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x611058]
mov eax, dword [eax + 0x10]
call eax
push esi
call fcn.004ab480
push ebp
call dword [0x6091ec]
add esp, 8
jmp 0x4d91d7
push 8
push 1
call dword [0x6091f8]
add esp, 8
mov dword [ebx + 8], eax
test eax, eax
je 0x4d91d7
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 [0x611058]
mov eax, dword [eax + 0x18]
call eax
cmp eax, 0x90313
je 0x4d93fa
cmp eax, 0x90314
je 0x4d93fa
test eax, eax
je 0x4d940e
cmp eax, 0x90312
je 0x4d940e
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x611058]
mov eax, dword [eax + 0x10]
call eax
push esi
call fcn.004ab480
push ebp
call dword [0x6091ec]
push dword [ebx + 8]
call dword [0x6091ec]
add esp, 0xc
mov dword [ebx + 8], 0
jmp 0x4d91d7
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x611058]
mov eax, dword [eax + 0x20]
call eax
mov edi, dword [esp + 0x58]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x611058]
mov eax, dword [eax + 0x10]
call eax
push esi
call fcn.004ab480
add esp, 4
jmp 0x4d9430
mov ebp, dword [esp + 0x14]
lea eax, [edi + 1]
push eax
call dword [0x6091e8]
mov esi, eax
add esp, 4
test esi, esi
jne 0x4d9449
push ebp
jmp 0x4d91ce
push edi
push ebp
push esi
call fcn.0054e520
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 [0x6091ec]
add esp, 0x10
xor eax, eax
jmp 0x4d91dc