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

Disassembly:
sub esp, 0x22c
mov eax, dword [0x5e0930]
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 [0x5b6aec]
mov dword [esp + 0xc], eax
mov eax, dword [0x5b6ae8]
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 [0x5b6ad8]
push ebp
mov ebp, dword [esp + 0x248]
mov dword [esp + 0x50], eax
mov eax, dword [0x5b6adc]
mov dword [esp + 0x54], edx
movzx edx, byte [0x5b6ae0]
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 [0x5b6a30]
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.005701d0
add esp, 0x20
test eax, eax
jne 0x5708a1
mov edx, str.md5_sess
lea ecx, [esp + 0x1b4]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x570417
test al, al
je 0x570413
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x570417
add ecx, 2
add edx, 2
test al, al
jne 0x5703f7
xor eax, eax
jmp 0x57041c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x57043d
pop esi
pop ebp
mov eax, 0x3d
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.005239a2
add esp, 0x22c
ret
push edi
lea edi, [esp + 0x20]
lea eax, [esp + 0x1f8]
call fcn.00570120
test eax, eax
jne 0x5708a0
test byte [esp + 0x20], 1
jne 0x570467
mov eax, 0x3d
jmp 0x5708a0
push 4
lea eax, [esp + 0x28]
push eax
push esi
call fcn.005739b0
add esp, 0xc
test eax, eax
jne 0x5708a0
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.005512e0
push 0x5b6920
call fcn.0056ebf0
mov esi, eax
add esp, 0x20
test esi, esi
je 0x5706ec
mov edi, dword [esp + 0x10]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5704c4
sub eax, edx
push eax
call fcn.005661a0
push eax
push edi
push esi
call fcn.0056ec40
push 1
push 0x589798
push esi
call fcn.0056ec40
lea eax, [esp + 0x154]
add esp, 0x1c
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5704f5
sub eax, ecx
push eax
call fcn.005661a0
push eax
lea eax, [esp + 0x140]
push eax
push esi
call fcn.0056ec40
push 1
push 0x589798
push esi
call fcn.0056ec40
mov eax, ebx
add esp, 0x1c
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x570528
sub eax, ecx
push eax
call fcn.005661a0
push eax
push ebx
push esi
call fcn.0056ec40
lea ecx, [esp + 0x58]
push ecx
push esi
call fcn.0056ec60
push 0x5b6920
call fcn.0056ebf0
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x5706ec
push 0x10
lea edx, [esp + 0x4c]
push edx
push esi
call fcn.0056ec40
push 1
push 0x589798
push esi
call fcn.0056ec40
lea eax, [esp + 0xa4]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x570588
sub eax, edx
push eax
call fcn.005661a0
push eax
lea eax, [esp + 0x94]
push eax
push esi
call fcn.0056ec40
push 1
push 0x589798
push esi
call fcn.0056ec40
lea eax, [esp + 0x84]
add esp, 0x1c
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5705c0
sub eax, edx
push eax
call fcn.005661a0
push eax
lea ecx, [esp + 0x70]
push ecx
push esi
call fcn.0056ec40
lea edx, [esp + 0x58]
push edx
push esi
call fcn.0056ec60
add esp, 0x18
xor esi, esi
lea edi, [esp + 0x114]
movzx eax, byte [esp + esi + 0x48]
push eax
push str._02x
push 3
push edi
call fcn.005512e0
inc esi
add esp, 0x10
add edi, 2
cmp esi, 0x10
jb 0x5705f2
push 0
lea ecx, [esp + 0x13c]
push ecx
push ebp
call fcn.005738b0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x5706ec
push 0x5b6920
call fcn.0056ebf0
mov esi, eax
add esp, 4
test esi, esi
je 0x5706e2
lea eax, [esp + 0x58]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x570650
sub eax, edx
push eax
call fcn.005661a0
push eax
lea edx, [esp + 0x60]
push edx
push esi
call fcn.0056ec40
push 1
push 0x589798
push esi
call fcn.0056ec40
mov eax, ebx
add esp, 0x1c
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x570680
sub eax, ecx
push eax
call fcn.005661a0
push eax
push ebx
push esi
call fcn.0056ec40
lea eax, [esp + 0x58]
push eax
push esi
call fcn.0056ec60
add esp, 0x18
xor esi, esi
lea edi, [esp + 0xf0]
mov edi, edi
movzx ecx, byte [esp + esi + 0x48]
push ecx
push str._02x
push 3
push edi
call fcn.005512e0
inc esi
add esp, 0x10
add edi, 2
cmp esi, 0x10
jb 0x5706b0
push 0x5b6920
call fcn.0056ebf0
mov esi, eax
add esp, 4
test esi, esi
jne 0x5706f6
push ebx
call dword [0x5e20a8]
add esp, 4
mov eax, 0x1b
jmp 0x5708a0
push 0x20
lea edx, [esp + 0x118]
push edx
push esi
call fcn.0056ec40
push 1
push 0x589798
push esi
call fcn.0056ec40
lea eax, [esp + 0xa4]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x570720
sub eax, edx
push eax
call fcn.005661a0
push eax
lea eax, [esp + 0x94]
push eax
push esi
call fcn.0056ec40
push 1
push 0x589798
push esi
call fcn.0056ec40
lea eax, [esp + 0x58]
add esp, 0x1c
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x570755
sub eax, ecx
push eax
call fcn.005661a0
push eax
lea ecx, [esp + 0x44]
push ecx
push esi
call fcn.0056ec40
push 1
push 0x589798
push esi
call fcn.0056ec40
lea eax, [esp + 0x84]
add esp, 0x1c
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x570790
sub eax, ecx
push eax
call fcn.005661a0
push eax
lea edx, [esp + 0x70]
push edx
push esi
call fcn.0056ec40
push 1
push 0x589798
push esi
call fcn.0056ec40
lea eax, [esp + 0x50]
add esp, 0x1c
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5707c2
sub eax, ecx
push eax
call fcn.005661a0
push eax
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.0056ec40
push 1
push 0x589798
push esi
call fcn.0056ec40
push 0x20
lea ecx, [esp + 0x110]
push ecx
push esi
call fcn.0056ec40
lea edx, [esp + 0x70]
push edx
push esi
call fcn.0056ec60
add esp, 0x30
xor esi, esi
lea edi, [esp + 0xcc]
movzx eax, byte [esp + esi + 0x48]
push eax
push str._02x
push 3
push edi
call fcn.005512e0
inc esi
add esp, 0x10
add edi, 2
cmp esi, 0x10
jb 0x570811
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.00551d20
push ebx
mov esi, eax
call dword [0x5e20a8]
add esp, 0x28
test esi, esi
je 0x5706ec
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.0056f010
push esi
mov edi, eax
call dword [0x5e20a8]
add esp, 0x18
mov eax, edi
pop edi
mov ecx, dword [esp + 0x234]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005239a2
add esp, 0x22c
ret