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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x7f8135
push eax
mov dword fs:[0], esp
sub esp, 0xbc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xd4]
test eax, eax
jne 0x45ea99
mov eax, dword [esi + 0x29c]
test eax, eax
jne 0x45ea99
mov ebp, dword [esi + 0x1d8]
add ebp, 0x264
mov edi, dword [ebp + 4]
test edi, edi
je 0x45eb40
mov ecx, dword [ebp + 8]
mov eax, 0x4bda12f7
sub ecx, edi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esi + 0x214]
cmp eax, edx
jae 0x45eb40
lea ecx, [eax + eax*2]
lea ecx, [ecx + ecx*8]
lea ebx, [edi + ecx*4]
mov cl, byte [edi + ecx*4]
test cl, cl
jne 0x45e821
inc eax
mov dword [esi + 0x214], eax
jmp 0x45e7d9
push 0
lea ecx, [esp + 0xa8]
call fcn.005e55cb
lea eax, [ebx + 8]
mov dword [esp + 0xd4], 3
test eax, eax
je 0x45e846
lea eax, [ebx + 0xc]
jmp 0x45e848
xor eax, eax
lea edx, [esp + 0xa4]
push eax
push edx
call fcn.0058bb20
mov eax, dword [ebx + 0x1c]
lea ebp, [ebx + 0x1c]
add esp, 8
mov ecx, ebp
push 0x8fca00
call dword [eax + 0x24]
push eax
call fcn.005e7529
lea ecx, [esp + 0xac]
push eax
push ecx
call fcn.0058ba00
mov dl, byte [esp + 0x23]
add esp, 0x10
lea ecx, [esp + 0x14]
mov byte [esp + 0x14], dl
push 0
call fcn.00404c40
mov edi, str.tcpip_forward
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.tcpip_forward
lea ecx, [esp + 0x1c]
call fcn.004030a0
lea eax, [esi + 0x1c8]
lea ecx, [esp + 0xa4]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0xe0], 4
call fcn.005a6de0
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0xd8], 3
call fcn.00404c40
mov eax, dword [esi + 0x214]
xor edi, edi
mov dword [esi + 0x218], eax
inc eax
cmp ebp, edi
mov dword [esi + 0x29c], 1
mov dword [esi + 0x214], eax
je 0x45e90f
lea esi, [ebx + 0x20]
jmp 0x45e911
xor esi, esi
lea eax, [ebx + 8]
cmp eax, edi
je 0x45e91d
add ebx, 0xc
jmp 0x45e91f
xor ebx, ebx
push ebx
lea eax, [esp + 0x18]
push str.Sent_request_for_client_side_server_2_client_forwarding_on
push eax
call fcn.0044e080
push 0x8fb81c
lea ecx, [esp + 0x94]
push eax
push ecx
mov byte [esp + 0xec], 5
call fcn.0044de30
push esi
lea edx, [esp + 0x90]
push eax
push edx
mov byte [esp + 0xf8], 6
call fcn.0044df50
add esp, 0x24
mov esi, eax
mov bl, 7
mov byte [esp + 0xd4], bl
call dword [sym.imp.KERNEL32.dll_GetACP]
mov ebp, eax
push 0x8fb874
lea eax, [esp + 0x98]
push esi
push eax
call fcn.0044de30
add esp, 0xc
mov esi, eax
lea ecx, [esp + 0x4c]
call fcn.004034c0
lea ecx, [esp + 0x13]
mov byte [esp + 0xd4], 9
push ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x64], ebp
call fcn.00478ac0
lea ecx, [esp + 0x4c]
mov byte [esp + 0xd4], 0xa
mov dword [esp + 0x4c], vtable.dbcsstring.0
call fcn.00577bc0
push 0xffffffffffffffff
push edi
push esi
lea ecx, [esp + 0x58]
call fcn.00421480
push 0x10000
lea edx, [esp + 0x50]
push 2
push edx
mov byte [esp + 0xe0], 0xb
call fcn.0048e9a0
add esp, 0xc
lea ecx, [esp + 0x64]
mov byte [esp + 0xd4], 8
push 1
call fcn.00404c40
push 1
lea ecx, [esp + 0x54]
call fcn.00404c40
push 1
lea ecx, [esp + 0x98]
mov byte [esp + 0xd8], bl
call fcn.00404c40
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0xd8], 6
call fcn.00404c40
push 1
lea ecx, [esp + 0x88]
mov byte [esp + 0xd8], 5
call fcn.00404c40
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x45ea6f
mov cl, byte [eax - 1]
dec eax
test cl, cl
je 0x45ea66
dec cl
mov byte [eax], cl
jmp 0x45ea6f
push eax
call fcn.007d7349
add esp, 4
lea ecx, [esp + 0xa4]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0xd4], 0xffffffff
call fcn.005e579e
mov al, 1
jmp 0x45eb42
call dword [sym.imp.KERNEL32.dll_GetACP]
lea ecx, [esp + 0x24]
mov esi, eax
call fcn.004034c0
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x40]
mov dword [esp + 0xd8], 0
mov dword [esp + 0x3c], esi
mov byte [esp + 0x40], al
call fcn.00404c40
lea ecx, [esp + 0x24]
mov byte [esp + 0xd4], 1
mov dword [esp + 0x24], vtable.dbcsstring.0
call fcn.00577bc0
mov edi, str.The_tcpip_forward_global_request_cannot_be_sent._Reason:_Bitvise_SSH_Client_is_already_waiting_for_response_from_a_previously_sent_global_request.
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.The_tcpip_forward_global_request_cannot_be_sent._Reason:_Bitvise_SSH_Client_is_already_waiting_for_response_from_a_previously_sent_global_request.
lea ecx, [esp + 0x30]
call fcn.004030a0
push 0
lea ecx, [esp + 0x28]
push 4
push ecx
mov dword [esp + 0xe0], 2
call fcn.0048e9a0
add esp, 0xc
lea ecx, [esp + 0x3c]
mov dword [esp + 0xd4], 0xffffffff
push 1
call fcn.00404c40
push 1
lea ecx, [esp + 0x2c]
call fcn.00404c40
xor al, al
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xc8
ret