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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x54c
mov edi, ecx
mov eax, dword [0x4c2010]
xor eax, esp
mov dword [esp + 0x548], eax
add ecx, 0x80
mov al, 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
push ecx
call fcn.0042ccb0
add esp, 4
test al, al
jne 0x4222f7
mov dword [esp + 8], edi
nop
mov eax, dword [edi + 0x88]
push 0
push eax
push eax
call dword [eax + 0x18]
add esp, 0xc
test eax, eax
je 0x42229f
mov esi, eax
mov eax, dword [eax]
lea ecx, [eax - 0x5b]
cmp ecx, 0xa
jae 0x421620
mov ebp, esi
add ebp, 0x18
push ebp
call fcn.00414060
add esp, 4
mov dword [esp + 0x24], eax
push 0x422380
lea eax, [esp + 0x28]
push eax
push dword [edi + 0x38]
call fcn.00416620
add esp, 0xc
test eax, eax
je 0x4222a9
mov ebx, eax
mov eax, dword [eax + 0x64]
test eax, eax
je 0x4216a0
push dword [esi + 0x20]
push dword [esi + 0x18]
push dword [esi]
push eax
call fcn.00419730
add esp, 0x10
jmp 0x421de4
lea ecx, [eax - 0x51]
cmp ecx, 2
jb 0x4216f1
cmp eax, 0x5a
je 0x42172e
cmp eax, 0x50
jne 0x42229f
mov ebp, esi
add ebp, 0x18
push ebp
call fcn.004140f0
add esp, 4
mov edi, eax
mov ebx, edx
push ebp
call fcn.00413ff0
add esp, 4
mov byte [esp], al
push esi
push ebx
push edi
mov edi, dword [esp + 0x14]
push edi
call fcn.00410d10
add esp, 0x10
cmp byte [esp], 0
je 0x421de4
movzx eax, al
mov ecx, 0x52
sub ecx, eax
mov eax, dword [edi + 0x84]
mov eax, dword [eax]
push ecx
call dword [eax + 0xc]
add esp, 4
add eax, 0x20
push eax
push dword [edi + 0x8c]
jmp 0x4218f5
mov eax, dword [esi]
lea edx, [eax - 0x5b]
cmp edx, 2
setb ch
mov cl, byte [ebx + 0x10]
cmp cl, ch
jne 0x4222b2
cmp edx, 9
ja case.default.0x4216c1
xor edi, edi
jmp dword [edx*4 + 0x49a32c]
mov edi, dword [ebx + 0x58]
test edi, edi
je 0x422342
push dword [edi + 4]
push esi
push ebx
call dword [edi]
add esp, 0xc
mov eax, dword [edi + 8]
mov dword [ebx + 0x58], eax
push edi
call fcn.00414470
add esp, 4
jmp 0x421c79
mov ecx, dword [edi + 0x70]
test ecx, ecx
je 0x422314
push dword [ecx + 4]
push esi
push edi
call dword [ecx]
add esp, 0xc
mov eax, dword [edi + 0x70]
mov ecx, dword [eax + 8]
mov dword [edi + 0x70], ecx
push eax
call fcn.00414470
add esp, 4
cmp dword [edi + 0x70], 0
jne 0x421de4
mov dword [edi + 0x74], 0
jmp 0x421de4
mov ebp, esi
add ebp, 0x18
push ebp
call fcn.004140f0
add esp, 4
mov dword [esp], eax
mov dword [esp + 4], edx
push 0
push 0x74
push 1
call fcn.004143e0
add esp, 0xc
mov ebx, edi
mov edi, eax
mov dword [eax], ebx
mov dword [eax + 0x68], 0
push ebp
call fcn.00414060
add esp, 4
mov dword [esp + 0xc], eax
push ebp
call fcn.00414060
add esp, 4
mov dword [esp + 0x10], eax
push ebp
call fcn.00414060
add esp, 4
mov ebp, eax
lea eax, [edi + 0x6c]
push eax
push esi
push dword [esp + 0xc]
push dword [esp + 0xc]
push ebx
lea eax, [esp + 0x3c]
push eax
call fcn.004434a0
add esp, 0x18
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
cmp eax, 2
jne 0x4217ce
push dword [esi + 0x20]
push dword [esi + 0x18]
push dword [esi]
push ebx
call fcn.00419730
add esp, 0x10
push edi
call fcn.00414470
add esp, 4
mov edi, dword [esp + 8]
jmp 0x421df4
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0xc]
mov dword [edi + 4], ecx
mov byte [edi + 0x10], 0
test eax, eax
je 0x421c85
mov dword [edi + 0x68], ebx
mov esi, dword [edi]
mov dword [edi + 0x64], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x17], 0
cmp byte [esi + 0x30], 0
mov eax, 0x7fffffff
mov ecx, 0x4000
cmove eax, ecx
mov dword [edi + 0x54], eax
mov dword [edi + 0x50], eax
mov dword [edi + 0x4c], eax
mov dword [edi + 0x58], 0
mov dword [edi + 0x60], 2
lea eax, [edi + 0x1c]
push eax
call fcn.004123d0
add esp, 4
mov eax, edi
add eax, 0x30
push eax
call fcn.004123d0
add esp, 4
mov dword [edi + 0x6c], 0x49a2c4
lea eax, [esi + 0x78]
mov dword [edi + 0x70], eax
push 8
push dword [esi + 0x38]
call fcn.0041c550
add esp, 8
mov dword [edi + 8], eax
push edi
push dword [esi + 0x38]
call fcn.00415960
add esp, 8
mov eax, dword [esp + 0x10]
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], ebp
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x84]
mov eax, dword [eax]
mov eax, dword [eax + 0x14]
cmp ebp, eax
cmova ebp, eax
mov dword [edi + 0x48], ebp
mov eax, dword [edi + 0x68]
mov eax, dword [eax + 4]
test eax, eax
je 0x42189e
mov dword [edi + 0x54], eax
mov dword [edi + 0x50], eax
mov dword [edi + 0x4c], eax
mov ebp, dword [esp + 8]
mov eax, dword [ebp + 0x84]
mov eax, dword [eax]
push 0x5b
call dword [eax + 0xc]
add esp, 4
mov esi, eax
lea ebx, [eax + 0x30]
push dword [edi + 4]
push ebx
call fcn.00413c90
add esp, 8
push dword [edi + 8]
push ebx
call fcn.00413c90
add esp, 8
push dword [edi + 0x4c]
mov edi, ebp
push ebx
call fcn.00413c90
add esp, 8
push 0x4000
push ebx
call fcn.00413c90
add esp, 8
add esi, 0x20
push esi
push dword [ebp + 0x8c]
call fcn.0041bc70
add esp, 8
jmp 0x421de4
test byte [ebx + 0x14], 1
jne case.default.0x4216c1
push ebp
call fcn.00414060
add esp, 4
add dword [ebx + 0x44], eax
test byte [ebx + 0x14], 1
jne case.default.0x4216c1
mov ecx, ebx
call fcn.00422790
test eax, eax
jne case.default.0x4216c1
mov byte [ebx + 0x1a], 0
mov eax, dword [ebx]
cmp byte [eax + 0x3c], 0
jne 0x421947
cmp byte [ebx + 0x18], 0
je 0x42203e
xor eax, eax
mov ecx, dword [ebx + 0x68]
mov edx, dword [ecx]
movzx eax, al
push eax
push ecx
call dword [edx + 0x14]
jmp 0x421c08
push ebp
call fcn.00414060
add esp, 4
mov edi, eax
push ebp
call fcn.004140f0
add esp, 4
cmp dword [esi + 0x24], 0
jne case.default.0x4216c1
sub dword [ebx + 0x4c], edx
sub dword [ebx + 0x54], edx
cmp edi, 2
mov ecx, 0
cmovae edx, ecx
xor ecx, ecx
cmp edi, 1
sete cl
mov esi, dword [ebx + 0x68]
mov edi, dword [esi]
push edx
push eax
push ecx
push esi
call dword [edi + 0xc]
add esp, 0x10
cmp dword [ebx + 0x64], 0
jne case.default.0x4216c1
mov esi, eax
cmp dword [ebx + 0x54], 0
jg 0x4219cb
cmp dword [ebx + 0x60], 2
jne 0x4219cb
mov eax, dword [ebx + 0x50]
cmp eax, 0x3fffffff
jg 0x4219cb
add eax, 0x4000
mov dword [ebx + 0x50], eax
mov eax, dword [ebx + 0x50]
mov edx, eax
sub edx, esi
jle 0x4219de
mov ecx, ebx
call fcn.004224f0
mov eax, dword [ebx + 0x50]
cmp esi, eax
jg 0x4219f8
mov eax, dword [esp + 8]
cmp byte [eax + 0x30], 0
je case.default.0x4216c1
test esi, esi
jle case.default.0x4216c1
cmp byte [ebx + 0x19], 0
jne case.default.0x4216c1
mov byte [ebx + 0x19], 1
push 1
mov eax, dword [esp + 0xc]
push dword [eax + 0xac]
call fcn.00408850
jmp 0x421c08
test cl, cl
jne 0x421a37
push 0x1ed
push str._home_simon_mem_.build_workdirs_bob_0_vdcidh_putty_ssh_connection2.c
push str.c__halfopen
call fcn.0047f4a4
add esp, 0xc
push ebp
call fcn.00414060
add esp, 4
mov dword [ebx + 4], eax
mov byte [ebx + 0x10], 0
push ebp
call fcn.00414060
add esp, 4
mov dword [ebx + 0x44], eax
push ebp
call fcn.00414060
add esp, 4
mov dword [ebx + 0x48], eax
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + 0x84]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x14]
cmp eax, ecx
cmova eax, ecx
mov dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x68]
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
add esp, 4
mov ecx, ebx
call fcn.004223a0
cmp byte [ebx + 0x18], 0
je case.default.0x4216c1
mov ecx, ebx
call fcn.00422450
jmp case.default.0x4216c1
test cl, cl
jne 0x421aba
push 0x20d
push str._home_simon_mem_.build_workdirs_bob_0_vdcidh_putty_ssh_connection2.c
push str.c__halfopen
call fcn.0047f4a4
add esp, 0xc
push ebp
call fcn.00414060
add esp, 4
lea ecx, [eax - 5]
cmp ecx, 0xfffffffc
jae 0x421d1e
push eax
push str.unknown_reason_code__x
lea edi, [esp + 0x30]
push edi
call fcn.00401000
add esp, 0xc
jmp 0x421d25
mov eax, dword [ebx + 0x14]
test al, 4
jne case.default.0x4216c1
or eax, 4
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0x68]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
add esp, 4
jmp 0x421c79
mov eax, dword [ebx + 0x14]
test al, 4
jne 0x421b22
or eax, 4
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0x68]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
add esp, 4
mov eax, dword [esp + 8]
test byte [eax + 0xb1], 8
jne 0x421c10
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [ebx + 0x58]
test esi, esi
je 0x421c10
push dword [esi + 4]
push 0
push ebx
call dword [esi]
add esp, 0xc
mov eax, dword [esi + 8]
mov dword [ebx + 0x58], eax
push esi
call fcn.00414470
add esp, 4
jmp 0x421b40
push ebp
call fcn.004140f0
add esp, 4
mov dword [esp], eax
mov edi, edx
push ebp
call fcn.00413ff0
add esp, 4
test byte [ebx + 0x14], 2
sete cl
and cl, al
mov byte [esp + 4], cl
push str.exit_status
mov dword [esp + 0x10], edi
push edi
push dword [esp + 8]
call fcn.00416e40
add esp, 0xc
test al, al
je 0x421e0d
push ebp
call fcn.00414060
add esp, 4
mov ecx, dword [ebx + 0x68]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x20]
add esp, 8
mov cl, byte [esp + 4]
test cl, cl
je case.default.0x4216c1
movzx eax, al
mov ecx, 0x64
sub ecx, eax
mov edi, dword [esp + 8]
mov eax, dword [edi + 0x84]
mov eax, dword [eax]
push ecx
call dword [eax + 0xc]
add esp, 4
mov esi, eax
add eax, 0x30
push dword [ebx + 4]
push eax
call fcn.00413c90
add esp, 8
add esi, 0x20
push esi
push dword [edi + 0x8c]
call fcn.0041bc70
add esp, 8
jmp case.default.0x4216c1
mov eax, dword [ebx + 0x14]
test al, 1
jne 0x421c6b
lea eax, [ebx + 0x1c]
push eax
call fcn.00412420
add esp, 4
lea eax, [ebx + 0x30]
push eax
call fcn.00412420
add esp, 4
mov eax, ebx
add eax, 0x6c
mov ecx, dword [ebx + 0x6c]
push eax
call dword [ecx + 4]
add esp, 4
cmp byte [ebx + 0x1a], 0
jne 0x421c56
mov eax, dword [ebx]
cmp byte [eax + 0x3c], 0
jne 0x421c56
cmp byte [ebx + 0x18], 0
je 0x42200b
xor eax, eax
mov ecx, dword [ebx + 0x68]
mov edx, dword [ecx]
movzx eax, al
push eax
push ecx
call dword [edx + 0x14]
add esp, 8
mov eax, dword [ebx + 0x14]
test al, 8
jne case.default.0x4216c1
or eax, 8
mov dword [ebx + 0x14], eax
mov ecx, ebx
call fcn.004223a0
jmp case.default.0x4216c1
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x84]
mov eax, dword [eax]
push 0x5c
mov dword [esp + 4], edx
call dword [eax + 0xc]
add esp, 4
mov esi, eax
lea ebp, [eax + 0x30]
push dword [edi + 4]
push ebp
call fcn.00413c90
add esp, 8
push dword [esp]
push ebp
call fcn.00413c90
add esp, 8
push ebx
push ebp
call fcn.00413d70
add esp, 8
push 0x4a9e0d
push ebp
call fcn.00413d70
add esp, 8
add esi, 0x20
push esi
mov esi, dword [esp + 0xc]
push dword [esi + 0x8c]
call fcn.0041bc70
add esp, 8
push ebx
push str.Rejected_channel_open:__s
call fcn.00413aa0
add esp, 8
push eax
push dword [esi + 0xa0]
call fcn.0040a5e0
add esp, 8
push ebx
call fcn.00414470
add esp, 4
push edi
mov edi, esi
call fcn.00414470
add esp, 4
jmp 0x421de4
mov edi, dword [eax*4 + 0x49a318]
push ebp
call fcn.004140f0
add esp, 4
mov esi, eax
push edx
call fcn.004346d0
add esp, 4
push esi
push eax
push edi
push str._s___.s_
call fcn.00413aa0
add esp, 0x10
mov esi, eax
mov eax, dword [ebx + 0x68]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 8]
add esp, 8
push esi
call fcn.00414470
add esp, 4
push ebx
mov eax, dword [esp + 0xc]
push dword [eax + 0x38]
call fcn.00416df0
add esp, 8
lea eax, [ebx + 0x1c]
push eax
call fcn.00412420
add esp, 4
lea eax, [ebx + 0x30]
push eax
call fcn.00412420
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
add esp, 4
mov eax, dword [ebx + 0x58]
test eax, eax
je 0x421da8
mov ecx, dword [eax + 8]
mov dword [ebx + 0x58], ecx
push eax
call fcn.00414470
jmp 0x421d90
mov eax, dword [ebx + 0x68]
test eax, eax
je 0x421dd4
mov ecx, dword [ebx]
mov edx, ebx
add edx, 0x6c
cmp dword [ecx + 0x10], edx
jne 0x421dcc
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov eax, dword [ebx + 0x68]
mov ecx, dword [eax]
push eax
call dword [ecx]
add esp, 4
push ebx
call fcn.00414470
add esp, 4
nop
nop
nop
mov edi, dword [esp + 8]
mov eax, dword [edi + 0x88]
push 1
push eax
push eax
call dword [eax + 0x18]
add esp, 0xc
push dword [esp + 0x20]
call fcn.0042ccb0
add esp, 4
test al, al
je 0x4215a0
jmp 0x4222f7
push str.exit_signal
mov edi, dword [esp + 0x10]
push edi
push dword [esp + 8]
call fcn.00416e40
add esp, 0xc
test al, al
je 0x421e9d
mov edi, dword [esi + 0x1c]
mov dword [esi + 0x24], 0
push ebp
call fcn.004140f0
add esp, 4
mov dword [esp], eax
mov dword [esp + 0xc], edx
push ebp
call fcn.00413ff0
add esp, 4
mov byte [esp + 0x10], al
push ebp
call fcn.004140f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
push ebp
call fcn.004140f0
add esp, 4
cmp dword [esi + 0x24], 0
jne 0x421ec8
mov eax, dword [esi + 0x20]
cmp eax, dword [esi + 0x1c]
jne 0x421ec8
mov ecx, dword [ebx + 0x68]
mov eax, dword [ecx]
movzx edx, byte [esp + 0x10]
push dword [esp + 0x14]
push dword [esp + 0x1c]
push edx
push dword [esp + 0x18]
push dword [esp + 0x10]
push ecx
call dword [eax + 0x24]
add esp, 0x18
jmp 0x421bbf
push str.shell
push edi
push dword [esp + 8]
call fcn.00416e40
add esp, 0xc
test al, al
je 0x421f3c
mov eax, dword [ebx + 0x68]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
add esp, 4
jmp 0x421bbf
mov dword [esi + 0x1c], edi
mov dword [esi + 0x24], 0
push ebp
call fcn.00414060
add esp, 4
mov dword [esp], eax
push ebp
call fcn.00413ff0
add esp, 4
mov byte [esp + 0xc], al
push ebp
call fcn.004140f0
add esp, 4
mov dword [esp + 0x10], eax
mov edi, edx
push ebp
call fcn.004140f0
add esp, 4
cmp dword [esi + 0x24], 0
jne 0x422298
mov ebp, dword [esp + 0x10]
mov dl, byte [esp + 0xc]
mov ecx, dword [esp]
mov eax, dword [esi + 0x20]
cmp eax, dword [esi + 0x1c]
jne 0x422298
mov eax, dword [ebx + 0x68]
mov esi, dword [eax]
movzx edx, dl
push edi
push ebp
push edx
push ecx
push eax
call dword [esi + 0x28]
add esp, 0x14
jmp 0x421bbf
push str.exec
push edi
push dword [esp + 8]
call fcn.00416e40
add esp, 0xc
test al, al
je 0x421f6e
push ebp
call fcn.004140f0
add esp, 4
mov ecx, dword [ebx + 0x68]
mov esi, dword [ecx]
push edx
push eax
push ecx
call dword [esi + 0x30]
add esp, 0xc
jmp 0x421bbf
push str.subsystem
push edi
push dword [esp + 8]
call fcn.00416e40
add esp, 0xc
test al, al
je 0x421fa0
push ebp
call fcn.004140f0
add esp, 4
mov ecx, dword [ebx + 0x68]
mov esi, dword [ecx]
push edx
push eax
push ecx
call dword [esi + 0x34]
add esp, 0xc
jmp 0x421bbf
push str.x11_req
push edi
push dword [esp + 8]
call fcn.00416e40
add esp, 0xc
test al, al
je 0x422017
push ebp
call fcn.00413ff0
add esp, 4
mov byte [esp + 0xc], al
push ebp
call fcn.004140f0
add esp, 4
mov dword [esp], eax
mov dword [esp + 0x10], edx
push ebp
call fcn.004140f0
add esp, 4
mov esi, eax
mov edi, edx
push ebp
call fcn.00414060
add esp, 4
mov edx, dword [ebx + 0x68]
mov ecx, dword [edx]
movzx ebp, byte [esp + 0xc]
push eax
push edi
push esi
push dword [esp + 0x1c]
push dword [esp + 0x10]
push ebp
push edx
call dword [ecx + 0x38]
add esp, 0x1c
jmp 0x421bbf
test byte [ebx + 0x14], 1
sete al
jmp 0x421c58
push str.auth_agent_req_openssh.com
push edi
push dword [esp + 8]
call fcn.00416e40
add esp, 0xc
test al, al
je 0x42204a
mov eax, dword [ebx + 0x68]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
add esp, 4
jmp 0x421bbf
test byte [ebx + 0x14], 1
sete al
jmp 0x421949
push str.pty_req
push edi
push dword [esp + 8]
call fcn.00416e40
add esp, 0xc
test al, al
je 0x42217d
push ebp
call fcn.004140f0
add esp, 4
mov esi, eax
mov edi, edx
push ebp
call fcn.00414060
add esp, 4
mov dword [esp], eax
push ebp
call fcn.00414060
add esp, 4
mov dword [esp + 0xc], eax
push ebp
call fcn.00414060
add esp, 4
mov dword [esp + 0x10], eax
push ebp
call fcn.00414060
add esp, 4
mov dword [esp + 0x18], eax
push ebp
call fcn.004140f0
add esp, 4
mov dword [esp + 0x534], eax
mov dword [esp + 0x53c], edx
mov dword [esp + 0x538], 0
mov dword [esp + 0x540], 0
lea eax, [esp + 0x534]
mov dword [esp + 0x544], eax
push 2
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0041c3e0
add esp, 0xc
mov eax, dword [esp + 0x544]
cmp dword [eax + 0xc], 0
jne 0x4221bb
mov ecx, dword [eax + 8]
cmp ecx, dword [eax + 4]
jne 0x4221bb
mov eax, dword [ebx + 0x68]
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
sub esp, 0x528
mov edx, edi
lea edi, [esp + 0x1c]
mov ecx, 0x143
mov ebp, esi
lea esi, [esp + 0x550]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x540]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x538]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x534]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x528]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], ebp
mov dword [esp], eax
mov eax, dword [esp + 0x53c]
call dword [eax + 0x40]
add esp, 0x528
jmp 0x421bbf
push 0x4a692e
push edi
push dword [esp + 8]
call fcn.00416e40
add esp, 0xc
test al, al
je 0x4221e2
push ebp
call fcn.004140f0
add esp, 4
mov esi, eax
mov edi, edx
push ebp
call fcn.004140f0
add esp, 4
mov ecx, dword [ebx + 0x68]
mov ebp, dword [ecx]
push edx
push eax
push edi
push esi
push ecx
call dword [ebp + 0x44]
jmp 0x421f34
push str.Unable_to_decode_terminal_mode_string
call fcn.00413aa0
add esp, 4
push eax
mov eax, dword [esp + 0xc]
push dword [eax + 0xa0]
call fcn.0040a5e0
add esp, 8
xor eax, eax
jmp 0x421bbf
push str.break
push edi
push dword [esp + 8]
call fcn.00416e40
add esp, 0xc
test al, al
je 0x422210
push ebp
call fcn.00414060
add esp, 4
mov ecx, dword [ebx + 0x68]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x48]
jmp 0x421bbc
push 0x4aa5b4
push edi
push dword [esp + 8]
call fcn.00416e40
add esp, 0xc
test al, al
je 0x422242
push ebp
call fcn.004140f0
add esp, 4
mov ecx, dword [ebx + 0x68]
mov esi, dword [ecx]
push edx
push eax
push ecx
call dword [esi + 0x4c]
add esp, 0xc
jmp 0x421bbf
push str.window_change
push edi
push dword [esp + 8]
call fcn.00416e40
add esp, 0xc
test al, al
je 0x422298
push ebp
call fcn.00414060
add esp, 4
mov dword [esp], eax
push ebp
call fcn.00414060
add esp, 4
mov edi, eax
push ebp
call fcn.00414060
add esp, 4
mov esi, eax
push ebp
call fcn.00414060
add esp, 4
mov ecx, dword [ebx + 0x68]
mov edx, dword [ecx]
push eax
push esi
push edi
push dword [esp + 0xc]
push ecx
call dword [edx + 0x50]
jmp 0x421f34
xor eax, eax
jmp 0x421bbf
mov dword [esp + 0x1c], 0
jmp 0x4222f7
mov eax, dword [esi]
mov esi, str.nonexistent
jmp 0x4222c1
test cl, cl
mov ecx, 0x4a9da5
mov esi, str.half_open
cmove esi, ecx
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 8]
mov ecx, dword [ebx + 0x84]
mov ecx, dword [ecx + 0x48]
push eax
push dword [ecx + 8]
push dword [ecx + 4]
call fcn.0041c720
add esp, 0xc
push edi
push esi
push eax
push str.Received__s_for__s_channel__u
push dword [ebx + 0xac]
call fcn.00408520
add esp, 0x14
mov ecx, dword [esp + 0x548]
xor ecx, esp
call fcn.0046efa0
mov eax, dword [esp + 0x1c]
add esp, 0x54c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [edi + 0x84]
mov ecx, dword [ecx + 0x48]
push eax
push dword [ecx + 8]
push dword [ecx + 4]
call fcn.0041c720
add esp, 0xc
push eax
push str.Received__s_with_no_outstanding_global_request
push dword [edi + 0xac]
call fcn.00408520
add esp, 0xc
jmp 0x4222f7
mov esi, dword [ebx + 8]
mov edi, dword [esp + 8]
mov ecx, dword [edi + 0x84]
mov ecx, dword [ecx + 0x48]
push eax
push dword [ecx + 8]
push dword [ecx + 4]
call fcn.0041c720
add esp, 0xc
push esi
push eax
push str.Received__s_for_channel__d_with_no_outstanding_channel_request
push dword [edi + 0xac]
call fcn.00408520
add esp, 0x10
jmp 0x4222f7