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

Disassembly:
sub esp, 0x44
push esi
mov esi, dword [esp + 0x4c]
test esi, esi
jne 0x1001b5d4
lea eax, [esi - 0x27]
pop esi
add esp, 0x44
ret
push ebx
push ebp
push edi
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
mov eax, dword [esi]
xor edx, edx
mov edi, dword [esp + 0x64]
xorps xmm0, xmm0
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], edx
mov ebx, dword [eax + 0x4c]
movlpd qword [esp + 0x34], xmm0
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
cmp edi, 0xffffffff
je 0x1001b633
mov eax, edi
mov edx, 4
or eax, 0x4000
mov dword [esp + 0x2c], edx
mov dword [esp + 0x44], eax
mov ecx, edx
mov eax, edx
and eax, 2
and ecx, 1
lea ecx, [eax + ecx*2]
mov eax, edx
and eax, 8
and edx, 4
add eax, dword [esp + 0x60]
add edx, 0x11
lea ebp, [eax + ecx*4]
add ebp, edx
mov edx, dword [esi + 0xc0]
test edx, edx
jne 0x1001b70b
push edi
push dword [esp + 0x60]
push str.Creating_directory__s_with_mode_0_lo
push 0x40
push ebx
call fcn.10001350
mov eax, dword [ebx + 4]
push ebx
push ebp
call eax
mov edi, eax
add esp, 0x1c
mov dword [esp + 0x58], edi
test edi, edi
jne 0x1001b695
lea eax, [edi - 6]
mov ecx, str.Unable_to_allocate_memory_for_FXP_MKDIR_packet
jmp 0x1001b80b
lea eax, [ebp - 4]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.10014080
mov eax, dword [esp + 0x60]
mov byte [eax], 0xe
lea eax, [esi + 0xc8]
mov ecx, dword [esi + 4]
inc dword [esp + 0x60]
mov dword [esp + 0x24], eax
mov dword [eax], ecx
lea eax, [ecx + 1]
mov dword [esi + 4], eax
lea eax, [esp + 0x60]
push ecx
push eax
call fcn.10014080
push dword [esp + 0x70]
lea eax, [esp + 0x6c]
push dword [esp + 0x70]
push eax
call fcn.10014030
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x78]
call fcn.1001d0f0
add esp, 0x24
mov dword [esi + 0xc0], 2
add dword [esp + 0x58], eax
lea eax, [esi + 0xc4]
mov dword [esp + 0x14], eax
jmp 0x1001b72a
mov edi, dword [esi + 0xc4]
lea ecx, [esi + 0xc4]
mov dword [esp + 0x14], ecx
lea eax, [esi + 0xc8]
mov dword [esp + 0x1c], eax
cmp edx, 2
jne 0x1001b782
push ebp
push edi
push 0
push dword [esp + 0x2c]
call fcn.100074d0
mov ecx, eax
add esp, 0x10
cmp ecx, 0xffffffdb
jne 0x1001b74c
mov eax, dword [esp + 0x14]
mov dword [eax], edi
jmp 0x1001b821
mov eax, dword [ebx + 0xc]
push ebx
push edi
cmp ebp, ecx
je 0x1001b769
call eax
add esp, 8
mov eax, 0xfffffff9
mov ecx, str._libssh2_channel_write___failed
jmp 0x1001b801
call eax
mov eax, dword [esp + 0x1c]
add esp, 8
mov dword [esi + 0xc0], 3
mov dword [eax], 0
mov eax, dword [esi]
mov ebp, dword [esp + 0x1c]
mov edi, dword [eax + 0x4c]
lea eax, [esp + 0x10]
mov ebp, dword [ebp]
push eax
lea eax, [esp + 0x1c]
push eax
push ebp
push 0x65
push esi
call fcn.1001dc30
add esp, 0x14
test eax, eax
jne 0x1001b7ba
mov eax, dword [esp + 0x10]
cmp eax, 9
jae 0x1001b855
jmp 0x1001b8a1
cmp dword [edi + 0x148], 0
jne 0x1001b7f7
push esi
call fcn.1001dcb0
add esp, 4
test eax, eax
js 0x1001b88b
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
push ebp
push 0x65
push esi
call fcn.1001dc30
add esp, 0x14
test eax, eax
je 0x1001b84c
cmp dword [edi + 0x148], 0
je 0x1001b7c3
mov eax, 0xfffffff3
mov ecx, str.Error_waiting_for_FXP_STATUS
mov dword [esi + 0xc0], 0
push ecx
push eax
push ebx
call fcn.10013940
mov ecx, eax
add esp, 0xc
cmp ecx, 0xffffffdb
jne 0x1001b8c3
mov eax, dword [esi]
mov eax, dword [eax + 0x4c]
cmp dword [eax + 0x50], 0
je 0x1001b8c3
push dword [esp + 0x24]
push dword [esp + 0x2c]
push eax
call fcn.10018ed0
mov ecx, eax
add esp, 0xc
test ecx, ecx
jne 0x1001b8c3
jmp 0x1001b5ea
mov eax, dword [esp + 0x10]
cmp eax, 9
jb 0x1001b8a1
mov edi, dword [esp + 0x18]
mov dword [esi + 0xc0], 0
lea eax, [edi + 5]
push eax
call fcn.10013ed0
mov ecx, dword [ebx + 0xc]
mov ebp, eax
push ebx
push edi
call ecx
add esp, 0xc
test ebp, ebp
je 0x1001b8c1
mov dword [esi + 0x24], ebp
mov eax, 0xffffffe1
mov ecx, str.SFTP_Protocol_Error
jmp 0x1001b80b
cmp eax, 0xffffffdb
jne 0x1001b894
mov ecx, eax
jmp 0x1001b821
cmp eax, 0xffffffda
jne 0x1001b7fc
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1001b8b2
mov eax, dword [ebx + 0xc]
push ebx
push dword [esp + 0x1c]
call eax
add esp, 8
mov eax, 0xffffffe1
mov ecx, str.SFTP_mkdir_packet_too_short
jmp 0x1001b80b
xor ecx, ecx
pop edi
pop ebp
pop ebx
mov eax, ecx
pop esi
add esp, 0x44
ret