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

Disassembly:
sub esp, 0x284
mov eax, dword [0x100b4208]
xor eax, esp
mov dword [esp + 0x280], eax
push ebx
push ebp
mov edx, dword [esp + 0x298]
mov eax, dword [esp + 0x290]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x2a8]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2a4]
mov dword [esp + 0x18], edx
mov edx, dword [0x100a2654]
mov dword [esp + 0x10], eax
mov eax, dword [str.00000001]
mov dword [esp + 0x34], edx
mov edx, dword [str.12345678]
mov dword [esp + 0x30], eax
mov al, byte [0x100a2658]
mov dword [esp + 0x24], edx
movzx edx, byte [0x100a264c]
mov byte [esp + 0x38], al
mov eax, dword [0x100a2648]
mov ecx, dword [esp + 0x294]
mov dword [esp + 0x28], eax
mov eax, dword [str.AUTHENTICATE]
mov byte [esp + 0x2c], dl
mov edx, dword [0x100a2638]
mov ebx, dword [esp + 0x29c]
mov dword [esp + 0x4c], eax
mov eax, dword [0x100a263c]
mov dword [esp + 0x50], edx
movzx edx, byte [0x100a2640]
mov ebp, dword [esp + 0x2a0]
mov dword [esp + 0x54], eax
mov eax, dword [str.auth]
push 0x40
mov byte [esp + 0x5c], dl
movzx edx, byte [0x100a1dc0]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1cc]
push eax
push 0x40
mov byte [esp + 0x2c], dl
lea edx, [esp + 0x194]
push edx
push 0x80
lea eax, [esp + 0x11c]
push eax
lea edx, [esp + 0x74]
push 0x40
push edx
call fcn.1005b000
add esp, 0x20
test eax, eax
jne 0x1005b6c6
mov edx, str.md5_sess
lea ecx, [esp + 0x188]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1005b250
test al, al
je 0x1005b24c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1005b250
add ecx, 2
add edx, 2
test al, al
jne 0x1005b230
xor eax, eax
jmp 0x1005b255
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1005b275
pop ebp
mov eax, 0x3d
pop ebx
mov ecx, dword [esp + 0x280]
xor ecx, esp
call fcn.10073b34
add esp, 0x284
ret
push edi
lea edi, [esp + 0x18]
lea eax, [esp + 0x1cc]
call fcn.1005ac80
test eax, eax
jne 0x1005b6c5
test byte [esp + 0x18], 1
jne 0x1005b2b2
pop edi
pop ebp
mov eax, 0x3d
pop ebx
mov ecx, dword [esp + 0x280]
xor ecx, esp
call fcn.10073b34
add esp, 0x284
ret
push esi
xor esi, esi
mov eax, dword [esp + 0x14]
push eax
call fcn.10029a40
and eax, 0xf
mov cl, byte [eax + str.0123456789abcdef]
mov byte [esp + esi + 0x30], cl
inc esi
add esp, 4
cmp esi, 8
jb 0x1005b2b5
push 0x100a2690
call fcn.1005b810
mov esi, eax
add esp, 4
test esi, esi
je 0x1005b698
mov edi, dword [esp + 0x10]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1005b2f5
sub eax, edx
push eax
call sym.EUFyncFtp.dll_libssh2_session_abstract
push eax
push edi
push esi
call fcn.1005e4f0
push 1
push 0x100a2624
push esi
call fcn.1005e4f0
lea eax, [esp + 0x12c]
add esp, 0x1c
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1005b326
sub eax, ecx
push eax
call sym.EUFyncFtp.dll_libssh2_session_abstract
push eax
lea edx, [esp + 0x118]
push edx
push esi
call fcn.1005e4f0
push 1
push 0x100a2624
push esi
call fcn.1005e4f0
mov eax, ebx
add esp, 0x1c
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1005b360
sub eax, ecx
push eax
call sym.EUFyncFtp.dll_libssh2_session_abstract
push eax
push ebx
push esi
call fcn.1005e4f0
lea eax, [esp + 0x54]
push eax
push esi
call fcn.1005b860
push 0x100a2690
call fcn.1005b810
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x1005b698
push 0x10
lea ecx, [esp + 0x48]
push ecx
push esi
call fcn.1005e4f0
push 1
push 0x100a2624
push esi
call fcn.1005e4f0
lea eax, [esp + 0x7c]
add esp, 0x18
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1005b3c0
sub eax, edx
push eax
call sym.EUFyncFtp.dll_libssh2_session_abstract
push eax
lea edx, [esp + 0x6c]
push edx
push esi
call fcn.1005e4f0
push 1
push 0x100a2624
push esi
call fcn.1005e4f0
lea eax, [esp + 0x48]
add esp, 0x1c
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1005b3f2
sub eax, edx
push eax
call sym.EUFyncFtp.dll_libssh2_session_abstract
push eax
lea eax, [esp + 0x34]
push eax
push esi
call fcn.1005e4f0
lea ecx, [esp + 0x54]
push ecx
push esi
call fcn.1005b860
add esp, 0x18
xor esi, esi
lea edi, [esp + 0xc8]
movzx edx, byte [esp + esi + 0x44]
push edx
push 0x1009d348
push 3
push edi
call fcn.100368d0
inc esi
add esp, 0x10
add edi, 2
cmp esi, 0x10
jb 0x1005b424
lea eax, [esp + 0x110]
push eax
push ebp
push str._s__s
lea ecx, [esp + 0x21c]
push 0x80
push ecx
call fcn.100368d0
push 0x100a2690
call fcn.1005b810
mov esi, eax
add esp, 0x18
test esi, esi
je 0x1005b698
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1005b481
sub eax, edx
push eax
call sym.EUFyncFtp.dll_libssh2_session_abstract
push eax
lea edx, [esp + 0x5c]
push edx
push esi
call fcn.1005e4f0
push 1
push 0x100a2624
push esi
call fcn.1005e4f0
lea eax, [esp + 0x22c]
add esp, 0x1c
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1005b4b6
sub eax, edx
push eax
call sym.EUFyncFtp.dll_libssh2_session_abstract
push eax
lea eax, [esp + 0x218]
push eax
push esi
call fcn.1005e4f0
lea ecx, [esp + 0x54]
push ecx
push esi
call fcn.1005b860
add esp, 0x18
xor esi, esi
lea edi, [esp + 0xec]
jmp 0x1005b4f0
movzx edx, byte [esp + esi + 0x44]
push edx
push 0x1009d348
push 3
push edi
call fcn.100368d0
inc esi
add esp, 0x10
add edi, 2
cmp esi, 0x10
jb 0x1005b4f0
push 0x100a2690
call fcn.1005b810
mov esi, eax
add esp, 4
test esi, esi
je 0x1005b698
push 0x20
lea eax, [esp + 0xcc]
push eax
push esi
call fcn.1005e4f0
push 1
push 0x100a2624
push esi
call fcn.1005e4f0
lea eax, [esp + 0x7c]
add esp, 0x18
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1005b550
sub eax, edx
push eax
call sym.EUFyncFtp.dll_libssh2_session_abstract
push eax
lea ecx, [esp + 0x6c]
push ecx
push esi
call fcn.1005e4f0
push 1
push 0x100a2624
push esi
call fcn.1005e4f0
lea eax, [esp + 0x54]
add esp, 0x1c
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1005b582
sub eax, ecx
push eax
call sym.EUFyncFtp.dll_libssh2_session_abstract
push eax
lea edx, [esp + 0x40]
push edx
push esi
call fcn.1005e4f0
push 1
push 0x100a2624
push esi
call fcn.1005e4f0
lea eax, [esp + 0x48]
add esp, 0x1c
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1005b5b4
sub eax, ecx
push eax
call sym.EUFyncFtp.dll_libssh2_session_abstract
push eax
lea eax, [esp + 0x34]
push eax
push esi
call fcn.1005e4f0
push 1
push 0x100a2624
push esi
call fcn.1005e4f0
lea eax, [esp + 0x40]
add esp, 0x1c
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1005b5e6
sub eax, ecx
push eax
call sym.EUFyncFtp.dll_libssh2_session_abstract
push eax
lea ecx, [esp + 0x2c]
push ecx
push esi
call fcn.1005e4f0
push 1
push 0x100a2624
push esi
call fcn.1005e4f0
push 0x20
lea edx, [esp + 0x10c]
push edx
push esi
call fcn.1005e4f0
lea eax, [esp + 0x6c]
push eax
push esi
call fcn.1005b860
add esp, 0x30
xor esi, esi
lea edi, [esp + 0xa4]
movzx ecx, byte [esp + esi + 0x44]
push ecx
push 0x1009d348
push 3
push edi
call fcn.100368d0
inc esi
add esp, 0x10
add edi, 2
cmp esi, 0x10
jb 0x1005b635
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x218]
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x128]
push edx
push eax
push str.username__s__realm__s__nonce__s__cnonce__s__nc__s__digest_uri__s__response_s_qop_s
call fcn.100372c0
mov esi, eax
add esp, 0x24
test esi, esi
jne 0x1005b69f
mov eax, 0x1b
jmp 0x1005b6c4
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ecx
push edx
push 0
push esi
push eax
call fcn.1005ba50
push esi
mov edi, eax
call dword [0x100b4004]
add esp, 0x18
mov eax, edi
pop esi
pop edi
mov ecx, dword [esp + 0x288]
pop ebp
pop ebx
xor ecx, esp
call fcn.10073b34
add esp, 0x284
ret