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

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov eax, dword [esi + 4]
dec eax
cmp eax, 3
ja case.default.0x101cf564
jmp dword [eax*4 + 0x101cfa44]
mov eax, dword [esi + 0xc]
cmp eax, 2
jne 0x101cf5cf
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x4e4]
test ecx, ecx
je case.default.0x101cf564
mov eax, dword [ecx]
lea edi, [ecx + 8]
add eax, ecx
cmp edi, eax
jae case.default.0x101cf564
mov eax, dword [edi]
test eax, eax
je case.default.0x101cf564
push dword [ecx + 4]
push dword [esi + 0x10]
push dword [esi + 8]
push edx
call eax
mov ecx, eax
add esp, 0x10
test ecx, ecx
je 0x101cf67d
cmp ecx, 2
je 0x101cf67d
push esi
call fcn.101deb70
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
ret
cmp eax, 4
jne 0x101cf62e
mov edi, dword [esp + 0x10]
mov ecx, dword [edi + 0x4e4]
test ecx, ecx
je case.default.0x101cf564
mov eax, dword [ecx]
lea edx, [ecx + 0x14]
add eax, ecx
cmp edx, eax
jae case.default.0x101cf564
mov edx, dword [edx]
test edx, edx
je case.default.0x101cf564
push dword [ecx + 4]
movzx eax, byte [esi + 0x1c]
push eax
push dword [esi + 0x14]
push dword [esi + 8]
push edi
call edx
add esp, 0x14
mov ecx, eax
cmp dword [esi + 0x1c], 0
jne 0x101cf670
push esi
test ecx, ecx
jne 0x101cf5c1
call fcn.101de920
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
ret
cmp eax, 1
jne case.default.0x101cf564
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x4e4]
test ecx, ecx
je case.default.0x101cf564
mov eax, dword [ecx]
lea edi, [ecx + 0xc]
add eax, ecx
cmp edi, eax
jae case.default.0x101cf564
mov eax, dword [edi]
test eax, eax
je case.default.0x101cf564
push dword [ecx + 4]
push dword [esi + 8]
push edx
call eax
add esp, 0xc
mov ecx, eax
test ecx, ecx
je 0x101cf67d
cmp ecx, 2
jne 0x101cf5c0
xor eax, eax
cmp ecx, 2
sete al
push eax
push esi
call fcn.101de9d0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
ret
cmp dword [esi + 0x24], 1
jne case.default.0x101cf564
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x4e4]
test ecx, ecx
je case.default.0x101cf564
mov eax, dword [ecx]
lea edi, [ecx + 0x1c]
add eax, ecx
cmp edi, eax
jae case.default.0x101cf564
mov eax, dword [edi]
test eax, eax
je case.default.0x101cf564
push dword [ecx + 4]
push edx
call eax
add esp, 8
test eax, eax
je 0x101cf703
push eax
push esi
call fcn.101cfa60
add esp, 8
test eax, eax
je 0x101cfa3e
push str.Failed_to_send_reply_for_accepting_a_channel_open
push str.ssh_execute_server_request
push 1
call fcn.101ceb90
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
ret
push esi
call fcn.101deb70
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
cmp eax, 1
jne 0x101cf78a
push dword [ebx + 0x44]
call fcn.10017160
mov ecx, eax
add esp, 4
test ecx, ecx
je case.default.0x101cf564
nop
mov edx, dword [ecx + 4]
test edx, edx
je 0x101cf748
mov eax, dword [edx]
lea edi, [edx + 0x20]
add eax, edx
cmp edi, eax
jae 0x101cf748
mov eax, dword [edi]
test eax, eax
jne 0x101cf757
mov ecx, dword [ecx]
test ecx, ecx
jne 0x101cf730
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
ret
push dword [edx + 4]
push dword [esi + 0x60]
push dword [esi + 0x5c]
push dword [esi + 0x58]
push dword [esi + 0x54]
push dword [esi + 0x50]
push ebx
push dword [esp + 0x2c]
call eax
add esp, 0x20
push esi
test eax, eax
jne 0x101cf5c1
call fcn.101cfb20
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
ret
cmp eax, 3
jne 0x101cf7e9
push dword [ebx + 0x44]
call fcn.10017160
mov ecx, eax
add esp, 4
test ecx, ecx
je case.default.0x101cf564
mov edx, dword [ecx + 4]
test edx, edx
je 0x101cf7b8
mov eax, dword [edx]
lea edi, [edx + 0x24]
add eax, edx
cmp edi, eax
jae 0x101cf7b8
mov eax, dword [edi]
test eax, eax
jne 0x101cf7c5
mov ecx, dword [ecx]
test ecx, ecx
jne 0x101cf7a0
pop edi
pop esi
lea eax, [ecx - 2]
pop ebx
ret
push dword [edx + 4]
push ebx
push dword [esp + 0x18]
call eax
add esp, 0xc
push esi
test eax, eax
jne 0x101cf5c1
call fcn.101cfb20
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
ret
cmp eax, 7
jne 0x101cf855
push dword [ebx + 0x44]
call fcn.10017160
mov ecx, eax
add esp, 4
test ecx, ecx
je case.default.0x101cf564
mov edx, dword [ecx + 4]
test edx, edx
je 0x101cf81b
mov eax, dword [edx]
lea edi, [edx + 0x2c]
add eax, edx
cmp edi, eax
jae 0x101cf81b
mov edi, dword [edi]
test edi, edi
jne 0x101cf828
mov ecx, dword [ecx]
test ecx, ecx
jne 0x101cf803
pop edi
pop esi
lea eax, [ecx - 2]
pop ebx
ret
push dword [edx + 4]
movzx eax, byte [esi + 0x78]
push dword [esi + 0x84]
push dword [esi + 0x80]
push dword [esi + 0x7c]
push eax
push ebx
push dword [esp + 0x28]
call edi
push esi
call fcn.101cfb20
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebx
ret
cmp eax, 6
jne 0x101cf8d0
push dword [ebx + 0x44]
call fcn.10017160
mov ecx, eax
add esp, 4
test ecx, ecx
je case.default.0x101cf564
nop
mov edx, dword [ecx + 4]
test edx, edx
je 0x101cf888
mov eax, dword [edx]
lea edi, [edx + 0x30]
add eax, edx
cmp edi, eax
jae 0x101cf888
mov eax, dword [edi]
test eax, eax
jne 0x101cf895
mov ecx, dword [ecx]
test ecx, ecx
jne 0x101cf870
pop edi
pop esi
lea eax, [ecx - 2]
pop ebx
ret
push dword [edx + 4]
push dword [esi + 0x60]
push dword [esi + 0x5c]
push dword [esi + 0x58]
push dword [esi + 0x54]
push ebx
push dword [esp + 0x28]
call eax
add esp, 0x1c
test eax, eax
je 0x101cfa3e
push str.Failed_to_iterate_callbacks_for_window_change
push str.ssh_execute_server_request
push 1
call fcn.101ceb90
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
ret
cmp eax, 2
jne 0x101cf93c
push dword [ebx + 0x44]
call fcn.10017160
mov ecx, eax
add esp, 4
test ecx, ecx
je case.default.0x101cf564
nop word [eax + eax]
mov edx, dword [ecx + 4]
test edx, edx
je 0x101cf908
mov eax, dword [edx]
lea edi, [edx + 0x34]
add eax, edx
cmp edi, eax
jae 0x101cf908
mov eax, dword [edi]
test eax, eax
jne 0x101cf915
mov ecx, dword [ecx]
test ecx, ecx
jne 0x101cf8f0
pop edi
pop esi
lea eax, [ecx - 2]
pop ebx
ret
push dword [edx + 4]
push dword [esi + 0x70]
push ebx
push dword [esp + 0x1c]
call eax
add esp, 0x10
push esi
test eax, eax
jne 0x101cf5c1
call fcn.101cfb20
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
ret
cmp eax, 4
jne 0x101cf9a5
push dword [ebx + 0x44]
call fcn.10017160
mov ecx, eax
add esp, 4
test ecx, ecx
je case.default.0x101cf564
mov edx, dword [ecx + 4]
test edx, edx
je 0x101cf96e
mov eax, dword [edx]
lea edi, [edx + 0x38]
add eax, edx
cmp edi, eax
jae 0x101cf96e
mov eax, dword [edi]
test eax, eax
jne 0x101cf97b
mov ecx, dword [ecx]
test ecx, ecx
jne 0x101cf956
pop edi
pop esi
lea eax, [ecx - 2]
pop ebx
ret
push dword [edx + 4]
push dword [esi + 0x6c]
push dword [esi + 0x68]
push ebx
push dword [esp + 0x20]
call eax
add esp, 0x14
push esi
test eax, eax
jne 0x101cf5c1
call fcn.101cfb20
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
ret
cmp eax, 5
jne case.default.0x101cf564
push dword [ebx + 0x44]
call fcn.10017160
mov ecx, eax
add esp, 4
test ecx, ecx
je case.default.0x101cf564
mov edx, dword [ecx + 4]
test edx, edx
je 0x101cf9db
mov eax, dword [edx]
lea edi, [edx + 0x3c]
add eax, edx
cmp edi, eax
jae 0x101cf9db
mov eax, dword [edi]
test eax, eax
jne 0x101cf9e8
mov ecx, dword [ecx]
test ecx, ecx
jne 0x101cf9c3
pop edi
pop esi
lea eax, [ecx - 2]
pop ebx
ret
push dword [edx + 4]
push dword [esi + 0x74]
jmp 0x101cf91b
mov edi, dword [esp + 0x10]
mov ecx, dword [edi + 0x4e4]
test ecx, ecx
je case.default.0x101cf564
mov eax, dword [ecx]
lea edx, [ecx + 0x18]
add eax, ecx
cmp edx, eax
jae case.default.0x101cf564
mov eax, dword [edx]
test eax, eax
je case.default.0x101cf564
push dword [ecx + 4]
push dword [esi + 0x88]
push edi
call eax
add esp, 0xc
test eax, eax
je 0x101cf5c0
push edi
call fcn.101c9370
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
ret