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

Disassembly:
sub esp, 0x22c
mov eax, dword [0x5176f0]
xor eax, esp
mov dword [esp + 0x228], eax
mov edx, dword [esp + 0x244]
mov eax, dword [esp + 0x238]
mov dword [esp + 4], edx
mov edx, dword [str.00000001]
mov dword [esp], eax
mov eax, dword [esp + 0x248]
mov dword [esp + 0x2c], edx
movzx edx, byte [0x4eb1b0]
mov dword [esp + 0xc], eax
mov eax, dword [0x4eb1ac]
mov ecx, dword [esp + 0x234]
push ebx
mov ebx, dword [esp + 0x240]
mov dword [esp + 0x34], eax
mov eax, dword [str.AUTHENTICATE]
mov byte [esp + 0x38], dl
mov edx, dword [0x4eb19c]
push ebp
mov ebp, dword [esp + 0x248]
mov dword [esp + 0x50], eax
mov eax, dword [0x4eb1a0]
mov dword [esp + 0x54], edx
movzx edx, byte [0x4eb1a4]
push esi
mov esi, dword [esp + 0x23c]
mov dword [esp + 0x5c], eax
mov eax, dword [str.auth]
push 0x40
mov byte [esp + 0x64], dl
movzx edx, byte [0x4eb108]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x1f8]
push eax
push 0x40
mov byte [esp + 0x40], dl
lea edx, [esp + 0x1c0]
push edx
push 0x80
lea eax, [esp + 0x148]
push eax
lea edx, [esp + 0xa0]
push 0x40
push edx
mov dword [esp + 0x34], esi
call fcn.004a9a20
add esp, 0x20
test eax, eax
jne 0x4aa101
mov edx, str.md5_sess
lea ecx, [esp + 0x1b4]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4a9c77
test al, al
je 0x4a9c73
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4a9c77
add ecx, 2
add edx, 2
test al, al
jne 0x4a9c57
xor eax, eax
jmp 0x4a9c7c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4a9c9d
pop esi
pop ebp
mov eax, 0x3d
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.004ae123
add esp, 0x22c
ret
push edi
lea edi, [esp + 0x20]
lea eax, [esp + 0x1f8]
call fcn.004a9970
test eax, eax
jne 0x4aa100
test byte [esp + 0x20], 1
jne 0x4a9cc7
mov eax, 0x3d
jmp 0x4aa100
push 4
lea eax, [esp + 0x28]
push eax
push esi
call fcn.004ad170
add esp, 0xc
test eax, eax
jne 0x4aa100
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
push str._08x_08x_08x_08x
lea edx, [esp + 0x7c]
push 0x21
push edx
call fcn.0048e260
push 0x4eaff8
call fcn.004a8450
mov esi, eax
add esp, 0x20
test esi, esi
je 0x4a9f4c
mov edi, dword [esp + 0x10]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a9d24
sub eax, edx
push eax
call fcn.004a2570
push eax
push edi
push esi
call fcn.004a84a0
push 1
push 0x5027b0
push esi
call fcn.004a84a0
lea eax, [esp + 0x154]
add esp, 0x1c
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4a9d55
sub eax, ecx
push eax
call fcn.004a2570
push eax
lea eax, [esp + 0x140]
push eax
push esi
call fcn.004a84a0
push 1
push 0x5027b0
push esi
call fcn.004a84a0
mov eax, ebx
add esp, 0x1c
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4a9d88
sub eax, ecx
push eax
call fcn.004a2570
push eax
push ebx
push esi
call fcn.004a84a0
lea ecx, [esp + 0x58]
push ecx
push esi
call fcn.004a84c0
push 0x4eaff8
call fcn.004a8450
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x4a9f4c
push 0x10
lea edx, [esp + 0x4c]
push edx
push esi
call fcn.004a84a0
push 1
push 0x5027b0
push esi
call fcn.004a84a0
lea eax, [esp + 0xa4]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a9de8
sub eax, edx
push eax
call fcn.004a2570
push eax
lea eax, [esp + 0x94]
push eax
push esi
call fcn.004a84a0
push 1
push 0x5027b0
push esi
call fcn.004a84a0
lea eax, [esp + 0x84]
add esp, 0x1c
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a9e20
sub eax, edx
push eax
call fcn.004a2570
push eax
lea ecx, [esp + 0x70]
push ecx
push esi
call fcn.004a84a0
lea edx, [esp + 0x58]
push edx
push esi
call fcn.004a84c0
add esp, 0x18
xor esi, esi
lea edi, [esp + 0x114]
movzx eax, byte [esp + esi + 0x48]
push eax
push 0x502810
push 3
push edi
call fcn.0048e260
inc esi
add esp, 0x10
add edi, 2
cmp esi, 0x10
jb 0x4a9e52
push 0
lea ecx, [esp + 0x13c]
push ecx
push ebp
call fcn.004ad100
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4a9f4c
push 0x4eaff8
call fcn.004a8450
mov esi, eax
add esp, 4
test esi, esi
je 0x4a9f42
lea eax, [esp + 0x58]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a9eb0
sub eax, edx
push eax
call fcn.004a2570
push eax
lea edx, [esp + 0x60]
push edx
push esi
call fcn.004a84a0
push 1
push 0x5027b0
push esi
call fcn.004a84a0
mov eax, ebx
add esp, 0x1c
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4a9ee0
sub eax, ecx
push eax
call fcn.004a2570
push eax
push ebx
push esi
call fcn.004a84a0
lea eax, [esp + 0x58]
push eax
push esi
call fcn.004a84c0
add esp, 0x18
xor esi, esi
lea edi, [esp + 0xf0]
mov edi, edi
movzx ecx, byte [esp + esi + 0x48]
push ecx
push 0x502810
push 3
push edi
call fcn.0048e260
inc esi
add esp, 0x10
add edi, 2
cmp esi, 0x10
jb 0x4a9f10
push 0x4eaff8
call fcn.004a8450
mov esi, eax
add esp, 4
test esi, esi
jne 0x4a9f56
push ebx
call dword [0x517174]
add esp, 4
mov eax, 0x1b
jmp 0x4aa100
push 0x20
lea edx, [esp + 0x118]
push edx
push esi
call fcn.004a84a0
push 1
push 0x5027b0
push esi
call fcn.004a84a0
lea eax, [esp + 0xa4]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a9f80
sub eax, edx
push eax
call fcn.004a2570
push eax
lea eax, [esp + 0x94]
push eax
push esi
call fcn.004a84a0
push 1
push 0x5027b0
push esi
call fcn.004a84a0
lea eax, [esp + 0x58]
add esp, 0x1c
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4a9fb5
sub eax, ecx
push eax
call fcn.004a2570
push eax
lea ecx, [esp + 0x44]
push ecx
push esi
call fcn.004a84a0
push 1
push 0x5027b0
push esi
call fcn.004a84a0
lea eax, [esp + 0x84]
add esp, 0x1c
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4a9ff0
sub eax, ecx
push eax
call fcn.004a2570
push eax
lea edx, [esp + 0x70]
push edx
push esi
call fcn.004a84a0
push 1
push 0x5027b0
push esi
call fcn.004a84a0
lea eax, [esp + 0x50]
add esp, 0x1c
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4aa022
sub eax, ecx
push eax
call fcn.004a2570
push eax
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.004a84a0
push 1
push 0x5027b0
push esi
call fcn.004a84a0
push 0x20
lea ecx, [esp + 0x110]
push ecx
push esi
call fcn.004a84a0
lea edx, [esp + 0x70]
push edx
push esi
call fcn.004a84c0
add esp, 0x30
xor esi, esi
lea edi, [esp + 0xcc]
movzx eax, byte [esp + esi + 0x48]
push eax
push 0x502810
push 3
push edi
call fcn.0048e260
inc esi
add esp, 0x10
add edi, 2
cmp esi, 0x10
jb 0x4aa071
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0xd0]
push edx
push ebx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0xa0]
push edx
lea eax, [esp + 0x150]
push eax
push ecx
push str.username__s__realm__s__nonce__s__cnonce__s__nc__s__digest_uri__s__response_s_qop_s
call fcn.0048ecf0
push ebx
mov esi, eax
call dword [0x517174]
add esp, 0x28
test esi, esi
je 0x4a9f4c
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push edx
push eax
push 0
push esi
push ecx
call fcn.004a8870
push esi
mov edi, eax
call dword [0x517174]
add esp, 0x18
mov eax, edi
pop edi
mov ecx, dword [esp + 0x234]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004ae123
add esp, 0x22c
ret